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

Disassembly:
mov eax, dword [ebp - 0x78c]
add eax, 1
mov dword [ebp - 0x78c], eax
mov ecx, dword [ebp - 0x788]
mov edx, dword [ebp - 0x78c]
cmp edx, dword [ecx + 0x18]
jae 0x409a85
mov eax, dword [ebp - 0x78c]
mov ecx, dword [ebp - 0x19dc]
mov edx, dword [ebp - 0x39c]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x790], edx
mov eax, dword [ebp - 0x78c]
mov ecx, dword [ebp - 0x1d70]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x19e4]
dec dword [ebx - 0x39b73]
inc dword [ebx]
or al, 0x90
mov dword [ebp - 0x19e8], ecx
mov dword [ebp - 0x15c], 0
jmp 0x4098e9
mov edx, dword [ebp - 0x15c]
add edx, 1
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x790]
add eax, dword [ebp - 0x15c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40999b
mov edx, dword [ebp - 0x15c]
movsx eax, byte [ebp + edx - 0x8cc]
test eax, eax
je 0x40999b
push edi
push ebx
add esp, 4
sub edi, 0x948b
or edi, 0xea24
pop edi
push esi
sub esi, 0xa1ec
add esi, 0x95bb
call 0x409944
add byte [0x3f42394f], dh
inc edx
inc edi
cmp ecx, dword [esi - 0x7d]
les eax, [esi + ebx*2]
mov ecx, dword [ebp - 0x790]
add ecx, dword [ebp - 0x15c]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x15c]
movsx ecx, byte [ebp + eax - 0x8cc]
cmp edx, ecx
je 0x40998d
mov edx, dword [ebp - 0x790]
add edx, dword [ebp - 0x15c]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x15c]
movsx edx, byte [ebp + ecx - 0x8cc]
cmp eax, edx
jne 0x409994
jmp 0x4098da
jmp 0x40999b
push esi
and esi, 0x7e20
or esi, 0xe695
xor esi, 0x4b20
sub esi, 0x18013
pop esi
push edi
push ebx
add esp, 4
sub edi, 0x7d94
pop edi
push edi
push ecx
add esp, 4
and edi, 0xb6e8
pop edi
mov eax, dword [ebp - 0x790]
add eax, dword [ebp - 0x15c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x15c]
movsx eax, byte [ebp + edx - 0x8cc]
cmp ecx, eax
jne 0x4099fa
mov dword [ebp - 0xcf0], 0
jmp 0x409a69
push edi
or edi, 0x1109e
pop edi
push edx
add edx, 0x16627
call 0x409a19
add byte [esi], dh
dec ebp
dec eax
dec esi
cmp al, byte [ecx + 0x40]
cmp al, 0x35
add esp, 4
jmp 0x409a24
jmp 0x409a2b
pop edx
mov ecx, dword [ebp - 0x790]
add ecx, dword [ebp - 0x15c]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x15c]
movsx ecx, byte [ebp + eax - 0x8cc]
or ecx, 0x20
cmp edx, ecx
jge 0x409a5f
mov dword [ebp - 0xcf0], 0xffffffff
jmp 0x409a69
mov dword [ebp - 0xcf0], 1
cmp dword [ebp - 0xcf0], 0
jne 0x409a80
mov edx, dword [ebp - 0x19e8]
mov dword [ebp - 0x40c], edx
jmp 0x409a91
jmp 0x40986a
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
je 0x409b6c
push ecx
sub ecx, 0x1555b
and ecx, 0x8212
sub ecx, 0xf433
xor ecx, 0x103ff
pop ecx
push ecx
push esi
add esp, 4
sub ecx, 0xf0d
and ecx, 0x13470
or ecx, 0x2e92
pop ecx
mov ecx, dword [ebp - 0x40c]
mov dword [ebp - 0x19ec], ecx
push eax
push ecx
add esp, 4
jmp 0x409ae7
xor eax, 0xa87a
xor eax, 0x2df7
xor eax, 0x1222b
pop eax
push ecx
sub ecx, 0x49ed
pop ecx
push esi
push eax
add esp, 4
sub esi, 0x1892
pop esi
mov edx, dword [ebp - 0x19ec]
mov dword [ebp - 0x19f0], edx
lea eax, [ebp - 0x1770]
push eax
call dword [ebp - 0x19f0]
test eax, eax
jne 0x409b6c
push ebx
and ebx, 0x15959
pop ebx
push edx
push edx
add esp, 4
sub edx, 0xe893
xor edx, 0x17025
or edx, 0x112f5
pop edx
push edx
push edi
add esp, 4
add edx, 0xce56
or edx, 0xa6a
pop edx
mov dword [ebp - 0xa80], 0
jmp 0x40a257
push esi
push edx
add esp, 4
and esi, 0x13522
xor esi, 0xfdf8
and esi, 0x119e5
pop esi
push edx
sub edx, 0x7a8f
pop edx
push esi
push esi
add esp, 4
add esi, 0x14e7c
add esi, 0x11f2c
pop esi
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x19f4], ecx
mov edx, dword [ebp - 0x19f4]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x19f8], eax
mov ecx, dword [ebp - 0x19f8]
mov dword [ebp - 0x16a8], ecx
push edi
push edi
add esp, 4
add edi, 0x16df9
xor edi, 0x1e27
sub edi, 0x2177
pop edi
push ecx
and ecx, 0x2a83
or ecx, 0xd555
add ecx, 0x2ae0
sub ecx, 0x4c17
pop ecx
cmp dword [ebp - 0x16a8], 0
jne 0x409c10
mov dword [ebp - 0x2fc], 0
jmp 0x409eb7
mov edx, dword [ebp - 0x16a8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xcfc], ecx
push edi
add edi, 0x169ff
sub edi, 0x653
call 0x409c3e
add byte [edi], dh
inc esp
dec ebx
dec edi
inc esi
inc edx
dec eax
dec ecx
add esp, 4
pop edi
push esi
push esi
add esp, 4
and esi, 0x7ff9
or esi, 0x5ad8
pop esi
cmp dword [ebp - 0xcfc], 0
jne 0x409c6c
mov dword [ebp - 0x2fc], 0
jmp 0x409eb7
mov edx, dword [ebp - 0xcfc]
mov dword [ebp - 0x440], edx
push eax
push esi
add esp, 4
sub eax, 0x138ad
pop eax
push ecx
push edx
add esp, 4
add ecx, 0x9106
add ecx, 0x4676
or ecx, 0x2d27
pop ecx
push ebx
add ebx, 0x15865
sub ebx, 0x15c46
pop ebx
lea eax, [ebp - 0x1770]
mov dword [ebp - 0xcf8], eax
mov ecx, dword [ebp - 0x440]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcf4], edx
xor eax, eax
mov word [ebp - 0x1d0], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push ebx
push ebx
add esp, 4
add ebx, 0x6710
pop ebx
push ebx
push edx
add esp, 4
add ebx, 0x1594c
and ebx, 0xae8b
pop ebx
push edx
sub edx, 0x996e
sub edx, 0x803e
xor edx, 0x11ce1
pop edx
mov edx, dword [ebp - 0xcf4]
mov ax, word [edx]
mov word [ebp - 0x106e], ax
mov ecx, dword [ebp - 0xcf4]
add ecx, 2
mov dword [ebp - 0xcf4], ecx
mov dx, word [ebp - 0x106e]
mov word [ebp - 0x1d0], dx
mov eax, dword [ebp - 0xcf8]
mov cx, word [eax]
mov word [ebp - 0x1070], cx
mov edx, dword [ebp - 0xcf8]
add edx, 2
mov dword [ebp - 0xcf8], edx
mov ax, word [ebp - 0x1070]
mov word [ebp - 0x3c], ax
push ecx
add ecx, 0x124a
pop ecx
push eax
push esi
add esp, 4
xor eax, 0x97f8
sub eax, 0x119fc
add eax, 0x3796
call 0x409d8b
add byte [ecx + ecx*2], dh
xor eax, dword [ecx + 0x46]
inc edi
dec edx
dec edi
xor eax, 0x5804c483
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x409dac
movzx edx, word [ebp - 0x1d0]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x16b0], edx
jmp 0x409e06
movzx ecx, word [ebp - 0x1d0]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x409cd4
movzx eax, word [ebp - 0x1d0]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x409cd4
movzx edx, word [ebp - 0x1d0]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x409df0
mov dword [ebp - 0x16ac], 0xffffffff
jmp 0x409dfa
mov dword [ebp - 0x16ac], 1
mov ecx, dword [ebp - 0x16ac]
mov dword [ebp - 0x16b0], ecx
cmp dword [ebp - 0x16b0], 0
jne 0x409e4f
push edx
and edx, 0x6d36
jmp 0x409e1b
add edx, 0x15a4a
pop edx
push eax
push ecx
add esp, 4
jmp 0x409e2e
xor eax, 0x3e78
or eax, 0x17888
sub eax, 0x6d0d
pop eax
mov edx, dword [ebp - 0x440]
mov dword [ebp - 0x2fc], edx
jmp 0x409eb7
push ebx
push edi
add esp, 4
and ebx, 0x54ca
pop ebx
push edi
push esi
add esp, 4
xor edi, 0x2f89
pop edi
push ebx
jmp 0x409e6e
sub ebx, 0x13092
add ebx, 0x16110
sub ebx, 0x6efc
pop ebx
mov eax, dword [ebp - 0x440]
mov ecx, dword [eax]
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x440]
cmp edx, dword [ebp - 0xcfc]
je 0x409ead
mov eax, dword [ebp - 0x440]
cmp dword [eax + 0x30], 0
jne 0x409c78
mov dword [ebp - 0x2fc], 0
push esi
push ebx
add esp, 4
call 0x409ec9
add byte [edx + 0x4b], al
dec esi
dec esp
inc ebx
dec ebp
add esp, 4
and esi, 0x7b89
pop esi
push esi
xor esi, 0xfcbd
pop esi
push edi
sub edi, 0x134ea
or edi, 0x115f2
pop edi
mov ecx, dword [ebp - 0x2fc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x3a0], edx
push edi
add edi, 0x6412
jmp 0x409f06
sub edi, 0x15ad8
pop edi
push edi
push ebx
add esp, 4
xor edi, 0x11b1c
and edi, 0x59ce
jmp 0x409f23
and edi, 0x12121
pop edi
mov dword [ebp - 0x7a4], 0
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x16b4], eax
cmp dword [ebp - 0x16b4], 0
jne 0x409f5a
mov ecx, dword [ebp - 0x7a4]
mov dword [ebp - 0x43c], ecx
jmp 0x40a24b
mov edx, dword [ebp - 0x16b4]
mov eax, dword [ebp - 0x3a0]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x16b8], eax
jne 0x409f82
mov ecx, dword [ebp - 0x7a4]
mov dword [ebp - 0x43c], ecx
jmp 0x40a24b
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x16b8]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x16bc], edx
cmp dword [ebp - 0x16bc], 0
jne 0x409fb4
mov eax, dword [ebp - 0x7a4]
mov dword [ebp - 0x43c], eax
jmp 0x40a24b
mov ecx, dword [ebp - 0x3a0]
add ecx, dword [ebp - 0x16bc]
mov dword [ebp - 0x798], ecx
jne 0x409fd9
mov edx, dword [ebp - 0x7a4]
mov dword [ebp - 0x43c], edx
jmp 0x40a24b
mov eax, dword [ebp - 0x798]
mov ecx, dword [ebp - 0x3a0]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x19fc], ecx
mov edx, dword [ebp - 0x798]
mov eax, dword [ebp - 0x3a0]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x1a00], eax
mov ecx, dword [ebp - 0x798]
mov edx, dword [ebp - 0x3a0]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1a04], edx
mov dword [ebp - 0x79c], 0
jmp 0x40a033
mov eax, dword [ebp - 0x79c]
add eax, 1
mov dword [ebp - 0x79c], eax
mov ecx, dword [ebp - 0x798]
mov edx, dword [ebp - 0x79c]
cmp edx, dword [ecx + 0x18]
jae 0x40a23f
mov eax, dword [ebp - 0x79c]
mov ecx, dword [ebp - 0x19fc]
mov edx, dword [ebp - 0x3a0]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x7a0], edx
mov eax, dword [ebp - 0x79c]
mov ecx, dword [ebp - 0x1a00]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1a04]
mov ecx, dword [ebp - 0x3a0]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x1a08], ecx
mov dword [ebp - 0x158], 0
jmp 0x40a0a3
mov edx, dword [ebp - 0x158]
add edx, 1
mov dword [ebp - 0x158], edx
mov eax, dword [ebp - 0x7a0]
add eax, dword [ebp - 0x158]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40a155
mov edx, dword [ebp - 0x158]
movsx eax, byte [ebp + edx - 0x9f4]
test eax, eax
je 0x40a155
push edi
call 0x40a0de
add byte [eax + 0x4a], cl
cmp dword [edx + 0x47], eax
dec ebp
inc ecx
add esp, 4
pop edi
push esi
add esi, 0x71ab
or esi, 0x744e
or esi, 0x9ba9
pop esi
push eax
push esi
add esp, 4
add eax, 0x108d7
pop eax
mov ecx, dword [ebp - 0x7a0]
add ecx, dword [ebp - 0x158]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x158]
movsx ecx, byte [ebp + eax - 0x9f4]
cmp edx, ecx
je 0x40a147
mov edx, dword [ebp - 0x7a0]
add edx, dword [ebp - 0x158]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x158]
movsx edx, byte [ebp + ecx - 0x9f4]
cmp eax, edx
jne 0x40a14e
jmp 0x40a094
jmp 0x40a155
push edi
sub edi, 0x10ced
and edi, 0x155a8
or edi, 0x3d9a
xor edi, 0xca4f
pop edi
push ecx
push ebx
add esp, 4
xor ecx, 0x63e6
and ecx, 0x11c89
xor ecx, 0x2155
pop ecx
mov eax, dword [ebp - 0x7a0]
add eax, dword [ebp - 0x158]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x158]
movsx eax, byte [ebp + edx - 0x9f4]
cmp ecx, eax
jne 0x40a1b4
mov dword [ebp - 0xd00], 0
jmp 0x40a223
push edi
add edi, 0x6220
or edi, 0x67f6
xor edi, 0x3f80
pop edi
push edi
push edx
add esp, 4
add edi, 0x2b54
add edi, 0x128b3
or edi, 0xb68e
add edi, 0x17dd
pop edi
mov ecx, dword [ebp - 0x7a0]
add ecx, dword [ebp - 0x158]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x158]
movsx ecx, byte [ebp + eax - 0x9f4]
or ecx, 0x20
cmp edx, ecx
jge 0x40a219
mov dword [ebp - 0xd00], 0xffffffff
jmp 0x40a223
mov dword [ebp - 0xd00], 1
cmp dword [ebp - 0xd00], 0
jne 0x40a23a
mov edx, dword [ebp - 0x1a08]
mov dword [ebp - 0x43c], edx
jmp 0x40a24b
jmp 0x40a024
mov eax, dword [ebp - 0x7a4]
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0xa80], ecx
push esi
add esi, 0x132bd
sub esi, 0xbc4b
or esi, 0xbe19
pop esi
push edi
push ebx
add esp, 4
or edi, 0x16831
add edi, 0x51a3
and edi, 0xa7c4
xor edi, 0xdfa7
pop edi
mov edx, dword [ebp - 0xa80]
mov dword [ebp - 0x1a0c], edx
lea eax, [ebp - 0xd04]
push eax
push 0x40
mov ecx, dword [ebp - 0x16c0]
push ecx
mov edx, dword [ebp - 0x408]
push edx
call dword [ebp - 0x1a0c]
test eax, eax
jne 0x40a2fc
push ecx
and ecx, 0x79b0
jmp 0x40a2c4
call 0x40a2d2
add byte [ebx], bh
dec esi
xor eax, 0x384a4b32
inc eax
add esp, 4
or ecx, 0x8dd5
pop ecx
push edx
push edi
add esp, 4
xor edx, 0x3fd4
pop edx
mov eax, dword [ebp - 0x7ac]
mov dword [ebp - 0x1a10], eax
push 0
call dword [ebp - 0x1a10]
mov ecx, dword [ebp - 0x1a14]
mov dword [ebp - 0x7a8], ecx
jmp 0x40a319
mov edx, dword [ebp - 0x7a8]
add edx, 1
mov dword [ebp - 0x7a8], edx
mov eax, dword [ebp - 0x7a8]
cmp eax, dword [ebp - 0xae8]
jae 0x40a375
push ecx
sub ecx, 0x17ae8
add ecx, 0xe5e5
or ecx, 0xb90b
pop ecx
push esi
push ecx
add esp, 4
and esi, 0xfc2
xor esi, 0xf8e7
or esi, 0x31b9
jmp 0x40a358
pop esi
movzx ecx, byte [ebp - 0x3c2]
mov edx, dword [ebp - 0x7a8]
movsx eax, byte [edx]
sub eax, ecx
mov ecx, dword [ebp - 0x7a8]
mov byte [ecx], al
jmp 0x40a30a
mov edx, dword [ebp - 0xa80]
mov dword [ebp - 0x1a18], edx
lea eax, [ebp - 0xd04]
push eax
mov ecx, dword [ebp - 0xd04]
push ecx
mov edx, dword [ebp - 0x16c0]
push edx
mov eax, dword [ebp - 0x408]
push eax
call dword [ebp - 0x1a18]
test eax, eax
jne 0x40a3ed
push esi
push ebx
add esp, 4
add esi, 0xe718
sub esi, 0x13385
pop esi
push esi
and esi, 0xcc1f
pop esi
push ebx
push ecx
add esp, 4
sub ebx, 0xbe11
pop ebx
push edi
push eax
add esp, 4
xor edi, 0x6989
pop edi
mov ecx, dword [ebp - 0x7ac]
mov dword [ebp - 0x1a1c], ecx
push 0
call dword [ebp - 0x1a1c]
push ebx
or ebx, 0xcb39
add ebx, 0x16644
call 0x40a408
add byte [ebx], dh
cmp al, byte [edi + 0x49]
push eax
inc ebp
aas
inc edi
add esp, 4
call 0x40a41b
add byte [ecx + 0x4a], cl
dec edi
xor eax, 0x3b4f3839
cmp al, 0x83
les eax, [ebx + ebx*2]
push ecx
mov ecx, 0x10101010
pop ecx
push ecx
mov ecx, 0xffff01ff
pop ecx
push edi
push ecx
test ch, al
add eax, 0x4c3ce782
add dword [ecx], eax
pop edi
push ecx
push ebx
test ch, al
add eax, 0x9906e982
add dword [ecx], eax
or cl, 0x53
add word [ecx], ax
or cl, 0x76
jg 0x40a451
add dword [edx + 0x20c4be1], eax
loope 0x40a49e
or al, 2
add dword [ecx + 0x54], ebx
xor ah, 0x9e
dec ebx
add al, byte [ecx]
pop esp
push ecx
push ecx
test ch, al
add eax, 0xd447f182
add dword [ecx], eax
pop ecx
push edi
push esp
test ch, al
add eax, 0x82afef82
add dword [ecx], eax
xor bh, 0x5e
and al, 1
add dword [edi + 0x54], ebx
add ah, 0xe2
pop ecx
add dword [ecx], eax
xor ah, 0x34
cmp eax, dword [ecx]
add dword [edx + 0x1dab7cc], eax
add dword [edx + edx*2 - 0x17], ebx
or al, 1
add dword [ecx], eax
add dword [edx + 0x51], eax
dec eax
inc ebp
inc ebx
push eax
inc edi
inc esi
push eax
dec edx
test ch, al
add eax, 0x343906ec
inc ecx
xor al, 0x48
jmp 0x141a5ba