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

Disassembly:
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
push ecx
push 0
mov esi, eax
mov eax, dword [edi]
pop ecx
add esi, eax
push esi
add edi, 4
inc ecx
mov eax, dword [esi]
inc esi
test al, al
jne 0x401668
mov eax, ecx
pop esi
dec eax
cmp dword [ebp - 0x10], eax
je 0x40168e
pop ecx
inc dword [ebp - 4]
dec ecx
jne 0x401657
dec edi
pushal
mov edx, dword [ebp + 8]
mov dword [ecx + eax*4], edx
inc dword [edi + 0x64]
xor eax, eax
pop edi
mov ecx, dword [ebp + 0xc]
call fcn.004010a7
xor ecx, ecx
add eax, 1
dec eax
jne 0x401679
push 0x23
jmp 0x403739
mov eax, edx
inc eax
inc eax
sub esi, eax
test eax, eax
jne 0x4019e2
add byte [ebx - 0x3f7a83bd], cl
je 0x4019b4
lea ecx, [ebp - 0x2c]
push ecx
push 7
push eax
lea edx, [ebp - 0x28]
push edx
or eax, 0xffffffff
call 0x493f7e
mov dword [ebp - 8], eax
test eax, eax
jl 0x401ac8
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x4019f5
lea ecx, [ebp - 0x48]
push ecx
push 5
dec eax
mov eax, dword [0x4043a9]
mov ecx, eax
mov eax, edi
mov edx, dword [0x404832]
and eax, edx
mov esi, eax
mov edx, 0x10000
xor edi, edi
dec edx
and ecx, edx
add edx, 1
push edi
pop eax
lodsw ax, word [esi]
sub eax, ecx
jne 0x401984
push 0x21
dec esi
dec esi
mov edi, esi
jmp 0x4039ee
push eax
mov eax, dword [ebx + 0x78]
lea edx, [ebp - 0x28]
push edx
call 0x493fb2
test eax, eax
jl 0x401afc
push 0
push 5
push 0x45e2b4
lea eax, [ebp - 0x28]
push eax
mov eax, 1
call 0x493fb2
test eax, eax
jl 0x401afc
lea ecx, [ebp - 0x4c]
push ecx
push 5
push 0x46453c
lea edx, [ebp - 0x28]
push edx
or eax, 0xffffffff
call 0x493fb2
test eax, eax
jl 0x401afc
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
neg esi
sbb esi, esi
add eax, 3
and esi, 2
shr eax, 2
add esi, eax
cmp esi, 0x8000
ja 0x401ade
mov ecx, esi
mov edi, ebx
call 0x400af2
mov dword [ebp - 8], eax
test eax, eax
jl 0x401afc
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x60]
lea edx, [ecx*4 - 4]
push edx
lea ecx, [eax + 4]
push ecx
lea edx, [eax + esi*4 + 4]
push edx
call 0x690bb6
xor ecx, ecx
add esp, 0xc
cmp dword [ebp - 0x3c], ecx
jbe 0x401ab9
mov eax, dword [ebp - 0x10]
add eax, 4
mov edx, dword [ebx + 0x70]
add edx, esi
add edx, edx
add edx, edx
add dword [eax], edx
inc ecx
add eax, 8
cmp ecx, dword [ebp - 0x3c]
jb 0x401aa5
mov eax, dword [ebx + 0x60]
push esi
lea ecx, [ebp - 0x28]
add eax, 4
push ecx
call 0x494132
mov dword [ebp - 8], eax
test eax, eax
add byte [ecx - 0x3f7a07bb], cl
jl 0x401afc
add dword [ebx + 0x64], esi
mov eax, dword [ebx + 0x64]
add dword [ebx + 0x70], esi
mov dword [ebx + 0x6c], eax
jmp 0x401af5
mov esi, dword [ebx]
push 0x46459c
push 0x7ee
lea eax, [ebx + 0x10]
call fcn.00403042
add esp, 8
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0xc]
push edx
call 0x690b02
mov eax, dword [ebp - 0x10]
push eax
call 0x690b02
mov eax, dword [ebp - 0x20]
add esp, 8
test eax, eax
je 0x401b46
mov ecx, dword [eax + 0x10]
mov esi, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [esi + 8]
test al, 8
jne 0x401b2b
test al, 1
jne 0x401b36
mov edx, dword [esi]
push edx
call 0x690b02
add esp, 4
push esi
call 0x690b02
mov eax, dword [ebp - 0x20]
add esp, 4
test eax, eax
jne 0x401b18
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop eax
push dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
inc ecx
pop esi
push esi
add esi, eax
inc esi
mov edx, ecx
dec edx
mov ecx, dword [ebp - 8]
add ecx, dword [esi]
pop eax
add edx, edx
mov esi, eax
add ecx, edx
xor eax, eax
mov ax, word [ecx]
dec esi
mov ecx, dword [esi + 0x1d]
push edi
mov edi, ecx
lea eax, [edi + eax*4]
mov ecx, dword [ebp - 8]
pop edi
inc esi
mov eax, dword [ecx + eax]
add eax, ecx
test eax, eax
jne 0x403ae3
push 0xffffffffffffff8b
add byte [ebx - 0x769596], al
push 0xffffffffffffff89
int3
mov eax, esi
push 0
mov dword [ebp - 0xc], eax
pop eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, eax
inc ecx
mov eax, dword [esi]
inc al
inc esi
dec al
jne 0x40387d
dec ecx
mov dword [ebp - 0x10], ecx
mov eax, ecx
jne 0x401654
cmp edx, eax
jae 0x4038cc
push ebx
sub eax, dword [ebx + 0x406a6a83]
push 0xffffffffffffff89
inc eax
mov edi, edi
mov dword [ebx + 0xcc6a6a], eax
add byte [edx - 1], ch
mov ecx, dword [ecx - 0x7674bf77]
sub dword [edx - 0x7d], 0
or esp, 0
int3
add byte [ebx + 0x40ff896a], cl
or dword [ecx - 0x33769596], 0xffffffff
add byte [ebx - 0x337c7c75], cl
inc eax
add dword [eax], 0xffffffcc
add dword [eax], 0xffffff89
inc eax
or dword [ebx + 0x4000838b], 0xffffffff
inc eax
int3
push edi
mov dword [ebp - 8], edi
dec edi
mov eax, dword [edi + 0x3d]
dec edx
inc edi
and eax, edx
mov ecx, edi
add ecx, 0x77
inc eax
add eax, ecx
mov eax, dword [eax]
pop esi
mov edi, esi
add esi, eax
pop ecx
dec ecx
mov eax, dword [ecx + esi]
add edi, eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x40386d
inc eax
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x64], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
ret
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
jne 0x4019c1
and bh, byte [ecx + 1]
or eax, 0x20000
jmp 0x403acc
push 0x7d3
mov eax, ebx
call 0x405f63
add esp, 0xc
mov dword [edi + 0x54], 1
xor ebx, dword [edi + 0x5e]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8