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

Disassembly:
inc esp
and al, 0x30
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x68], al
mov byte [esp + 0x69], al
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x5c], al
mov byte [esp + 0x5d], al
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x50], al
mov byte [esp + 0x51], al
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x80], al
mov byte [esp + 0x81], al
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], al
mov byte [esp + 0x45], al
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov byte [esp + 0x74], al
mov byte [esp + 0x75], al
mov dword [esp + 0x14], eax
cmp ebp, dword [0x4a8e90]
jg 0x401764
test ebp, ebp
jle 0x401764
mov ebx, ebp
shl ebx, 4
add ebx, dword [0x4a8ec4]
test ebx, ebx
je 0x4017c3
inc ebp
lea eax, [ebp - 1]
mov dword [0x4a8014], eax
mov edx, dword [ebx + 4]
mov eax, dword [edx]
movzx esi, word [eax + 8]
xor ecx, ecx
mov dword [esp + 0x34], 0
cmp si, 0x7f
je 0x4015e3
mov eax, edx
nop
mov edi, dword [eax + 4]
add eax, 4
inc ecx
cmp word [edi + 8], 0x7f
jne 0x4015d0
test ecx, ecx
jbe 0x4015e3
dec ecx
test si, si
jne case.0x40161f.8
mov esi, dword [edx]
mov eax, dword [esi]
cmp eax, 4
je 0x401670
cmp eax, 0xd
je 0x401741
cmp eax, 0xe
je 0x4016ec
cmp eax, 8
je 0x40176b
sub eax, 5
cmp eax, 0x1c
ja case.0x40161f.8
movzx ecx, byte [eax + 0x401994]
jmp dword [ecx*4 + 0x401954]
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42b049
sub dword [esp + 0x30], 1
jne 0x42b0fd
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
call fcn.0040e940
test eax, eax
je case.0x40161f.8
jmp 0x42b069
mov edi, dword [esp + 0x34]
xor eax, eax
test ax, ax
je 0x401693
mov esi, dword [edx + edi*4 + 4]
movzx eax, word [esi + 8]
inc edi
mov dword [esp + 0x34], edi
cmp ax, 0x7f
jne 0x401676
jmp 0x42b133
cmp dword [esi], 5
jne 0x40167b
mov ecx, dword [edx + ecx*4]
cmp word [ecx + 8], 0
jne 0x4016c5
cmp dword [ecx], 5
jne 0x4016c5
mov eax, dword [esp + 0x14]
inc dword [esp + 0x18]
mov dword [esp + 0x38], eax
inc eax
lea edi, [esp + 0x38]
lea esi, [esp + 0x54]
mov dword [esp + 0x14], eax
call fcn.00401090
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4 + 4]
inc ecx
cmp word [eax + 8], 0
jne case.0x40161f.8
mov eax, dword [eax]
cmp eax, 0x23
je case.0x40161f.8
jmp 0x42aff0
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42b049
dec dword [esp + 0x20]
dec dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
je 0x42afda
cmp byte [esp + 0x45], 0
jne 0x42afe4
mov eax, dword [esp + 0x40]
mov edi, dword [eax]
lea esi, [esp + 0x3c]
call fcn.0040c250
cmp dword [esp + 0x20], 0
jl 0x42b127
cmp dword [esp + 0x14], edi
je case.0x40161f.8
jmp 0x42b127
mov eax, dword [esp + 0x14]
inc dword [esp + 0x20]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x3c]
mov dword [esp + 0x14], eax
inc esp
and al, 0x14
call fcn.00401090
jmp case.0x40161f.8
xor ebx, ebx
jmp 0x4015a3
mov edx, dword [edx + 4]
cmp word [edx + 8], 0x7f
jne 0x42b037
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x18]
dec ebx
cmp dword [esp + 0x54], 0
mov dword [esp + 0x14], ebx
je 0x42afca
cmp byte [esp + 0x5d], 0
mov eax, dword [esp + 0x58]
jne 0x42afd2
mov edi, dword [eax]
lea esi, [esp + 0x54]
call fcn.0040c250
cmp dword [esp + 0x18], 0
jl 0x42b11e
cmp ebx, edi
je case.0x40161f.8
jmp 0x42b11e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
push ecx
push 0
call fcn.0040e940
test eax, eax
jne 0x42b069
cmp dword [esp + 0x30], eax
jne 0x42b0fd
lea eax, [esp + 0x6c]
call fcn.004014e0
lea eax, [esp + 0x3c]
call fcn.004014e0
lea eax, [esp + 0x78]
call fcn.004014e0
lea eax, [esp + 0x48]
call fcn.004014e0
lea eax, [esp + 0x54]
call fcn.004014e0
lea eax, [esp + 0x60]
call fcn.004014e0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov eax, dword [esp + 0x30]
inc eax
cmp eax, 1
jg 0x42b0fd
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push edx
push eax
jmp 0x40164e
mov edx, dword [edx + 4]
cmp word [edx + 8], 0x7f
jne 0x42b037
mov eax, dword [esp + 0x14]
inc dword [esp + 0x1c]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x6c]
mov dword [esp + 0x14], eax
call fcn.00401090
jmp case.0x40161f.8
mov eax, dword [esp + 0x14]
inc dword [esp + 0x24]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x78]
mov dword [esp + 0x14], eax
call fcn.00401090
jmp case.0x40161f.8
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x1c]
dec ebx
lea eax, [esp + 0x6c]
mov dword [esp + 0x14], ebx
call fcn.00410a70
test al, al
jne 0x42ae70
lea eax, [esp + 0x6c]
call fcn.00410a60
mov edi, dword [eax]
lea esi, [esp + 0x6c]
call fcn.0040c250
cmp dword [esp + 0x1c], 0
jl 0x42b109
cmp ebx, edi
je case.0x40161f.8
jmp 0x42b109
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42b049
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x24]
dec ebx
lea eax, [esp + 0x78]
mov dword [esp + 0x14], ebx
call fcn.00410a70
test al, al
jne 0x42ae78
lea eax, [esp + 0x78]
call fcn.00410a60
mov edi, dword [eax]
lea esi, [esp + 0x78]
call fcn.0040c250
cmp dword [esp + 0x24], 0
jl 0x42b115
cmp ebx, edi
je case.0x40161f.8
jmp 0x42b115
and al, 0xc
add dword [ebp + 4], esi
mov byte [edi + 0x2a], 1
mov ebp, dword [0x482318]
xor eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp byte [edi + 0x2a], bl
je 0x42ad38
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call fcn.0040eee0
cmp dword [esp + 0x24], ebx
je 0x42ad28
lea eax, [esp + 0x28]
push eax
call fcn.0040eea0
call eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40e5e0
push eax
call ebp
mov ax, word [esp + 0x28]
mov word [edi + 0x2c], ax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40e5f4
push eax
call ebp
pop esi
pop ebp
mov eax, edi
pop ebx
add esp, 0x15c
ret
inc dword [ecx]
mov byte [edi + 0x1d], 1
mov byte [edi + 0x1f], 1
mov byte [edi + 0x21], 1
jne 0x42ad3e
mov byte [edi + 0x1e], 1
jmp 0x42ad42
mov byte [edi + 0x20], 1
movzx eax, byte [esp - 0x67c009c]
shr eax, 6
and eax, 1
mov byte [edi + 0x2e], al
jmp 0x40e570
clc
loopne 0x42ad3e
dec edx
add byte [ebx], dh
pop ebp
pop ecx
ret 0xc
clc
loopne 0x42ada7
dec edx
add byte [ebx], dh
pop ebp
pop ecx
ret 0xc
jg 0x42ae58
test dword [ebx + 0x24398902], ecx
or cl, dl
adc al, 0xb9
xchg esp, eax
dec edx
add byte [ebx], dh
add dword [esp + 0x2c], ecx
dec esp
and al, 0x2c
mov dword [esp + 0x34], eax
add eax, ecx
lea edi, [esp + 0x34]
lea esi, [esp + 0x48]
mov dword [esp + 0x14], eax
call fcn.004010c0
jmp 0x4015b4
std
invalid
or cl, dl
adc al, 0xb9
xchg esp, eax
dec edx
add byte [ebx], dh
add dword [esp + 0x28], ecx
mov dword [esp + 0x34], eax
add eax, ecx
lea edi, [esp + 0x34]
lea esi, [esp + 0x60]
mov dword [esp + 0x14], eax
call fcn.004010c0
jmp 0x4015b4
dec eax
call fcn.00410a90
fidivr dword [eax]
lea esi, [esp + 0x48]
call 0x140c280
xor byte [esp + 0x2c], bh
add byte [edi], cl
mov word [eax], cs
mov dword [eax], 0xfdf3b16
test byte [ecx + 0x6a03fd66], ch
jmp [eax - 0x67]
pushal
call fcn.00410a90
fidivr dword [eax]
lea esi, [esp + 0x60]
call 0x140c280
xor byte [esp + 0x28], bh
add byte [edi], cl
mov word [eax], cs
mov dword [eax], 0xfdf3b16
test byte [edx + 0x66], al
std
add ebp, dword [edx - 1]
push 0x12eb00b3
jmp 0x7f9b08f
pushal
call fcn.00410aa0
test al, al
jne 0x7f9afcc
lea eax, [esp + 0x60]
call fcn.00410a90
mov edx, dword [esp + 0x14]
dec edx
cmp edx, dword [eax]
je 0x44015b4
std
add ebp, dword [edx - 1]
push 0xffffffffffffffff
push 0x12eb0098
jmp 0x132db08f
adc ch, cl
mov bh, 0
jmp 0x42afea
add al, 0x66
cmp dword [eax + 8], 0x7f
jne 0x2313379
out dx, al
add dword [ebx + 0x18247c], eax
cmp dword [esp + 0x18], 0
add byte [edi], cl
test ebx, eax
std
jne 0x44015b4
add ebp, dword [edx - 1]
push 0xffffffffffffffff
push 0x74
jmp 0x1643778f
mov edi, dword [esp + 0x14]
inc edi
jmp 0x401757
mov cl, 0x42
add dword [ebx + 0x1c247c], eax
jne 0x44015b4
cmp dword [esp + 0x24], 0
jne 0x44015b4
add byte [edi], cl
test dword [ebp - 3], esp
add eax, dword [ebx + 0x20247c]
cmp dword [esp + 0x20], 0
jne 0x44015b4
std
add ebp, dword [edx - 1]
push 0xffffffffffffffff
push 0xfffa5896
jmp 0x132db08f
xchg esi, eax
pop eax
cli
invalid
add al, 0x8b
dec eax
add al, 0xf
mov edi, 0x6a520a51
jb 0x42b05e
push ss
add byte [edi + 0x44a8b07], dh
movsx edx, word [ecx + 0xa]
push edx
push 0x72
jmp 0xfe87408f
push ebx
std
add ecx, dword [ebp - 0x17abdbbc]
dec edx
std
add ecx, dword [ebp - 0x179fdbbc]
inc ecx
std
jmp eax
std
add ecx, dword [ebp - 0x1787dbbc]
invalid
invalid