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

Disassembly:
cmp dword [ebp - 0x1570], 0
jne 0x40a953
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], eax
jmp 0x40abea
mov ecx, dword [ebp - 0x300]
add ecx, dword [ebp - 0x1570]
mov dword [ebp - 0x714], ecx
jne 0x40a978
mov edx, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], edx
jmp 0x40abea
mov eax, dword [ebp - 0x714]
mov ecx, dword [ebp - 0x300]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x18e0], ecx
mov edx, dword [ebp - 0x714]
mov eax, dword [ebp - 0x300]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x18e4], eax
mov ecx, dword [ebp - 0x714]
mov edx, dword [ebp - 0x300]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x18e8], edx
mov dword [ebp - 0x718], 0
jmp 0x40a9d2
mov ecx, dword [ebp - 0x714]
mov edx, dword [ebp - 0x718]
cmp edx, dword [ecx + 0x18]
jae 0x40abde
mov eax, dword [ebp - 0x718]
mov ecx, dword [ebp - 0x18e0]
mov edx, dword [ebp - 0x300]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x71c], edx
mov eax, dword [ebp - 0x718]
mov ecx, dword [ebp - 0x18e4]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x18e8]
mov ecx, dword [ebp - 0x300]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x18ec], ecx
mov dword [ebp - 0x188], 0
jmp 0x40aa42
invalid
mov eax, dword [ebp - 0x71c]
add eax, dword [ebp - 0x188]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40aaf4
mov edx, dword [ebp - 0x188]
movsx eax, byte [ebp + edx - 0x830]
idiv edi
inc dword [ebp - 0x7a7bf040]
add byte [eax], al
invalid
push edx
push edx
add esp, 4
sub edx, 0x13443
call fcn.0040aa87
add byte [eax + ecx*2], dh
inc edi
dec edx
dec edi
cmp byte [eax - 0x7d], cl
add esp, 4
call fcn.0040aa97
add byte [edi], bh
aaa
cmp al, 0x37
cmp eax, 0xc4833950
cmp dword [ebx - 0x3d7efb3c], eax
invalid
cmpsb byte [esi], byte es:[edi]
push edx
push edi
add esp, 4
add edx, 0x7b95
pop edx
push ecx
or ecx, 0x17efe
pop ecx
push eax
push edi
add esp, 4
add eax, 0x158b8
or eax, 0xd332
sub eax, 0x660f
sub eax, 0x1162
pop eax
mov eax, dword [ebp - 0x71c]
add eax, dword [ebp - 0x188]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x188]
movsx eax, byte [ebp + edx - 0x830]
cmp ecx, eax
jne 0x40ab53
mov dword [ebp - 0xc5c], 0
jmp 0x40abc2
push edx
and edx, 0x552e
pop edx
push esi
push edi
add esp, 4
or esi, 0x7c4d
pop esi
push ecx
or ecx, 0x2281
pop ecx
push ecx
or ecx, 0x19e8
add ecx, 0x1294d
pop ecx
push edx
or edx, 0x16344
pop edx
mov ecx, dword [ebp - 0x71c]
add ecx, dword [ebp - 0x188]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x188]
movsx ecx, byte [ebp + eax - 0x830]
or ecx, 0x20
cmp edx, ecx
jge 0x40abb8
mov dword [ebp - 0xc5c], 0xffffffff
jmp 0x40abc2
mov dword [ebp - 0xc5c], 1
cmp dword [ebp - 0xc5c], 0
jne 0x40abd9
mov edx, dword [ebp - 0x18ec]
mov dword [ebp - 0x3c8], edx
jmp 0x40abea
jmp 0x40a9c3
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], eax
cmp dword [ebp - 0x3c8], 0
je 0x40acc5
push esi
push edi
add esp, 4
and esi, 0x3715
pop esi
push ebx
or ebx, 0xf705
or ebx, 0x15429
pop ebx
push esi
push esi
add esp, 4
xor esi, 0x4ce7
pop esi
push eax
push ecx
add esp, 4
or eax, 0x12e2
pop eax
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x18f0], ecx
push edx
or edx, 0xa9fa
add edx, 0x12a8b
add edx, 0x12eb9
pop edx
push esi
push ebx
add esp, 4
jmp 0x40ac56
pop esi
push esi
add esi, 0x10b6f
pop esi
push esi
or esi, 0x15148
pop esi
mov edx, dword [ebp - 0x18f0]
mov dword [ebp - 0x18f4], edx
lea eax, [ebp - 0x1628]
push eax
call dword [ebp - 0x18f4]
test eax, eax
jne 0x40acc5
push eax
push eax
add esp, 4
xor eax, 0x14959
pop eax
push eax
push esi
add esp, 4
and eax, 0x18451
add dword [eax], eax
pop eax
push edi
xor edi, 0x9088
or edi, 0x661b
xor edi, 0xb775
xor edi, 0x134e4
pop edi
mov dword [ebp - 0xa58], 0
jmp 0x40b3b0
push ecx
push ecx
add esp, 4
xor ecx, 0x1554b
add ecx, 0x5d7a
pop ecx
push edx
push eax
add esp, 4
xor edx, 0x1bcd
add edx, 0x90e9
xor edx, 0x15f50
pop edx
push edx
xor edx, 0xfe2
pop edx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x18f8], ecx
mov edx, dword [ebp - 0x18f8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18fc], eax
mov ecx, dword [ebp - 0x18fc]
mov dword [ebp - 0x1574], ecx
push edi
push edi
add esp, 4
and edi, 0x10f63
jmp 0x40ad33
pop edi
push ecx
or ecx, 0x3aa5
or ecx, 0x11ff8
call 0x40ad4d
add byte [edi + 0x3a], cl
dec ebp
push eax
push eax
inc esp
add esp, 4
pop ecx
cmp dword [ebp - 0x1574], 0
jne 0x40ad69
mov dword [ebp - 0x2a8], 0
jmp 0x40b010
mov edx, dword [ebp - 0x1574]