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

Disassembly:
sub esp, 0x200
mov eax, dword [0x59f740]
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.0042be30
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.0x42c172
jmp dword [eax*4 + 0x42c894]
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.0042c0f0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c496.3
lea ecx, [esp + 0x48]
lea eax, [esp + 0x30]
call fcn.0042b950
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x48]
push eax
push esi
push ecx
call fcn.0042beb0
mov ebx, dword [ebx + 8]
add esp, 0xc
test ebx, ebx
jne 0x42c1a3
jmp case.0x42c496.3
mov esi, ebx
mov dword [esp + 0x1c], esi
jmp 0x42c1fc
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
push ebp
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.0042c0f0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c496.3
mov edi, dword [esp + 0x14]
cmp esi, ebx
jne 0x42c22f
mov ecx, 0x70
lea esi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
jmp 0x42c23c
push ebp
lea eax, [esp + 0x4c]
call fcn.0042c080
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x42c1f8
jmp case.0x42c496.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 0x42c2a1
push ecx
mov ebx, edx
call fcn.0042ba70
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
add esp, 8
test edi, edi
jle 0x42c29a
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.0042bc30
mov dword [ebx], edi
mov dword [ebx + 4], edi
jmp 0x42c31a
test bl, 4
mov ebx, edx
je 0x42c2bb
call fcn.00438720
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
add esp, 4
imul ecx, eax
jmp 0x42c309
push ecx
call fcn.0042ba70
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp dword [esp + 0x1c], 0
mov dword [ecx + 0x24], 1
jle 0x42c305
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.0042bc80
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c496.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.0x42c496.3
mov eax, dword [esp + 0x14]
mov dword [eax + 0x20], 1
jmp case.0x42c496.3
cmp dword [ebx + 0x28], 0
jne case.0x42c172.3
test byte [ebx + 4], 1
jne case.0x42c172.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 0x42c364
test byte [ebx + 4], 1
je 0x42c36a
jmp 0x42c384
test byte [ebx + 4], 1
je 0x42c384
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
add ecx, 0xac
call fcn.0042bc30
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
inc eax
cmp eax, 0x100
mov dword [esp + 0x20], eax
jl 0x42c345
mov dword [esi], 1
mov dword [esi + 4], 1
jmp case.0x42c496.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.0x42c496.3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
cmp ecx, 1
jne 0x42c464
cmp dword [ebx + 4], 0xc
mov edi, ecx
jne 0x42c467
cmp dword [ebx + 8], 0
je 0x42c421
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 0x42c40a
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov al, bl
add ecx, 0xac
call fcn.0042bc30
mov esi, dword [esp + 0x14]
inc ebx
cmp ebx, 0x100
jl 0x42c3e0
mov ecx, dword [esp + 0x20]
mov dword [esi], edi
mov dword [esi + 4], ecx
jmp case.0x42c496.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 0x42c44d
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov al, bl
add ecx, 0xac
call fcn.0042bc30
mov esi, dword [esp + 0x14]
inc ebx
cmp ebx, 0x100
jl 0x42c423
mov ecx, dword [esp + 0x20]
mov dword [esi], edi
mov dword [esi + 4], ecx
jmp case.0x42c496.3
mov edi, dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [esi], edi
mov dword [esi + 4], ecx
jmp case.0x42c496.3
mov eax, dword [ebx + 4]
mov ecx, eax
cmp ecx, 0x10
jg 0x42c49d
je case.0x42c496.1
dec ecx
cmp ecx, 7
ja case.0x42c496.3
movzx ecx, byte [ecx + 0x42c8c8]
jmp dword [ecx*4 + 0x42c8c0]
cmp ecx, 0x20
je case.0x42c496.1
cmp ecx, 0x400
jne case.0x42c496.3
mov eax, dword [ebx + 8]
push ebp
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.0042c0f0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c496.3
cmp dword [esp + 0x70], eax
jle 0x42c4dc
lea esi, [esp + 0x58]
jmp 0x42c4ed
cmp dword [esp + 0xa4], 0
jle 0x42c4f8
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.0x42c496.3
mov edi, dword [esp + 0x24]
mov ecx, 0x45
lea esi, [esp + 0xf4]
rep movsd dword es:[edi], dword [esi]
jmp case.0x42c496.3
lea ecx, [esi + 8]
call fcn.0042b9a0
jmp case.0x42c496.3
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x68]
test ecx, ecx
jne 0x42c541
lea ecx, [eax + 0x48]
test byte [ebx + 4], 0x80
mov dword [esp + 0x1c], ecx
je 0x42c55d
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
jmp case.0x42c496.3
mov edi, dword [ebx + 0x24]
test edi, edi
jne 0x42c567
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.004295e0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c496.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.00429870
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c496.3
mov esi, 1
cmp dword [ebx + 8], esi
jle 0x42c62a
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.004295e0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c496.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.00429870
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c496.3
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x24], eax
jbe 0x42c616
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x20], eax
jae 0x42c624
mov dword [esp + 0x20], eax
inc esi
cmp esi, dword [ebx + 8]
jl 0x42c5b8
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.0x42c496.3
test byte [ebx + 4], 0x80
jne 0x42c54b
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.0042c0f0
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [ebp + 0xc], edi
jmp case.0x42c496.3
mov ecx, dword [ebx + 8]
push ebp
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.0042c0f0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne case.0x42c496.3
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x42c6d9
cmp dword [ebx + 0x10], 0xffffffff
jne 0x42c6d7
cmp dword [ebp + 4], eax
jne 0x42c75d
mov edx, dword [ebx + 8]
cmp dword [edx], 3
jne 0x42c75d
cmp dword [ebx + 0x14], eax
je 0x42c75d
test byte [ebp + 0xc], 4
je 0x42c6cb
or dword [esi + 8], 0x8000
jmp 0x42c75d
or dword [esi + 8], 0x4000
jmp 0x42c75d
test eax, eax
jle 0x42c75d
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 0x42c746
cmp dword [esp + 0x68], ecx
je 0x42c746
mov esi, 2
cmp esi, dword [ebx + 0xc]
jg 0x42c744
mov edi, 0x18
lea ecx, [ecx]
cmp dword [eax + 0x28], edi
jge 0x42c738
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.0042b9d0
mov eax, dword [esp + 0x20]
inc esi
add esp, 0xc
cmp esi, dword [ebx + 0xc]
jle 0x42c710
cmp esi, dword [ebx + 0xc]
jge 0x42c744
xor ecx, ecx
mov dword [eax + 0x20], ecx
jmp 0x42c746
xor ecx, ecx
mov edx, dword [ebx + 0xc]
cmp edx, dword [ebx + 0x10]
je 0x42c754
mov dword [eax + 0x20], ecx
mov dword [eax + 0x54], ecx
cmp dword [ebx + 0xc], 1
jle 0x42c75d
mov dword [eax + 0x54], ecx
mov ecx, dword [ebx + 0xc]
mov esi, dword [esp + 0x48]
call fcn.00427610
mov ecx, dword [ebx + 0x10]
mov edi, eax
cmp ecx, 0xffffffff
jne 0x42c789
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.0x42c496.3
mov esi, dword [esp + 0x4c]
call fcn.00427610
mov ecx, dword [esp + 0x14]
mov dword [ecx], edi
mov dword [ecx + 4], eax
jmp case.0x42c496.3
mov eax, dword [ebx + 8]
sub eax, 1
je 0x42c7f0
sub eax, 1
je 0x42c7cd
sub eax, 2
jne case.0x42c496.3
mov ecx, dword [ebx + 0x14]
push ebp
push esi
push ecx
call fcn.0042c0f0
add esp, 0xc
mov dword [esp + 0x18], eax
jmp case.0x42c496.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.0042c0f0
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [ebp + 0xc], edi
jmp case.0x42c496.3
inc dword [ebx + 0x28]
cmp dword [ebx + 0x28], 5
jle 0x42c816
mov eax, dword [ebx + 4]
xor edx, edx
or ecx, 0xffffffff
test al, 1
je 0x42c808
mov edx, dword [ebx + 0x1c]
test al, 2
je 0x42c80f
mov ecx, dword [ebx + 0x20]
mov dword [esi], edx
mov dword [esi + 4], ecx
jmp case.0x42c496.3
mov ecx, dword [ebx + 0x14]
push ebp
push esi
push ecx
call fcn.0042c0f0
add esp, 0xc
test dword [esi + 8], 0xc000
mov dword [esp + 0x18], eax
jne 0x42c842
mov edx, dword [esi + 0xc]
and edx, 0xc000
neg edx
sbb edx, edx
neg edx
je case.0x42c496.3
mov ebx, dword [ebx + 0xc]
cmp ebx, 0x20
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
jge 0x42c85d
mov edx, 1
mov ecx, ebx
shl edx, cl
and eax, edx
jmp 0x42c860
and eax, 1
test eax, eax
je case.0x42c496.3
and dword [esi + 8], 0xffff3fff
jmp case.0x42c496.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.00517235
add esp, 0x200
ret