Function at 0x42c100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x200
mov eax, dword [0x597670]
xor eax, esp
mov dword [esp + 0x1fc], eax
push ebx
mov ebx, dword [esp + 0x208]
push ebp
mov ebp, dword [esp + 0x214]
push esi
mov esi, dword [esp + 0x214]
push edi
mov eax, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
call fcn.0042be40
mov eax, dword [ebp]
mov dword [esi + 0x10], eax
mov edx, dword [ebp + 4]
mov dword [esi + 0x14], edx
mov eax, dword [ebp]
lea ecx, [esi + 0x10]
mov dword [esi + 0x78], eax
mov edx, dword [ebp + 4]
lea edi, [esi + 0x78]
mov dword [edi + 4], edx
mov edx, dword [ebp]
lea eax, [esi + 0xac]
mov dword [eax], edx
mov edx, dword [ebp + 4]
mov dword [esp + 0x24], eax
mov dword [eax + 4], edx
mov eax, dword [ebx]
cmp eax, 0xa
ja case.default.0x42c182
jmp dword [eax*4 + 0x42c8a4]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 4]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
push ecx
push edx
call fcn.0042c100
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c4a6.3
lea ecx, [esp + 0x48]
lea eax, [esp + 0x30]
call fcn.0042b960
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x48]
push eax
push esi
push ecx
call fcn.0042bec0
mov ebx, dword [ebx + 8]
add esp, 0xc
test ebx, ebx
jne 0x42c1b3
jmp case.0x42c4a6.3
mov esi, ebx
mov dword [esp + 0x1c], esi
jmp 0x42c20c
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
push ebp
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.0042c100
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c4a6.3
mov edi, dword [esp + 0x14]
cmp esi, ebx
jne 0x42c23f
mov ecx, 0x70
lea esi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
jmp 0x42c24c
push ebp
lea eax, [esp + 0x4c]
call fcn.0042c090
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x42c208
jmp case.0x42c4a6.3
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 0xc]
mov eax, edx
sub eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
push eax
mov eax, esi
test bl, 2
jne 0x42c2b1
push ecx
mov ebx, edx
call fcn.0042ba80
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
add esp, 8
test edi, edi
jle 0x42c2aa
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
mov esi, dword [ebp + 8]
mov al, byte [edx]
lea ecx, [ebx + 0xac]
call fcn.0042bc40
mov dword [ebx], edi
mov dword [ebx + 4], edi
jmp 0x42c32a
test bl, 4
mov ebx, edx
je 0x42c2cb
call fcn.00438730
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
add esp, 4
imul ecx, eax
jmp 0x42c319
push ecx
call fcn.0042ba80
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp dword [esp + 0x1c], 0
mov dword [ecx + 0x24], 1
jle 0x42c315
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 8]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax + 8]
add esi, 0xac
call fcn.0042bc90
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c4a6.3
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ebx, eax
mov edi, edx
cmp dword [ebx + 0x28], edi
jne case.0x42c4a6.3
mov eax, dword [esp + 0x14]
mov dword [eax + 0x20], 1
jmp case.0x42c4a6.3
cmp dword [ebx + 0x28], 0
jne case.0x42c182.3
test byte [ebx + 4], 1
jne case.0x42c182.3
xor eax, eax
mov dword [esp + 0x20], eax
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, eax
shr ecx, 5
and edx, dword [ebx + ecx*4 + 8]
je 0x42c374
test byte [ebx + 4], 1
je 0x42c37a
jmp 0x42c394
test byte [ebx + 4], 1
je 0x42c394
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
add ecx, 0xac
call fcn.0042bc40
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
inc eax
cmp eax, 0x100
mov dword [esp + 0x20], eax
jl 0x42c355
mov dword [esi], 1
mov dword [esi + 4], 1
jmp case.0x42c4a6.3
mov ebp, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi], edx
mov dword [esi + 4], eax
jmp case.0x42c4a6.3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
cmp ecx, 1
jne 0x42c474
cmp dword [ebx + 4], 0xc
mov edi, ecx
jne 0x42c477
cmp dword [ebx + 8], 0
je 0x42c431
xor ebx, ebx
lea esp, [esp]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
push 0xc
push ebx
call ecx
add esp, 8
test eax, eax
jne 0x42c41a
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov al, bl
add ecx, 0xac
call fcn.0042bc40
mov esi, dword [esp + 0x14]
inc ebx
cmp ebx, 0x100
jl 0x42c3f0
mov ecx, dword [esp + 0x20]
mov dword [esi], edi
mov dword [esi + 4], ecx
jmp case.0x42c4a6.3
xor ebx, ebx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
push 0xc
push ebx
call eax
add esp, 8
test eax, eax
je 0x42c45d
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov al, bl
add ecx, 0xac
call fcn.0042bc40
mov esi, dword [esp + 0x14]
inc ebx
cmp ebx, 0x100
jl 0x42c433
mov ecx, dword [esp + 0x20]
mov dword [esi], edi
mov dword [esi + 4], ecx
jmp case.0x42c4a6.3
mov edi, dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [esi], edi
mov dword [esi + 4], ecx
jmp case.0x42c4a6.3
mov eax, dword [ebx + 4]
mov ecx, eax
cmp ecx, 0x10
jg 0x42c4ad
je case.0x42c4a6.1
dec ecx
cmp ecx, 7
ja case.0x42c4a6.3
movzx ecx, byte [ecx + 0x42c8d8]
jmp dword [ecx*4 + 0x42c8d0]
cmp ecx, 0x20
je case.0x42c4a6.1
cmp ecx, 0x400
jne case.0x42c4a6.3
mov eax, dword [ebx + 8]
push ebp
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.0042c100
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c4a6.3
cmp dword [esp + 0x70], eax
jle 0x42c4ec
lea esi, [esp + 0x58]
jmp 0x42c4fd
cmp dword [esp + 0xa4], 0
jle 0x42c508
lea esi, [esp + 0x8c]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x104], 0
mov dword [esi + 0x88], 0
jle case.0x42c4a6.3
mov edi, dword [esp + 0x24]
mov ecx, 0x45
lea esi, [esp + 0xf4]
rep movsd dword es:[edi], dword [esi]
jmp case.0x42c4a6.3
lea ecx, [esi + 8]
call fcn.0042b9b0
jmp case.0x42c4a6.3
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x68]
test ecx, ecx
jne 0x42c551
lea ecx, [eax + 0x48]
test byte [ebx + 4], 0x80
mov dword [esp + 0x1c], ecx
je 0x42c56d
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
jmp case.0x42c4a6.3
mov edi, dword [ebx + 0x24]
test edi, edi
jne 0x42c577
lea edi, [ebx + 0xc]
mov esi, dword [esp + 0x1c]
push eax
mov eax, dword [edi]
mov ecx, dword [esi + eax*4]
lea edx, [esp + 0x28]
push edx
push ecx
call fcn.004295f0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c4a6.3
mov edx, dword [ebp + 0x14]
mov ecx, dword [edi]
push edx
mov edx, dword [esi + ecx*4]
lea eax, [esp + 0x24]
push eax
push edx
call fcn.00429880
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c4a6.3
mov esi, 1
cmp dword [ebx + 8], esi
jle 0x42c63a
mov eax, dword [ebp + 0x14]
mov edx, dword [edi + esi*4]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [eax + edx*4]
push ecx
call fcn.004295f0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c4a6.3
mov edx, dword [ebp + 0x14]
mov ecx, dword [edi + esi*4]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [edx + ecx*4]
push eax
call fcn.00429880
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c4a6.3
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x24], eax
jbe 0x42c626
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x20], eax
jae 0x42c634
mov dword [esp + 0x20], eax
inc esi
cmp esi, dword [ebx + 8]
jl 0x42c5c8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp case.0x42c4a6.3
test byte [ebx + 4], 0x80
jne 0x42c55b
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x10]
mov edi, dword [ebp + 0xc]
push ebp
mov dword [ebp + 0xc], ecx
mov edx, dword [ebx + 0x14]
push esi
push edx
call fcn.0042c100
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [ebp + 0xc], edi
jmp case.0x42c4a6.3
mov ecx, dword [ebx + 8]
push ebp
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.0042c100
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c4a6.3
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x42c6e9
cmp dword [ebx + 0x10], 0xffffffff
jne 0x42c6e7
cmp dword [ebp + 4], eax
jne 0x42c76d
mov edx, dword [ebx + 8]
cmp dword [edx], 3
jne 0x42c76d
cmp dword [ebx + 0x14], eax
je 0x42c76d
test byte [ebp + 0xc], 4
je 0x42c6db
or dword [esi + 8], 0x8000
jmp 0x42c76d
or dword [esi + 8], 0x4000
jmp 0x42c76d
test eax, eax
jle 0x42c76d
mov eax, dword [esp + 0x14]
mov ecx, 0x70
lea esi, [esp + 0x48]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [esp + 0x70], ecx
jle 0x42c756
cmp dword [esp + 0x68], ecx
je 0x42c756
mov esi, 2
cmp esi, dword [ebx + 0xc]
jg 0x42c754
mov edi, 0x18
lea ecx, [ecx]
cmp dword [eax + 0x28], edi
jge 0x42c748
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push ecx
add eax, 0x10
push eax
call fcn.0042b9e0
mov eax, dword [esp + 0x20]
inc esi
add esp, 0xc
cmp esi, dword [ebx + 0xc]
jle 0x42c720
cmp esi, dword [ebx + 0xc]
jge 0x42c754
xor ecx, ecx
mov dword [eax + 0x20], ecx
jmp 0x42c756
xor ecx, ecx
mov edx, dword [ebx + 0xc]
cmp edx, dword [ebx + 0x10]
je 0x42c764
mov dword [eax + 0x20], ecx
mov dword [eax + 0x54], ecx
cmp dword [ebx + 0xc], 1
jle 0x42c76d
mov dword [eax + 0x54], ecx
mov ecx, dword [ebx + 0xc]
mov esi, dword [esp + 0x48]
call fcn.00427620
mov ecx, dword [ebx + 0x10]
mov edi, eax
cmp ecx, 0xffffffff
jne 0x42c799
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp eax, dword [esp + 0x4c]
mov dword [ecx], edi
sbb eax, eax
mov dword [ecx + 4], eax
jmp case.0x42c4a6.3
mov esi, dword [esp + 0x4c]
call fcn.00427620
mov ecx, dword [esp + 0x14]
mov dword [ecx], edi
mov dword [ecx + 4], eax
jmp case.0x42c4a6.3
mov eax, dword [ebx + 8]
sub eax, 1
je 0x42c800
sub eax, 1
je 0x42c7dd
sub eax, 2
jne case.0x42c4a6.3
mov ecx, dword [ebx + 0x14]
push ebp
push esi
push ecx
call fcn.0042c100
add esp, 0xc
mov dword [esp + 0x18], eax
jmp case.0x42c4a6.3
mov edx, dword [ebx + 0x10]
mov edi, dword [ebp + 0xc]
push ebp
mov dword [ebp + 0xc], edx
mov eax, dword [ebx + 0x14]
push esi
push eax
call fcn.0042c100
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [ebp + 0xc], edi
jmp case.0x42c4a6.3
inc dword [ebx + 0x28]
cmp dword [ebx + 0x28], 5
jle 0x42c826
mov eax, dword [ebx + 4]
xor edx, edx
or ecx, 0xffffffff
test al, 1
je 0x42c818
mov edx, dword [ebx + 0x1c]
test al, 2
je 0x42c81f
mov ecx, dword [ebx + 0x20]
mov dword [esi], edx
mov dword [esi + 4], ecx
jmp case.0x42c4a6.3
mov ecx, dword [ebx + 0x14]
push ebp
push esi
push ecx
call fcn.0042c100
add esp, 0xc
test dword [esi + 8], 0xc000
mov dword [esp + 0x18], eax
jne 0x42c852
mov edx, dword [esi + 0xc]
and edx, 0xc000
neg edx
sbb edx, edx
neg edx
je case.0x42c4a6.3
mov ebx, dword [ebx + 0xc]
cmp ebx, 0x20
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
jge 0x42c86d
mov edx, 1
mov ecx, ebx
shl edx, cl
and eax, edx
jmp 0x42c870
and eax, 1
test eax, eax
je case.0x42c4a6.3
and dword [esi + 8], 0xffff3fff
jmp case.0x42c4a6.3
mov dword [esp + 0x18], 0xfffffffa
mov ecx, dword [esp + 0x20c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050f0b5
add esp, 0x200
ret