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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x68]
test ebx, ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
je 0x42fc25
mov edi, dword [esp + 0x78]
test edi, edi
je 0x42fc25
mov ebp, dword [esp + 0x90]
cmp ebp, 0xc
ja 0x42fc25
call fcn.0040ea50
add edi, 8
mov dword [esi + 8], edi
mov dword [esi + 4], eax
mov dword [esi + 0xbbc], ebx
xor edi, edi
jmp 0x42f7d0
mov eax, dword [edi + 0x47433c]
push eax
mov ecx, ebx
call fcn.0042daf0
test al, al
je 0x42fc25
add edi, 4
cmp edi, 0x10
jb 0x42f7d0
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
push ecx
lea eax, [esi + 0xbc0]
push edx
push eax
call fcn.0042f550
add esp, 0xc
test al, al
je 0x42fc25
mov eax, ebp
and al, 3
neg al
mov dword [esp + 0x20], 0xffffffff
sbb eax, eax
neg eax
shr ebp, 2
add eax, ebp
mov dword [esp + 0x10], eax
xor edi, edi
mov ecx, dword [esp + 0x84]
lea edx, [edi + ecx]
mov ecx, dword [esi + 8]
push edx
call fcn.004232a0
inc edi
cmp edi, 0xe
jb 0x42f832
mov ebx, dword [esp + 0x84]
mov cl, byte [esp + 0x88]
lea eax, [ebx + 1]
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x8c]
cmp cl, al
setne byte [esp + 0x9c]
lea edx, [esp + 0x98]
mov byte [esp + 0x99], cl
add esi, 0x14
lea ecx, [esp + 0x30]
sub edx, ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x98], al
mov dword [esp + 0x18], ecx
mov ebp, 0x474354
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], 0
jmp 0x42f8b0
mov edx, dword [esp + 0x28]
mov edi, edi
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x9c]
test al, al
mov dword [esp + 0x38], ebx
je 0x42f8d0
mov eax, ebx
jmp 0x42f8d6
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp - 4]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x48], eax
cmp byte [ebx + edx], 0
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], esi
je 0x42f92d
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [edx + 8]
call fcn.004231e0
test al, al
je 0x42fc25
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
mov dword [esi + 0xd0], ecx
mov edx, dword [ebp + 8]
imul edx, edx, 0x144
push 0
lea ecx, [edx + eax + 0x108]
push 0
push ecx
mov ecx, esi
call fcn.0042cd30
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push edx
push eax
mov ecx, esi
mov dword [esi + 0xc0], 0
call fcn.0042cd10
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add eax, 0x14
mov dword [esi + 0x1c], 0x100
add ebp, 0x14
add esi, 0xd4
add edx, 4
inc ebx
cmp eax, 0x28
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
jb 0x42f8aa
mov dl, byte [esp + 0x8c]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x90]
mov cl, byte [esp + 0x88]
mov byte [ebx + 0xbac], dl
xor edx, edx
test edi, edi
mov byte [ebx + 0xbad], cl
mov dword [esp + 0x8c], edx
jbe 0x42fc01
mov ecx, dword [esp + 0x94]
lea eax, [edi - 1]
and eax, 3
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x84]
add eax, 2
add ebx, 0x1bc
sub eax, ecx
mov dword [esp + 0x9c], eax
jmp 0x42fa10
mov edx, dword [esp + 0x8c]
mov edi, edi
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x9c]
mov ebp, edx
mov esi, edx
add edx, eax
mov dword [esp + 0x98], edx
add edx, ecx
mov ecx, dword [esp + 0x88]
and ebp, 3
shr esi, 2
test ecx, ecx
mov dword [esp + 0x38], edx
jne 0x42fa56
mov ecx, 4
jmp 0x42fa57
inc ecx
xor edx, edx
cmp ebp, ecx
lea eax, [esi + 1]
jb 0x42fa69
mov ecx, dword [esp + 0x10]
dec ecx
div ecx
jmp 0x42fa6d
div dword [esp + 0x10]
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
add edi, 2
lea edx, [ebp + edx*4]
add edx, edi
dec eax
cmp esi, eax
mov dword [esp + 0x50], edx
lea edx, [ebp + 3]
mov dword [esp + 0x74], eax
jne 0x42fab6
mov ecx, dword [esp + 0x88]
test ecx, ecx
jne 0x42faab
mov ecx, 4
lea eax, [ecx + ebp - 1]
xor edx, edx
div ecx
jmp 0x42fab9
inc ecx
lea eax, [ecx + ebp - 1]
xor edx, edx
div ecx
jmp 0x42fab9
and edx, 3
mov ecx, dword [esp + 0x88]
lea eax, [edx + esi*4]
add eax, edi
test ecx, ecx
mov dword [esp + 0x54], eax
jne 0x42fad4
mov ecx, 4
jmp 0x42fad5
inc ecx
cmp ebp, ecx
mov edx, dword [esp + 0x10]
lea eax, [esi + edx - 1]
jb 0x42faed
lea eax, [esi + edx - 2]
xor edx, edx
div dword [esp + 0x74]
jmp 0x42faf3
xor edx, edx
div dword [esp + 0x10]
mov eax, dword [esp + 0x74]
lea ecx, [ebp + edx*4]
add ecx, edi
cmp esi, eax
mov dword [esp + 0x4c], ecx
lea edx, [ebp + 1]
jne 0x42fb29
mov ecx, dword [esp + 0x88]
test ecx, ecx
jne 0x42fb20
mov eax, edx
mov ecx, 4
xor edx, edx
div ecx
jmp 0x42fb2c
mov eax, edx
inc ecx
xor edx, edx
div ecx
jmp 0x42fb2c
and edx, 3
mov ecx, esi
imul ecx, ecx, 0x62
mov eax, ebp
imul eax, eax, 0x7c
lea edx, [edx + esi*4]
add edx, edi
mov edi, dword [esp + 0x14]
add ecx, 0x120
mov dword [esp + 0x58], edx
lea edx, [esp + 0x38]
add eax, 0x118
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 8]
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0x78
mov dword [esp + 0x4c], 0x5a
mov dword [esp + 0x60], ebx
call fcn.004231e0
test al, al
je 0x42fc25
mov eax, dword [esp + 0x80]
imul esi, esi, 0x5a
imul ebp, ebp, 0x78
push esi
mov dword [ebx + 0xd0], eax
push ebp
lea eax, [edi + 0xbc0]
push eax
mov ecx, ebx
call fcn.0042cd30
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
push edx
mov ecx, ebx
mov dword [ebx + 0xc0], 0
call fcn.0042cd10
mov eax, dword [esp + 0x98]
mov dword [ebx + 0x1c], 0x100
mov cl, byte [eax]
mov eax, dword [esp + 0x8c]
test cl, cl
setne cl
mov byte [eax + edi + 0xbae], cl
mov ecx, dword [esp + 0x90]
inc eax
add ebx, 0xd4
cmp eax, ecx
mov dword [esp + 0x8c], eax
jb 0x42fa07
mov ebx, edi
mov edi, ecx
mov ecx, dword [ebx + 8]
call fcn.00422440
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
mov ecx, dword [esp + 0x78]
je 0x42fc31
mov edx, dword [esp + 0x7c]
push eax
push edx
call fcn.0042e1c0
test al, al
jne 0x42fc3f
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x60
ret 0x2c
mov eax, dword [esp + 0x7c]
push eax
call fcn.0042e1e0
test al, al
je 0x42fc25
mov ebp, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
lea eax, [ebp + 2]
push eax
push ecx
mov ecx, dword [esp + 0x80]
call fcn.0042e1c0
test al, al
je 0x42fc25
lea edx, [ebx + 0xd18]
lea eax, [ebx + 0xd14]
mov dword [esp + 0x30], 0x4743b8
mov dword [esp + 0x34], 0x4743a4
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0x42f060
mov dword [esp + 0x24], 0x42efb0
xor esi, esi
jmp 0x42fca0
mov ecx, dword [esp + esi + 0x30]
mov edx, dword [esp + esi + 0x28]
push ecx
push ebx
push 0x14000000
push 0x14
push edx
call fcn.0042dd10
add esp, 0x14
test eax, eax
je 0x42fc25
mov ecx, dword [esp + esi + 0x20]
test ecx, ecx
jne 0x42fccd
mov ecx, dword [eax + 0x34]
add esi, 4
cmp esi, 8
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], 0
jb 0x42fca0
mov dword [ebx + 0x10], edi
pop edi
pop esi
mov dword [ebx + 0xc], ebp
pop ebp
mov al, 1
pop ebx
add esp, 0x60
ret 0x2c