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

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x3f0]
mov ecx, dword [esi + 0x400]
mov ebp, dword [esi + 0x3e0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42f293
mov edx, dword [esi + 0x53c]
mov ebx, dword [esi + 0x554]
sub eax, ecx
mov ecx, dword [esi + 0x540]
mov dword [esp + 0x48], eax
mov eax, 1
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x544]
mov dword [esi + 0x53c], eax
mov dword [esi + 0x540], eax
mov dword [esi + 0x544], eax
mov eax, dword [esi + 0x550]
test eax, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x80], ebx
mov ecx, ebx
jge 0x42f2f4
xor eax, eax
test ecx, ecx
jge 0x42f2fa
xor ecx, ecx
push edi
mov dword [esi + 0x550], eax
mov eax, dword [esi + 0x3dc]
push 0x489bd5
mov dword [esi + 0x554], ecx
push eax
mov ecx, esi
call fcn.00428780
mov ecx, dword [esp + 0x4c]
lea edi, [ebx + 0x10]
imul edi, edi, 0x780
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
jle 0x42f6e7
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x14], ecx
jmp 0x42f350
mov edi, dword [esp + 0x5c]
mov edi, edi
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.00466312
add esp, 4
test eax, eax
je 0x42f39c
mov edx, dword [esp + 0x14]
push 2
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00465720
mov eax, dword [esp + 0xa0]
add esp, 0xc
lea ecx, [esp + 0x88]
push ecx
push 2
lea edx, [esp + 0x18]
push edx
push eax
jmp 0x42f3c7
mov ecx, dword [esp + 0x14]
push 1
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00465720
mov edx, dword [esp + 0xa0]
add esp, 0xc
lea eax, [esp + 0x88]
push eax
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [0x489030]
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f3e8
mov edi, dword [esi + 0x538]
sub eax, edx
cmp edi, 0xa8c
mov edx, dword [esi + 0x3dc]
mov ecx, 4
jne 0x42f413
mov ecx, dword [esi + 0x554]
add ecx, 4
push eax
lea eax, [esp + 0x14]
push eax
push 4
push ecx
push edx
call dword [0x48902c]
mov ecx, dword [esi + 0x54c]
mov edx, dword [esi + 0x548]
mov eax, dword [esp + 0x18]
push 0xcc0020
sub ecx, 4
push ecx
lea ecx, [edx + eax - 4]
mov edx, dword [esp + 0x9c]
mov eax, dword [esi + 0x554]
push ecx
mov ecx, dword [esi + 0x550]
push edx
add eax, 8
push eax
mov eax, dword [esi + 0x3fc]
lea edx, [ecx + ecx + 8]
push edx
push 0
push 0
push eax
call dword [0x48905c]
lea eax, [ebx + 7]
cmp eax, 1
jle 0x42f65f
mov ecx, dword [esp + 0x28]
lea edx, [ecx + ecx + 7]
mov ecx, 0x780
dec eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
cmp dword [esp + 0x2c], 1
jle 0x42f646
lea edi, [ecx + 3]
lea eax, [ebp - 0x780]
lea esi, [eax + ecx + 3]
mov ecx, ebp
sub ecx, eax
add ecx, 0xfffff87d
mov dword [esp + 0x78], ecx
mov edx, ebp
sub edx, eax
add edx, 0xfffff883
mov dword [esp + 0x74], edx
mov ecx, ebp
sub ecx, eax
add ecx, 0xfffffffd
mov dword [esp + 0x70], ecx
mov edx, ebp
sub edx, eax
add edx, 0x783
mov dword [esp + 0x6c], edx
mov ecx, ebp
sub ecx, eax
add ecx, 0x780
mov dword [esp + 0x68], ecx
mov edx, ebp
sub edx, eax
add edx, 0x77d
mov ecx, ebp
sub ecx, eax
add ecx, 3
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x64], edx
mov edx, eax
neg edx
add ecx, edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x20]
lea ebx, [edx + ecx]
sub ecx, eax
inc ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov eax, dword [esp + 0x2c]
add edx, ebp
add ecx, 2
dec eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
jmp 0x42f550
mov ecx, dword [esp + 0x60]
movzx ecx, byte [ecx + esi]
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + esi]
or ecx, eax
mov eax, dword [esp + 0x68]
movzx eax, byte [eax + esi]
or ecx, eax
mov eax, dword [esp + 0x6c]
movzx eax, byte [eax + esi]
or ecx, eax
mov eax, dword [esp + 0x70]
movzx eax, byte [eax + esi]
or ecx, eax
mov eax, dword [esp + 0x74]
movzx eax, byte [eax + esi]
or ecx, eax
mov eax, dword [esp + 0x78]
movzx eax, byte [eax + esi]
or ecx, eax
movzx eax, byte [esi]
or ecx, eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x3e0]
movzx eax, byte [edi + eax]
xor ecx, eax
jne 0x42f5db
cmp byte [edx + esi], 0
jne 0x42f5db
mov ecx, dword [esp + 0x7c]
mov al, byte [ecx + esi]
mov ecx, dword [esp + 0x24]
mov byte [ebx + esi], al
mov al, byte [edi + ecx + 1]
mov ecx, dword [esp + 0x30]
mov byte [ecx + esi], al
mov eax, dword [esp + 0x24]
mov cl, byte [edi + eax + 2]
mov eax, dword [esp + 0x34]
mov byte [eax + esi], cl
jmp 0x42f622
mov al, byte [esp + 0x58]
sub al, cl
imul byte [edx + esi]
mov byte [ebx + esi], al
mov al, byte [edi + ebp + 1]
imul cl
mov bl, al
mov al, byte [edx + esi]
imul byte [esp + 0x54]
mov edx, dword [esp + 0x30]
sub al, bl
mov byte [edx + esi], al
mov al, byte [edi + ebp + 2]
mov edx, dword [esp + 0x38]
imul cl
mov ebx, dword [esp + 0x80]
mov cl, al
mov al, byte [edx + esi]
imul byte [esp + 0x50]
sub al, cl
mov ecx, dword [esp + 0x34]
mov byte [ecx + esi], al
mov eax, dword [esp + 0x3c]
add edi, 3
add esi, 3
dec eax
mov dword [esp + 0x3c], eax
jne 0x42f550
mov ebx, dword [esp + 0x84]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
add ecx, 0x780
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
jne 0x42f495
mov edx, dword [esi + 0x3ec]
mov ecx, dword [esi + 0x548]
push 0xcc0020
push 1
push 1
push edx
mov edx, dword [esp + 0x28]
lea eax, [ebx + 6]
push eax
mov eax, dword [esp + 0x3c]
lea eax, [eax + eax + 6]
push eax
mov eax, dword [esi + 0x54c]
sub eax, 3
push eax
lea eax, [ecx + edx - 3]
mov ecx, dword [esp + 0xb0]
push eax
push ecx
call dword [0x48905c]
mov edi, dword [esp + 0x14]
movsx edx, byte [edi]
push edx
call fcn.00466312
add esp, 4
test eax, eax
je 0x42f6bc
inc dword [esp + 0x1c]
inc edi
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
add edx, eax
mov eax, dword [esp + 0x1c]
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
jl 0x42f34a
mov eax, dword [esi + 0x42c]
test eax, eax
pop edi
je 0x42f71b
mov ecx, dword [esi + 0x3dc]
push eax
push ecx
call dword [0x48904c]
mov edx, dword [esi + 0x428]
push edx
call dword [0x489054]
xor eax, eax
mov dword [esi + 0x428], eax
mov dword [esi + 0x42c], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esi + 0x53c], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x550], eax
mov dword [esi + 0x554], ebx
mov dword [esi + 0x540], ecx
mov dword [esi + 0x544], edx
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x80
ret 8