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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x58
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
je 0x46845b
mov eax, dword [esi + 0x10]
test eax, eax
je 0x468263
mov al, byte [esi + 0x2e]
test al, al
jne 0x46827d
add esi, 0x30
push esi
call dword [0x5ec778]
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x58
ret 0x10
mov al, byte [esi + 0x2d]
test al, al
jne 0x46845b
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x58], eax
add eax, ebx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x5c], ecx
add ecx, eax
mov dword [esp + 0x64], ecx
lea ecx, [esi + 0x30]
mov edx, dword [esi + 0x30]
mov dword [esp + 0x38], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x58]
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], eax
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call dword [0x5ec770]
test eax, eax
jne 0x4682f1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x58
ret 0x10
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ebp, dword [0x5ec774]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
neg edx
mov dword [esp + 0x54], ecx
push edx
neg eax
lea ecx, [esp + 0x4c]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x1c]
neg ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
neg eax
push ecx
push eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
mov dword [esp + 0x3c], edx
push eax
call ebp
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
sub ecx, edx
sub eax, edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x10], ecx
lea eax, [ecx + ebx]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x70], eax
lea ecx, [eax + eax*2]
mov eax, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x50]
sub eax, ecx
mov dword [esp + 0x18], edx
lea ebp, [eax + eax*2]
mov eax, dword [esi + 0x28]
add ebp, eax
call dword [0x5ec1c0]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x6c]
lea eax, [edx + eax - 1]
mov edx, dword [esp + 0x18]
imul eax, ebx
add eax, edx
lea edx, [ecx + eax*2]
add eax, edx
mov edx, dword [esi + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x54]
sub eax, dword [esp + 0x3c]
imul eax, dword [esi + 0x28]
mov dword [esp + 0x70], eax
lea eax, [edi + edi*2]
mov edi, dword [esp + 0x70]
add edx, edi
add eax, edx
mov edx, dword [esp + 0x6c]
cmp ecx, edx
jb 0x46845b
imul ebx, dword [esp + 0x74]
lea edx, [edx + ebx*2]
add ebx, edx
cmp ecx, ebx
ja 0x46845b
cmp eax, dword [esi + 0x10]
jb 0x46845b
cmp eax, dword [esi + 0x14]
ja 0x46845b
mov edx, dword [esp + 0x78]
test edx, edx
jle 0x46844f
mov edi, edx
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x468444
mov dl, byte [eax]
mov bl, byte [eax + 1]
inc eax
mov byte [esp + 0x6c], bl
inc eax
mov bl, byte [eax]
inc eax
mov byte [ecx], bl
mov bl, byte [esp + 0x6c]
inc ecx
mov byte [ecx], bl
inc ecx
mov byte [ecx], dl
inc ecx
dec esi
jne 0x468426
mov ebx, dword [esp + 0x14]
add eax, ebp
sub ecx, ebx
dec edi
jne 0x46841e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x58
ret 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x58
ret 0x10