Function at 0x42b340
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x3c4
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x3d8]
push edi
push 0
mov dword [esi + 0x1334], eax
mov dword [esi + 0x1338], ecx
call fcn.0042ee02
mov edi, dword [esp + 0x3e4]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
mov ebx, eax
test edi, edi
jne 0x42b3c9
call ebp
sub ebx, eax
push ebx
call fcn.0042edce
call fcn.0042ede0
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, dword [0x4567f8]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x64
add ecx, dword [eax + 4]
imul ecx, ecx, 0x64
add ecx, dword [eax]
imul ecx, ecx, 0x3e8
add edx, ecx
push edx
call fcn.0042edce
add esp, 8
push 0x5f5e100
mov ecx, esi
call fcn.0042af50
mov edi, eax
cmp edi, dword [esi + 0x18]
jne 0x42b417
call ebp
sub edi, eax
push edi
call fcn.0042edce
call fcn.0042ede0
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, dword [0x4567f8]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x64
add ecx, dword [eax + 4]
imul ecx, ecx, 0x64
add ecx, dword [eax]
imul ecx, ecx, 0x3e8
add edx, ecx
push edx
call fcn.0042edce
add esp, 8
push 0x5f5e100
mov ecx, esi
call fcn.0042af50
mov edi, eax
push edi
mov dword [esi + 0x18], edi
call fcn.0042edce
add esp, 4
cmp dword [esi + 0x135c], 0
jg 0x42b450
cmp dword [esi + 0x1360], 0
jg 0x42b450
cmp dword [esi + 0x1364], 0
jg 0x42b450
mov dword [esi + 0x1358], 0xffffffff
jmp 0x42b46d
call fcn.0042ede0
cdq
mov ecx, 3
idiv ecx
mov dword [esi + 0x1358], edx
cmp dword [esi + edx*4 + 0x135c], 0
jle 0x42b450
mov eax, dword [esi + 0x284]
cmp eax, 0x64
mov edx, dword [esi + 0x28]
mov ebp, dword [esi + 0x2c]
mov dword [esi + 0x14], 0
mov dword [esp + 0x20], edx
jle 0x42b490
mov dword [esi + 0x14], 0x63
cmp eax, 2
jne 0x42bbd2
xor ebx, ebx
push 0xfa0
lea eax, [esi + 0x290]
push ebx
push eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
xor ebp, ebp
call fcn.0042cf10
push 0x118
lea eax, [esp + 0x9c]
push ebx
push eax
call fcn.0042cf10
push 0x118
lea ecx, [esp + 0x2d8]
push ebx
push ecx
call fcn.0042cf10
push 0x118
lea edx, [esp + 0x1cc]
push ebx
push edx
call fcn.0042cf10
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x70]
mov dword [esp + 0xa4], eax
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x68]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0xb0], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0xb8], eax
add eax, edi
add eax, dword [esi + 0x6c]
mov dword [esp + 0x9c], ecx
add eax, dword [esi + 0x68]
add esp, 0x30
add eax, dword [esi + 0x64]
mov dword [esp + 0x70], edx
add eax, dword [esi + 0x60]
mov dword [esp + 0x84], edi
add eax, edx
add eax, ecx
xor ecx, ecx
cmp dword [esi + 0x174], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], ecx
jle 0x42b607
lea eax, [esi + 0x178]
cmp dword [eax + 4], 0
jle 0x42b5f3
cmp ecx, 0x21
je 0x42b5f3
cmp ecx, 0x22
je 0x42b5f3
mov edx, dword [eax]
cmp edx, 0x2710
jge 0x42b5ae
mov edi, edx
mov edx, dword [esp + 0x30]
mov dword [esp + edx*8 + 0x8c], edi
mov edi, dword [eax + 4]
mov dword [esp + edx*8 + 0x90], edi
inc edx
mov dword [esp + 0x30], edx
jmp 0x42b5f3
mov ecx, edx
cmp edx, 0x186a0
mov edx, dword [eax + 4]
jl 0x42b5d6
imul edx, ecx
add dword [esp + 0x2c], edx
mov dword [esp + ebx*8 + 0x1a4], ecx
mov ecx, dword [eax + 4]
mov dword [esp + ebx*8 + 0x1a8], ecx
inc ebx
jmp 0x42b5ef
imul edx, ecx
add dword [esp + 0x1c], edx
mov dword [esp + ebp*8 + 0x2bc], ecx
mov ecx, dword [eax + 4]
mov dword [esp + ebp*8 + 0x2c0], ecx
inc ebp
mov ecx, dword [esp + 0x14]
inc ecx
add eax, 8
cmp ecx, dword [esi + 0x174]
mov dword [esp + 0x14], ecx
jl 0x42b576
mov eax, dword [esp + 0x30]
dec eax
push eax
lea ecx, [esp + 0x90]
push 0
push ecx
call fcn.0042aea0
lea edx, [ebp - 1]
push edx
lea eax, [esp + 0x2cc]
push 0
push eax
call fcn.0042aea0
lea ecx, [ebx - 1]
push ecx
lea edx, [esp + 0x1c0]
push 0
push edx
call fcn.0042aea0
mov eax, dword [esi + 0x1334]
mov dword [esp + 0x3c], eax
cdq
mov ecx, 0xc350
idiv ecx
mov edi, dword [esi + 0xc]
add esp, 0x24
mov ecx, eax
mov eax, edx
cdq
idiv dword [esi + 0x1330]
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], eax
jle 0x42b6bd
test ecx, ecx
jle 0x42b6a7
mov eax, edi
fild dword [esp + 0x1c]
cdq
idiv ecx
fidiv dword [esp + 0x18]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
cdq
idiv ecx
mov dword [esp + 0x20], eax
fimul dword [esp + 0x20]
call fcn.0042d5b0
jmp 0x42b700
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], edx
jmp 0x42b704
test ecx, ecx
jle 0x42b6f0
mov eax, edi
fild dword [esp + 0x2c]
cdq
idiv ecx
fidiv dword [esp + 0x18]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
cdq
idiv ecx
mov dword [esp + 0x20], eax
fimul dword [esp + 0x20]
call fcn.0042d5b0
jmp 0x42b700
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x24]
shl edi, 4
push edi
push 0
push ecx
call fcn.0042cf10
mov edx, dword [esi + 0x24]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
lea edx, [esp + ebp*8 + 0x2c8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
lea edx, [esp + ebx*8 + 0x1b0]
lea ecx, [ebp*8 - 8]
mov dword [esp + 0x60], edx
lea edx, [esp + eax*8 + 0x98]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x78]
lea eax, [esi + 0x34]
add esp, 0xc
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x13], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], 0
lea ecx, [ecx]
cmp byte [esp + 0x13], 0
jne 0x42b799
call fcn.0042ede0
cdq
idiv dword [esp + 0x14]
mov ebx, edx
mov dword [esp + 0x64], edx
jmp 0x42b7d0
mov edi, dword [esp + 0x14]
xor ebx, ebx
xor eax, eax
test edi, edi
jle 0x42b7cc
xor edx, edx
lea ecx, [esi + 0x290]
lea ecx, [ecx]
mov ebp, dword [ecx]
cmp ebp, dword [edx + esi + 0x290]
jg 0x42b7c4
mov ebx, eax
lea edx, [eax*4]
inc eax
add ecx, 4
cmp eax, edi
jl 0x42b7b0
mov dword [esp + 0x64], ebx
mov eax, ebx
imul eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
jmp 0x42b7e0
mov eax, dword [esp + 0x14]
dec eax
xor ecx, ecx
xor ebp, ebp
cmp ebx, eax
jne 0x42b812
mov edi, dword [esp + 0x4c]
test edi, edi
jle 0x42b812
mov eax, 0x51eb851f
imul edi
mov eax, edi
imul eax, eax, 0x64
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cdq
idiv dword [esp + 0x14]
mov ebp, eax
mov edx, dword [esp + 0x44]
add ecx, edx
push ecx
mov ecx, esi
call fcn.0042af50
mov ecx, dword [esp + 0x48]
mov edi, eax
add edi, dword [esp + 0x28]
mov eax, edi
shl eax, 4
add eax, ecx
cmp dword [eax + 4], 0
jne 0x42b943
cmp dword [eax], 0
jne 0x42b943
cmp dword [esp + 0x30], 0
jg 0x42b971
cmp dword [esp + 0x50], 0
jg 0x42b9e3
cmp dword [esp + 0x2c], 0
jg 0x42bb21
cmp dword [esp + 0x40], 0
jle 0x42b94e
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + ebx*4 + 0x290]
add edx, ebp
cmp ecx, edx
jl 0x42b888
cmp byte [esp + 0x13], 0
je 0x42b906
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + eax + 0x2bc]
lea eax, [esp + eax + 0x2bc]
add ebp, ecx
mov ecx, dword [esp + 0x48]
shl edi, 4
add ecx, edi
mov dword [esi + ebx*4 + 0x290], ebp
mov dword [ecx + 8], 0x63
mov edi, dword [eax]
mov dword [ecx + 4], edi
mov edi, dword [eax]
mov dword [ecx], edi
mov edi, 1
mov dword [ecx + 0xc], edi
dec dword [eax + 4]
cmp dword [eax + 4], 0
jg 0x42b8f9
sub dword [esp + 0x40], edi
mov ecx, dword [esp + 0x20]
sub dword [esp + 0x18], 8
mov edi, dword [ecx - 8]
sub ecx, 8
mov dword [eax], edi
mov edi, dword [ecx + 4]
mov dword [eax + 4], edi
mov dword [esp + 0x20], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
cmp dword [esi + ebx*4 + 0x290], edx
jl 0x42b906
dec dword [esp + 0x24]
cmp dword [esp + 0x24], 0
jg 0x42b912
mov byte [esp + 0x13], 1
cmp dword [esp + 0x40], 0
jg 0x42b780
cmp dword [esp + 0x2c], 0
jg 0x42b780
cmp dword [esp + 0x30], 0
jg 0x42b780
cmp dword [esp + 0x50], 0
jg 0x42b780
jmp 0x42c0a2
cmp dword [esp + 0x40], 0
jg 0x42b7e0
cmp dword [esp + 0x2c], 0
jg 0x42b7e0
cmp dword [esp + 0x30], 0
jg 0x42b7e0
cmp dword [esp + 0x50], 0
jg 0x42b7e0
jmp 0x42b906
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
shl edi, 4
add edi, edx
lea eax, [esp + ecx + 0x90]
mov dword [edi + 8], 0x63
mov edx, dword [eax - 4]
mov dword [edi + 4], edx
mov edx, dword [eax - 4]
mov dword [edi], edx
mov dword [edi + 0xc], 1
dec dword [eax]
cmp dword [eax], 0
jg 0x42b906
mov eax, dword [esp + 0x60]
dec dword [esp + 0x30]
add dword [esp + 0x3c], 8
mov edx, dword [eax - 8]
sub eax, 8
mov dword [esp + ecx + 0x8c], edx
mov edx, dword [eax + 4]
mov dword [esp + ecx + 0x90], edx
mov dword [esp + 0x60], eax
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x42b906
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + ebx*4 + 0x290]
add ecx, ebp
cmp eax, ecx
mov dword [esp + 0x28], ecx
jle 0x42ba03
cmp byte [esp + 0x13], 0
je 0x42b906
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx]
mov edx, dword [esp + 0x34]
xor ebp, ebp
cmp dword [edx], ebp
mov dword [esp + 0x58], ecx
jle 0x42bb0f
add eax, ecx
mov dword [esi + ebx*4 + 0x290], eax
mov dword [esp + 0x38], 0x1388
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, dword [esi + 0xa0]
jl 0x42ba50
mov dword [esp + 0x38], 0x4e20
lea esp, [esp]
mov eax, dword [esp + 0x48]
mov edx, edi
shl edx, 4
cmp dword [edx + eax + 4], 0
lea ebx, [edx + eax]
jne 0x42babb
cmp dword [ebx], 0
jne 0x42babb
mov eax, dword [esp + 0x58]
cmp eax, 0x186a0
jle 0x42ba7a
mov eax, 0x186a0
jmp 0x42ba91
mov ecx, dword [esp + 0x5c]
cmp eax, dword [ecx]
jne 0x42ba91
mov ecx, dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
jge 0x42ba91
mov eax, ecx
mov edx, dword [esp + 0x38]
push eax
push edx
mov ecx, esi
call fcn.0042b2b0
mov ebp, eax
test ebp, ebp
jle 0x42babb
sub dword [esp + 0x58], ebp
mov dword [ebx + 8], 0x63
mov dword [ebx + 4], ebp
mov dword [ebx], ebp
mov dword [ebx + 0xc], 1
call fcn.0042ede0
cdq
mov ecx, 0xa
idiv ecx
cmp dword [esp + 0x58], 0
lea edi, [edi + edx + 3]
jle 0x42bae0
test ebp, ebp
je 0x42bae0
cmp edi, dword [esi + 0xc]
jl 0x42ba50
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x64]
dec eax
mov dword [ecx], eax
mov ecx, 1
sub dword [esp + 0x50], ecx
cmp dword [esi + edi*4 + 0x290], edx
jl 0x42bb07
sub dword [esp + 0x24], ecx
test eax, eax
jg 0x42b906
mov eax, 4
add dword [esp + 0x5c], eax
add dword [esp + 0x34], eax
jmp 0x42b906
call fcn.0042ede0
mov ecx, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x2c]
mov eax, dword [esi + ebx*4 + 0x290]
add ecx, ebp
cmp eax, ecx
mov dword [esp + 0x28], ecx
jl 0x42bb4b
cmp byte [esp + 0x13], 0
je 0x42b906
mov ebp, dword [esp + edx*8 + 0x1a4]
lea ecx, [esp + edx*8 + 0x1a4]
add ebp, eax
mov eax, dword [esp + 0x48]
shl edi, 4
add eax, edi
mov dword [esi + ebx*4 + 0x290], ebp
mov dword [eax + 8], 0x63
mov edi, dword [ecx]
mov dword [eax + 4], edi
mov edi, dword [ecx]
mov dword [eax], edi
mov edi, 1
mov dword [eax + 0xc], edi
dec dword [esp + edx*8 + 0x1a8]
cmp dword [esp + edx*8 + 0x1a8], 0
lea eax, [esp + edx*8 + 0x1a8]
jg 0x42bbc2
mov eax, dword [esp + 0x54]
sub dword [esp + 0x2c], edi
mov edx, dword [eax - 8]
sub eax, 8
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov dword [esp + 0x54], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esp + 0x28]
cmp dword [esi + ebx*4 + 0x290], eax
jmp 0x42b900
cmp eax, 1
je 0x42be40
cmp eax, 0x64
jg 0x42be40
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x24]
shl edx, 4
push edx
push 0
push eax
call fcn.0042cf10
mov ecx, dword [esi + 0x24]
lea edi, [esi + 0x58]
add esp, 0xc
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x54], 8
nop
cmp dword [edi], 0
je 0x42bd44
mov eax, dword [esi + 0xc]
mov ecx, dword [edi]
cdq
idiv ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.0042af50
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
shl eax, 4
add eax, ecx
cmp dword [eax + 4], 0
jne 0x42bd39
cmp dword [eax], 0
jne 0x42bd39
mov ebx, dword [edi - 0x24]
xor edi, edi
mov dword [esp + 0x18], 0x1388
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, dword [esi + 0xa0]
jl 0x42bc90
mov dword [esp + 0x18], 0x4e20
jmp 0x42bc90
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
shl edx, 4
cmp dword [edx + eax + 4], 0
lea ebp, [edx + eax]
jne 0x42bcff
cmp dword [ebp], 0
jne 0x42bcff
cmp ebx, 0x186a0
mov eax, ebx
jle 0x42bcbc
mov eax, 0x186a0
jmp 0x42bcd6
mov ecx, dword [esp + 0x38]
cmp ebx, dword [ecx - 0x24]
jne 0x42bcd6
mov ecx, dword [esp + 0x18]
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
jge 0x42bcd6
mov eax, ecx
mov edx, dword [esp + 0x18]
push eax
push edx
mov ecx, esi
call fcn.0042b2b0
mov edi, eax
test edi, edi
jle 0x42bcff
mov dword [ebp + 8], 0x63
mov dword [ebp + 4], edi
mov dword [ebp], edi
mov dword [ebp + 0xc], 1
sub ebx, edi
call fcn.0042ede0
cdq
mov ecx, 7
idiv ecx
mov eax, dword [esp + 0x1c]
lea eax, [eax + edx + 5]
mov dword [esp + 0x1c], eax
test ebx, ebx
jle 0x42bd29
test edi, edi
je 0x42bd29
cmp eax, dword [esi + 0xc]
jl 0x42bc90
mov ecx, dword [esp + 0x20]
add dword [esp + 0x28], ecx
dec dword [esp + 0x24]
mov edi, dword [esp + 0x38]
cmp dword [esp + 0x24], 0
jg 0x42bc31
add edi, 4
sub dword [esp + 0x54], 1
mov dword [esp + 0x38], edi
jne 0x42bc10
mov eax, dword [esi + 0x284]
cmp eax, 0x64
mov byte [esp + 0x13], 0
jl 0x42bd72
add eax, 0xffffff9c
mov byte [esp + 0x13], 1
mov dword [esp + 0x20], eax
cmp dword [esi + 0x174], 0
mov dword [esp + 0x14], 0
jle 0x42c0a2
lea eax, [esi + 0x17c]
mov dword [esp + 0x18], eax
jmp 0x42bd97
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], 0x21
mov edx, dword [eax - 4]
mov ecx, dword [eax]
mov dword [esp + 0x4c], edx
je 0x42be21
test ecx, ecx
je 0x42be21
mov eax, dword [esi + 0xc]
cdq
xor ebp, ebp
idiv ecx
mov dword [esp + 0x24], ecx
mov ebx, eax
lea esp, [esp]
push ebx
mov ecx, esi
call fcn.0042af50
mov ecx, dword [esp + 0x3c]
add eax, ebp
shl eax, 4
cmp dword [eax + ecx + 4], 0
lea edi, [eax + ecx]
jne 0x42be1a
cmp dword [edi], 0
jne 0x42be1a
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x4c]
mov dword [edi + 8], 0x63
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 0xc], 1
je 0x42be14
push 0x64
mov ecx, esi
call fcn.0042af50
cmp eax, dword [esp + 0x20]
jge 0x42be14
mov dword [edi + 0xc], 2
add ebp, ebx
dec dword [esp + 0x24]
cmp dword [esp + 0x24], 0
jg 0x42bdc0
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 8
inc eax
cmp eax, dword [esi + 0x174]
mov dword [esp + 0x14], eax
jl 0x42bd93
jmp 0x42c0a2
xor ebx, ebx
lea edx, [ebx + 1]
lea edi, [esi + 0x58]
xor eax, eax
cmp dword [edi], eax
jle 0x42be5c
lea ecx, [ebp + ebx*4]
mov dword [ecx], edx
inc eax
add ecx, 4
cmp eax, dword [edi]
jl 0x42be52
inc edx
add ebx, eax
add edi, 4
cmp edx, 9
jl 0x42be48
mov edi, dword [esi + 0x10]
mov ebx, dword [esp + 0x20]
mov edi, edi
call fcn.0042ede0
cdq
idiv edi
dec edi
add ebx, 4
mov eax, dword [ebp + edx*4]
mov dword [ebx - 4], eax
mov ecx, dword [ebp + edi*4]
mov dword [ebp + edx*4], ecx
test edi, edi
jne 0x42be70
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x24]
shl edx, 4
push edx
push edi
push eax
call fcn.0042cf10
mov ecx, dword [esi + 0x24]
add esp, 0xc
cmp dword [esi + 0x10], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], edi
jle 0x42bfc7
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
nop
mov eax, dword [esi + 0xc]
push eax
mov ecx, esi
call fcn.0042af50
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
shl eax, 4
add eax, ecx
cmp dword [eax + 4], 0
jne 0x42bec0
cmp dword [eax], 0
jne 0x42bec0
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
mov ebx, dword [esi + eax*4 + 0x30]
xor edi, edi
mov dword [esp + 0x18], 0x1388
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, dword [esi + 0xa0]
jl 0x42bf14
mov dword [esp + 0x18], 0x4e20
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
shl edx, 4
cmp dword [edx + eax + 4], 0
lea ebp, [edx + eax]
jne 0x42bf86
cmp dword [ebp], 0
jne 0x42bf86
cmp ebx, 0x186a0
mov eax, ebx
jle 0x42bf40
mov eax, 0x186a0
jmp 0x42bf5d
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
cmp ebx, dword [esi + edx*4 + 0x30]
jne 0x42bf5d
mov ecx, dword [esp + 0x18]
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
jge 0x42bf5d
mov eax, ecx
push eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0042b2b0
mov edi, eax
test edi, edi
jle 0x42bf86
mov dword [ebp + 8], 0x63
mov dword [ebp + 4], edi
mov dword [ebp], edi
mov dword [ebp + 0xc], 1
sub ebx, edi
call fcn.0042ede0
cdq
mov ecx, 7
idiv ecx
mov eax, dword [esp + 0x1c]
lea eax, [eax + edx + 5]
mov dword [esp + 0x1c], eax
test ebx, ebx
jle 0x42bfb0
test edi, edi
je 0x42bfb0
cmp eax, dword [esi + 0xc]
jl 0x42bf14
mov eax, dword [esp + 0x14]
add dword [esp + 0x34], 4
inc eax
cmp eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
jl 0x42bec0
mov eax, dword [esi + 0x284]
cmp eax, 0xc8
mov byte [esp + 0x13], 0
jle 0x42bfe7
add eax, 0xffffff38
mov byte [esp + 0x13], 1
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x174], 0
mov dword [esp + 0x14], 0
jle 0x42c0a2
lea eax, [esi + 0x17c]
mov dword [esp + 0x18], eax
jmp 0x42c014
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], 0x21
mov ecx, dword [eax]
mov ebp, dword [eax - 4]
mov dword [esp + 0x20], ecx
je 0x42c088
xor ebx, ebx
test ecx, ecx
jle 0x42c088
lea ebx, [ebx]
mov edx, dword [esi + 0xc]
push edx
mov ecx, esi
call fcn.0042af50
mov ecx, dword [esp + 0x28]
shl eax, 4
cmp dword [eax + ecx + 4], 0
lea edi, [eax + ecx]
jne 0x42c030
cmp dword [edi], 0
jne 0x42c030
cmp byte [esp + 0x13], 0
mov dword [edi + 8], 0x63
mov dword [edi + 4], ebp
mov dword [edi], ebp
mov dword [edi + 0xc], 1
je 0x42c081
push 0x64
mov ecx, esi
call fcn.0042af50
cmp eax, dword [esp + 0x4c]
jge 0x42c081
mov dword [edi + 0xc], 2
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x42c030
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 8
inc eax
cmp eax, dword [esi + 0x174]
mov dword [esp + 0x14], eax
jl 0x42c010
mov edx, dword [esi + 0xc]
pop edi
mov dword [esi + 4], 0
mov dword [esi + 8], edx
pop esi
pop ebp
pop ebx
add esp, 0x3c4
ret 0xc