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

Disassembly:
mov edx, dword [ebp - 0x7ac]
add edx, 1
mov dword [ebp - 0x7ac], edx
mov eax, dword [ebp - 0x7a8]
mov ecx, dword [ebp - 0x7ac]
cmp ecx, dword [eax + 0x18]
jae 0x40b937
mov edx, dword [ebp - 0x7ac]
mov eax, dword [ebp - 0x1d6c]
mov ecx, dword [ebp - 0x37c]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x728], ecx
mov edx, dword [ebp - 0x7ac]
mov eax, dword [ebp - 0x1d70]
loop 0x40b765
dec dword [edi]
mov bh, 0xc
push eax
mov edx, dword [ebp - 0x1d74]
mov edx, fs
invalid
dec dword [ebx - 0x37b7b]
inc dword [ebx]
add al, 0x8a
mov dword [ebp - 0x1d78], eax
mov dword [ebp - 0x168], 0
jmp 0x40b79b
mov ecx, dword [ebp - 0x168]
add ecx, 1
add dword [ecx - 0x16773], ecx
invalid
mov edx, dword [ebp - 0x728]
add edx, dword [ebp - 0x168]
movsx eax, byte [edx]
test eax, eax
je 0x40b84d
mov ecx, dword [ebp - 0x168]
movsx edx, byte [ebp + ecx - 0x8c4]
test edx, edx
je 0x40b84d
push edi
push ecx
add esp, 4
sub edi, 0xa54e
add edi, 0x8c69
pop edi
push esi
push edi
add esp, 4
sub esi, 0x815d
xor esi, 0x5b24
jmp 0x40b7f3
xor esi, 0x7941
pop esi
mov eax, dword [ebp - 0x728]
add eax, dword [ebp - 0x168]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x168]
movsx eax, byte [ebp + edx - 0x8c4]
cmp ecx, eax
je 0x40b83f
mov ecx, dword [ebp - 0x728]
add ecx, dword [ebp - 0x168]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x168]
movsx ecx, byte [ebp + eax - 0x8c4]
cmp edx, ecx
sal dword [ebp + 7], 1
jmp 0x40b78c
jmp 0x40b84d
push eax
add eax, 0xec79
pop eax
push edi
jmp 0x40b85c
xor edi, 0x6cf8
sub edi, 0xbcdc
pop edi
push ecx
push edx
add esp, 4
call 0x40b87b
add byte [0x34474c3c], bh
inc edi
xor al, 0x3f
inc esi
add esp, 4
pop ecx
mov edx, dword [ebp - 0x728]
add edx, dword [ebp - 0x168]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x168]
movsx edx, byte [ebp + ecx - 0x8c4]
cmp eax, edx
jne 0x40b8ac
mov dword [ebp - 0xd10], 0
jmp 0x40b91b
push ebx
push ebx
add esp, 4
add ebx, 0xc32d
and ebx, 0x1dcf
sub ebx, 0x3540
xor ebx, 0x146c9
pop ebx
push ecx
push ecx
add esp, 4
xor ecx, 0x511e
pop ecx
push esi
jmp 0x40b8dd
pop esi
mov eax, dword [ebp - 0x728]
add eax, dword [ebp - 0x168]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x168]
movsx eax, byte [ebp + edx - 0x8c4]
or eax, 0x20
cmp ecx, eax
jge 0x40b911
mov dword [ebp - 0xd10], 0xffffffff
jmp 0x40b91b
mov dword [ebp - 0xd10], 1
cmp dword [ebp - 0xd10], 0
jne 0x40b932
mov ecx, dword [ebp - 0x1d78]
mov dword [ebp - 0x3d0], ecx
jmp 0x40b943
jmp 0x40b71c
mov edx, dword [ebp - 0x7b4]
mov dword [ebp - 0x3d0], edx
cmp dword [ebp - 0x3d0], 0
je 0x40ba1e
push edi
push ebx
add esp, 4
or edi, 0x1fdd
pop edi
push ebx
jmp 0x40b963
add ebx, 0x6b70
pop ebx
push esi
push esi
add esp, 4
sub esi, 0x2106
add esi, 0xdc47
sub esi, 0xff8d
pop esi
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x1d7c], eax
push ebx
push edx
add esp, 4
xor ebx, 0xf596
pop ebx
push ebx
or ebx, 0xcee2
sub ebx, 0x104bb
pop ebx
push eax
push ebx
add esp, 4
or eax, 0xc904
jmp 0x40b9b9
xor eax, 0x12f5
pop eax
mov ecx, dword [ebp - 0x1d7c]
mov dword [ebp - 0x1d80], ecx
lea edx, [ebp - 0x16c0]
push edx
call dword [ebp - 0x1d80]
loop 0x40b9d7
invalid
test eax, eax
jne 0x40ba1e
push eax
push edi
add esp, 4
jmp 0x40b9e8
and eax, 0xe05d
xor eax, 0x1cf2
pop eax
push eax
add eax, 0x11c24
call 0x40ba0b
add byte [edi + 0x3c], cl
cmp dword [0x48353b33], esi
add esp, 4
pop eax
mov dword [ebp - 0xad4], 0
jmp 0x40c108
push eax
push edi
add esp, 4
or eax, 0xb77e
add eax, 0x1001f
and eax, 0x2e42
pop eax
push edx
push edi
add esp, 4
jmp 0x40ba41
pop edx
push eax
push ecx
add esp, 4
jmp 0x40ba4f
pop eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1d84], eax
mov ecx, dword [ebp - 0x1d84]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1d88], edx
mov eax, dword [ebp - 0x1d88]
mov dword [ebp - 0x1654], eax
push edi
push ecx
add esp, 4
jmp 0x40ba84
sub edi, 0x1419e
pop edi
push ebx
xor ebx, 0x17d38
call 0x40ba9f
add byte [edx + esi], bh
aaa
inc edi
cmp dl, byte [eax + 0x43]
add esp, 4
and ebx, 0xfa19
pop ebx
cmp dword [ebp - 0x1654], 0
jne 0x40bac1
mov dword [ebp - 0x2c0], 0
jmp 0x40bd68
mov ecx, dword [ebp - 0x1654]
mov edx, dword [ecx + 0xc]
push eax
push ecx
add esp, 4
add eax, 0x4c21
pop eax
push esi
push ebx
add esp, 4
add esi, 0x14cb9
pop esi
push edi
push ecx
add esp, 4
jmp 0x40bd8d
pop edi
push eax
push edx
add esp, 4
sub eax, 0x15ded
pop eax
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x338], ecx
push eax
call 0x40bdb7
add byte [ecx + ecx*2 + 0x41], al
dec edi
xor eax, 0xc4834f36
add al, 0x58
push edi
or edi, 0x86a3
jmp 0x40bdc8
call 0x40bdd7
add byte [ebx], dh
inc ecx
xor al, 0x50
inc ebx
inc esi
cmp dword [ebx], esi
add esp, 4
pop edi
mov dword [ebp - 0x7c4], 0
mov edx, dword [ebp - 0x338]
mov dword [ebp - 0x1660], edx
cmp dword [ebp - 0x1660], 0
jne 0x40be0b
mov eax, dword [ebp - 0x7c4]
mov dword [ebp - 0x518], eax
jmp 0x40c0fc
mov ecx, dword [ebp - 0x1660]
mov edx, dword [ebp - 0x338]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1664], edx
jne 0x40be33
mov eax, dword [ebp - 0x7c4]
mov dword [ebp - 0x518], eax
jmp 0x40c0fc
mov ecx, 8
imul edx, ecx, 0
rol dword [eax], 1
mov eax, dword [ebp - 0x1664]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1668], ecx
cmp dword [ebp - 0x1668], 0
jne 0x40be65
mov edx, dword [ebp - 0x7c4]
mov dword [ebp - 0x518], edx
jmp 0x40c0fc
mov eax, dword [ebp - 0x338]
add eax, dword [ebp - 0x1668]
mov dword [ebp - 0x7b8], eax
jne 0x40be8a
mov ecx, dword [ebp - 0x7c4]
mov dword [ebp - 0x518], ecx
invalid
invalid
jmp 0x40c0fc
mov edx, dword [ebp - 0x7b8]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1d8c], eax
mov ecx, dword [ebp - 0x7b8]
mov edx, dword [ebp - 0x338]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1d90], edx
mov eax, dword [ebp - 0x7b8]
mov ecx, dword [ebp - 0x338]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1d94], ecx
mov dword [ebp - 0x7bc], 0
jmp 0x40bee4
mov edx, dword [ebp - 0x7bc]
add edx, 1
mov dword [ebp - 0x7bc], edx
mov eax, dword [ebp - 0x7b8]
mov ecx, dword [ebp - 0x7bc]
cmp ecx, dword [eax + 0x18]
jae 0x40c0f0
mov edx, dword [ebp - 0x7bc]
mov eax, dword [ebp - 0x1d8c]
mov ecx, dword [ebp - 0x338]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x7c0], ecx
mov edx, dword [ebp - 0x7bc]
mov eax, dword [ebp - 0x1d90]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x1d94]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1d98], eax
mov dword [ebp - 0x16c], 0
jmp 0x40bf54
mov ecx, dword [ebp - 0x16c]
add ecx, 1
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x7c0]
add edx, dword [ebp - 0x16c]
movsx eax, byte [edx]
test eax, eax
je 0x40c006
mov ecx, dword [ebp - 0x16c]
movsx edx, byte [ebp + ecx - 0x9fc]
test edx, edx
je 0x40c006
push esi
push esi
add esp, 4
xor esi, 0x17f09
pop esi
push esi
and esi, 0x9cf2
call 0x40bfa4
add byte [edx + edi], dh
inc edi
cmp eax, 0x4135354e
dec ebp
add esp, 4
pop esi
push edx
push ebx
add esp, 4
jmp 0x40bfb2
pop edx
mov eax, dword [ebp - 0x7c0]
add eax, dword [ebp - 0x16c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x16c]
movsx eax, byte [ebp + edx - 0x9fc]
cmp ecx, eax
invalid
je 0x40bff8
mov ecx, dword [ebp - 0x7c0]
add ecx, dword [ebp - 0x16c]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x16c]
test dword [esi + edi*8 - 0x41f00001], edx
mov word [0xfffff604], es
cmp edx, ecx
jne 0x40bfff
jmp 0x40bf45
jmp 0x40c006
push edi
push ecx
add esp, 4
add edi, 0x179ee
call 0x40c020
add byte [ebx], bh
xor eax, 0x334a4033
cmp ecx, dword [edx + 0x32]
add esp, 4
pop edi
push ebx
and ebx, 0x436
xor ebx, 0x104c8
xor ebx, 0x865d
pop ebx
mov edx, dword [ebp - 0x7c0]
add edx, dword [ebp - 0x16c]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x16c]
movsx edx, byte [ebp + ecx - 0x9fc]
cmp eax, edx
jne 0x40c065
mov dword [ebp - 0xd20], 0
jmp 0x40c0d4
push eax
push edx
add esp, 4
jmp 0x40c071
pop eax
push edx
push edi
add esp, 4
and edx, 0x1535f
jmp 0x40c086
sub edx, 0xc7a6
pop edx
push eax
jmp 0x40c096
pop eax
mov eax, dword [ebp - 0x7c0]
add eax, dword [ebp - 0x16c]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x16c]
movsx eax, byte [ebp + edx - 0x9fc]
inc dword [ebx - 0x37c4df38]
jge 0x40c0ca
mov dword [ebp - 0xd20], 0xffffffff
jmp 0x40c0d4
mov dword [ebp - 0xd20], 1
cmp dword [ebp - 0xd20], 0
jne 0x40c0eb
mov ecx, dword [ebp - 0x1d98]
mov dword [ebp - 0x518], ecx
jmp 0x40c0fc
jmp 0x40bed5
mov edx, dword [ebp - 0x7c4]
mov dword [ebp - 0x518], edx
invalid
mov eax, dword [ebp - 0x518]
mov dword [ebp - 0xad4], eax
push edi
call 0x40c119
add byte [ebx], bh
inc edi
dec ebx
inc esp
dec eax
inc ebp
dec ebx
cmp dh, byte ds:[ebx + eax*4]
les eax, [eax + ebp*8]
or dword [eax], eax
add byte [eax], al
add byte [edi], dh
inc edi
inc ebx
inc edi
inc esp
add esp, 4
or edi, 0x5cd9
sub edi, 0x10393
pop edi
mov ecx, dword [ebp - 0xad4]
mov dword [ebp - 0x1d9c], ecx
lea edx, [ebp - 0xd24]
push edx
push 0x40
mov eax, dword [ebp - 0x166c]
push eax
mov ecx, dword [ebp - 0x3cc]
push ecx
call dword [ebp - 0x1d9c]
invalid
invalid
test eax, eax
jne 0x40c1ad
push ebx
xor ebx, 0xfa83
pop ebx
push edx
push esi
add esp, 4
or edx, 0x846b
xor edx, 0x382b
add byte [ecx + 0xb18aca], al
add byte [eax], al
and edx, 0x351e
pop edx
push eax
push esi
add esp, 4
or eax, 0x4f3c
pop eax
mov edx, dword [ebp - 0x7cc]
mov dword [ebp - 0x1da0], edx
push 0
call dword [ebp - 0x1da0]
mov eax, dword [ebp - 0x1da4]
mov dword [ebp - 0x7c8], eax
jmp 0x40c1ca
mov ecx, dword [ebp - 0x7c8]
add ecx, 1
mov dword [ebp - 0x7c8], ecx
mov edx, dword [ebp - 0x7c8]
cmp edx, dword [ebp - 0xad8]
jae 0x40c226
push eax
push edx
add esp, 4
or eax, 0xb961
mov ecx, 0xc0810000
pushfd
cmp byte [eax], al
add byte [ecx + 0xbfe5c8], al
add byte [eax + 0x52], bl
jmp 0x40c1f8
jmp 0x40c1fd
sub edx, 0x159c1
and edx, 0x6501
pop edx
movzx eax, byte [ebp - 0x39d]
mov ecx, dword [ebp - 0x7c8]
movsx edx, byte [ecx]
sub edx, eax
mov eax, dword [ebp - 0x7c8]
mov byte [eax], dl
jmp 0x40c1bb
mov ecx, dword [ebp - 0xad4]
mov dword [ebp - 0x1da8], ecx
lea edx, [ebp - 0xd24]
push edx
mov eax, dword [ebp - 0xd24]
push eax
mov ecx, dword [ebp - 0x166c]
push ecx
mov edx, dword [ebp - 0x3cc]
push edx
call dword [ebp - 0x1da8]
test eax, eax
jne 0x40c29e
push ebx
push ecx
add esp, 4
add ebx, 0xb94d
pop ebx
push edi
sub edi, 0xdbcc
add edi, 0xc7d6
jmp 0x40c279
call 0x40c286
add byte [eax + 0x4a], al
cmp dh, byte [edi]
dec ebx
cmp cl, byte [ecx - 0x7d]
les eax, [edi + ebx*2]
invalid
invalid
invalid
push ebx
push edx
add esp, 4
and ebx, 0xee94
pop ebx
push ebx