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

Disassembly:
sub esp, 0x7c
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x3f0]
mov ecx, dword [ebx + 0x400]
push ebp
push esi
mov esi, dword [ebx + 0x3e0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x90]
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ecx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42bd11
mov edx, dword [ebx + 0x53c]
mov ecx, dword [ebx + 0x540]
mov ebp, dword [ebx + 0x554]
sub eax, edi
mov dword [esp + 0x48], eax
mov eax, 1
mov dword [esp + 0x4c], edx
mov edx, dword [ebx + 0x544]
mov dword [ebx + 0x53c], eax
mov dword [ebx + 0x540], eax
mov dword [ebx + 0x544], eax
mov eax, dword [ebx + 0x550]
test eax, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x80], ebp
mov ecx, ebp
jge 0x42bd72
xor eax, eax
test ecx, ecx
jge 0x42bd78
xor ecx, ecx
mov dword [ebx + 0x550], eax
mov eax, dword [ebx + 0x3dc]
push 0x47f3a2
mov dword [ebx + 0x554], ecx
push eax
mov ecx, ebx
call fcn.004227f0
mov ecx, dword [esp + 0x48]
lea edi, [ebp + 0x10]
imul edi, edi, 0x780
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
jle 0x42c148
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
jmp 0x42bdd0
mov edi, dword [esp + 0x58]
jmp 0x42bdd0
mov eax, dword [esp + 0x14]
movsx ecx, byte [eax]
xor edx, edx
mov word [esp + 0x10], dx
push ecx
mov byte [esp + 0x16], dl
call fcn.0045bae2
add esp, 4
test eax, eax
je 0x42be1c
mov edx, dword [esp + 0x14]
push 2
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0045af60
mov eax, dword [esp + 0x9c]
add esp, 0xc
lea ecx, [esp + 0x84]
push ecx
push 2
lea edx, [esp + 0x18]
push edx
push eax
jmp 0x42be47
mov ecx, dword [esp + 0x14]
push 1
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0045af60
mov edx, dword [esp + 0x9c]
add esp, 0xc
lea eax, [esp + 0x84]
push eax
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [0x47e040]
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42be68
mov ecx, dword [ebx + 0x3dc]
sub eax, edi
push eax
lea eax, [esp + 0x14]
push eax
push 4
push 4
push ecx
call dword [0x47e03c]
mov edx, dword [ebx + 0x54c]
mov eax, dword [ebx + 0x548]
mov ecx, dword [esp + 0x18]
push 0xcc0020
sub edx, 4
push edx
lea edx, [eax + ecx - 4]
mov eax, dword [esp + 0x98]
mov ecx, dword [ebx + 0x554]
push edx
mov edx, dword [ebx + 0x550]
push eax
add ecx, 8
push ecx
mov ecx, dword [ebx + 0x3fc]
lea eax, [edx + edx + 8]
push eax
push 0
push 0
push ecx
call dword [0x47e05c]
lea eax, [ebp + 7]
cmp eax, 1
jle 0x42c0c0
mov ecx, 0x780
dec eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov edi, edi
mov eax, dword [esp + 0x20]
lea eax, [eax + eax + 7]
cmp eax, 1
jle 0x42c0a7
lea eax, [esi - 0x780]
mov edx, esi
sub edx, eax
add edx, 0xfffff87d
mov dword [esp + 0x74], edx
mov edx, esi
sub edx, eax
add edx, 0xfffff883
mov dword [esp + 0x70], edx
mov edx, esi
sub edx, eax
add edx, 0xfffffffd
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x28]
mov edx, esi
sub edx, eax
add edx, 0x783
mov dword [esp + 0x68], edx
mov edx, esi
sub edx, eax
add edx, 0x780
mov dword [esp + 0x64], edx
mov edx, esi
sub edx, eax
add edx, 0x77d
mov dword [esp + 0x60], edx
mov edx, esi
sub edx, eax
add edx, 3
mov dword [esp + 0x5c], edx
mov edx, eax
neg edx
add ebx, edx
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x24]
lea ebp, [edx + ebx]
add edx, esi
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
sub ebx, eax
sub edx, eax
lea edi, [ecx + 3]
lea ecx, [eax + ecx + 3]
mov eax, dword [esp + 0x20]
inc ebx
add edx, 2
lea eax, [eax + eax + 7]
dec eax
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov edi, edi
mov eax, dword [esp + 0x5c]
movzx edx, byte [eax + ecx]
mov eax, dword [esp + 0x60]
movzx eax, byte [eax + ecx]
or edx, eax
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + ecx]
or edx, eax
mov eax, dword [esp + 0x68]
movzx eax, byte [eax + ecx]
or edx, eax
mov eax, dword [esp + 0x6c]
movzx eax, byte [eax + ecx]
or edx, eax
mov eax, dword [esp + 0x70]
movzx eax, byte [eax + ecx]
or edx, eax
mov eax, dword [esp + 0x74]
movzx eax, byte [eax + ecx]
or edx, eax
movzx eax, byte [ecx]
or edx, eax
mov eax, dword [ebx + 0x3e0]
movzx eax, byte [edi + eax]
xor edx, eax
jne 0x42c03b
mov eax, dword [esp + 0x2c]
cmp byte [eax + ecx], 0
jne 0x42c03b
mov edx, dword [esp + 0x78]
mov al, byte [edx + ecx]
mov edx, dword [esp + 0x28]
mov byte [ecx + ebp], al
mov al, byte [edi + edx + 1]
mov edx, dword [esp + 0x30]
mov byte [edx + ecx], al
mov eax, dword [esp + 0x28]
mov dl, byte [edi + eax + 2]
mov eax, dword [esp + 0x34]
mov byte [eax + ecx], dl
jmp 0x42c087
mov al, byte [esp + 0x54]
mov ebx, dword [esp + 0x2c]
sub al, dl
imul byte [ebx + ecx]
mov byte [ecx + ebp], al
mov al, byte [edi + esi + 1]
mov ebp, dword [esp + 0x2c]
imul dl
mov bl, al
mov al, byte [esp + 0x50]
imul byte [ecx + ebp]
sub al, bl
mov ebx, dword [esp + 0x30]
mov byte [ebx + ecx], al
mov al, byte [edi + esi + 2]
imul dl
mov ebx, dword [esp + 0x38]
mov dl, al
mov al, byte [esp + 0x4c]
imul byte [ecx + ebp]
mov ebp, dword [esp + 0x7c]
sub al, dl
mov edx, dword [esp + 0x34]
mov byte [edx + ecx], al
mov eax, dword [esp + 0x3c]
add edi, 3
add ecx, 3
dec eax
mov dword [esp + 0x3c], eax
jne 0x42bfb0
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x80]
mov eax, dword [esp + 0x44]
add ecx, 0x780
dec eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
jne 0x42bef0
mov eax, dword [ebx + 0x3ec]
mov ecx, dword [ebx + 0x54c]
mov edx, dword [ebx + 0x548]
push 0xcc0020
push 1
push 1
push eax
lea eax, [ebp + 6]
push eax
mov eax, dword [esp + 0x34]
lea eax, [eax + eax + 6]
push eax
mov eax, dword [esp + 0x30]
sub ecx, 3
push ecx
lea ecx, [edx + eax - 3]
mov edx, dword [esp + 0xac]
push ecx
push edx
call dword [0x47e05c]
mov edi, dword [esp + 0x14]
movsx eax, byte [edi]
push eax
call fcn.0045bae2
add esp, 4
test eax, eax
je 0x42c11d
inc dword [esp + 0x1c]
inc edi
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x48]
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
jl 0x42bdc7
mov eax, dword [ebx + 0x42c]
test eax, eax
je 0x42c17b
mov edx, dword [ebx + 0x3dc]
push eax
push edx
call dword [0x47e06c]
mov eax, dword [ebx + 0x428]
push eax
call dword [0x47e058]
xor eax, eax
mov dword [ebx + 0x428], eax
mov dword [ebx + 0x42c], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
pop edi
mov dword [ebx + 0x53c], ecx
mov ecx, dword [esp + 0x1c]
pop esi
mov dword [ebx + 0x554], ebp
mov dword [ebx + 0x544], eax
pop ebp
mov dword [ebx + 0x540], edx
mov dword [ebx + 0x550], ecx
mov al, 1
pop ebx
add esp, 0x7c
ret 8