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

Disassembly:
mov eax, dword [ebp - 0x77c]
add eax, 1
mov dword [ebp - 0x77c], eax
mov ecx, dword [ebp - 0x778]
mov edx, dword [ebp - 0x77c]
cmp edx, dword [ecx + 0x18]
jae 0x407992
mov eax, dword [ebp - 0x77c]
mov ecx, dword [ebp - 0x19f4]
mov edx, dword [ebp - 0x3a4]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x780], edx
mov eax, dword [ebp - 0x77c]
mov ecx, dword [ebp - 0x19f8]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x19fc]
mov ecx, dword [ebp - 0x3a4]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x1a00], ecx
mov dword [ebp - 0x1a0], 0
jmp 0x4077f6
mov edx, dword [ebp - 0x1a0]
add edx, 1
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp - 0x780]
add eax, dword [ebp - 0x1a0]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4078a8
mov edx, dword [ebp - 0x1a0]
movsx eax, byte [ebp + edx - 0x8a4]
test eax, eax
je 0x4078a8
push esi
push esi
add esp, 4
and esi, 0x13753
or esi, 0x11687
or esi, 0x8caa
or esi, 0x9057
pop esi
push edx
and edx, 0x7ab9
add edx, 0xbf7a
sub edx, 0xc091
pop edx
mov ecx, dword [ebp - 0x780]
add ecx, dword [ebp - 0x1a0]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x1a0]
movsx ecx, byte [ebp + eax - 0x8a4]
cmp edx, ecx
je 0x40789a
mov edx, dword [ebp - 0x780]
add edx, dword [ebp - 0x1a0]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x1a0]
movsx edx, byte [ebp + ecx - 0x8a4]
cmp eax, edx
jne 0x4078a1
jmp 0x4077e7
jmp 0x4078a8
push ebx
push ebx
add esp, 4
and ebx, 0xccee
and ebx, 0x134db
sub ebx, 0x148c7
add ebx, 0x6c18
pop ebx
push ebx
or ebx, 0x2726
pop ebx
push eax
push eax
add esp, 4
xor eax, 0x3f37
pop eax
mov eax, dword [ebp - 0x780]
add eax, dword [ebp - 0x1a0]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x1a0]
movsx eax, byte [ebp + edx - 0x8a4]
cmp ecx, eax
jne 0x407907
mov dword [ebp - 0xcd4], 0
jmp 0x407976
push esi
and esi, 0xc557
xor esi, 0x2830
call 0x407922
add byte [edx + edi + 0x33], cl
cmp esi, dword [ebx]
inc esi
inc esp
cmp byte [ebx + 0xbe804c4], al
add byte [eax], al
add byte [eax], al
cmp eax, 0x483b3246
dec eax
dec ebx
push eax
inc eax
dec edi
add esp, 4
pop esi
mov ecx, dword [ebp - 0x780]
add ecx, dword [ebp - 0x1a0]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x1a0]
movsx ecx, byte [ebp + eax - 0x8a4]
or ecx, 0x20
cmp edx, ecx
jge 0x40796c
mov dword [ebp - 0xcd4], 0xffffffff
jmp 0x407976
mov dword [ebp - 0xcd4], 1
cmp dword [ebp - 0xcd4], 0
jne 0x40798d
mov edx, dword [ebp - 0x1a00]
mov dword [ebp - 0x3f8], edx
jmp 0x40799e
jmp 0x407777
mov eax, dword [ebp - 0x784]
mov dword [ebp - 0x3f8], eax
cmp dword [ebp - 0x3f8], 0
je 0x407a79
push ecx
add ecx, 0x16e4d
pop ecx
push ebx
push ecx
add esp, 4
or ebx, 0xb9b2
and ebx, 0x7512
pop ebx
push edi
jmp 0x4079ce
pop edi
push edx
add edx, 0x10b69
add edx, 0xd076
pop edx
mov ecx, dword [ebp - 0x3f8]
mov dword [ebp - 0x1a04], ecx
push ebx
push edx
add esp, 4
and ebx, 0xbbbd
or ebx, 0xb039
and ebx, 0x11cb
pop ebx
push edi
sub edi, 0x10ca2
pop edi
push ebx
call 0x407a17
add byte [eax + 0x3e], dl
cmp byte [ebp + 0x41], al
cmp byte [ebx - 0x7d], cl
les eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x1a04]
mov dword [ebp - 0x1a08], edx
lea eax, [ebp - 0x1738]
push eax
call dword [ebp - 0x1a08]
test eax, eax
jne 0x407a79
push ecx
or ecx, 0xfaf3
call 0x407a4e
add byte [ecx], bh
inc ebx
dec esi
cmp al, 0x4b
inc edx
dec edx
inc ebp
dec edi
add esp, 4
or ecx, 0x1038b
pop ecx
push ebx
push esi
add esp, 4
xor ebx, 0x147aa
and ebx, 0x4eeb
pop ebx
mov dword [ebp - 0xab4], 0
jmp 0x408164
push eax
push edx
add esp, 4
xor eax, 0x8ade
or eax, 0xd3ce
pop eax
push edi
or edi, 0x512
and edi, 0xb65c
jmp 0x407a9e
pop edi
push edx
push eax
add esp, 4
xor edx, 0xde4a
pop edx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x1a0c], ecx
mov edx, dword [ebp - 0x1a0c]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1a10], eax
mov ecx, dword [ebp - 0x1a10]
mov dword [ebp - 0x167c], ecx
push eax
push edx
add esp, 4
jmp 0x407adf
call 0x407aec
add byte [edi + esi + 0x41], al
dec edi
xor al, 0x39
inc ebp
add esp, 4
add eax, 0x2a2e
pop eax
push edx
push ebx
add esp, 4
jmp 0x407b04
pop edx
cmp dword [ebp - 0x167c], 0
jne 0x407b1d
mov dword [ebp - 0x2fc], 0
jmp 0x407dc4
mov edx, dword [ebp - 0x167c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xce0], ecx
push ebx
push eax
add esp, 4
or ebx, 0x14621
add ebx, 0x268c
add ebx, 0x15656
and ebx, 0x12723
pop ebx
push ebx
sub ebx, 0xe593
pop ebx
push edx
push edi
add esp, 4
add edx, 0xccbd
pop edx
cmp dword [ebp - 0xce0], 0
jne 0x407b79
mov dword [ebp - 0x2fc], 0
jmp 0x407dc4
mov edx, dword [ebp - 0xce0]
mov dword [ebp - 0x51c], edx
push eax
push ebx
add esp, 4
xor eax, 0x3788
pop eax
push ecx
or ecx, 0x146d0
and ecx, 0xb0f6
pop ecx
push ebx
push edi
add esp, 4
and ebx, 0x11d33
sub ebx, 0x130c2
sub ebx, 0xf6cf
pop ebx
lea eax, [ebp - 0x1738]
mov dword [ebp - 0xcdc], eax
mov ecx, dword [ebp - 0x51c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcd8], edx
xor eax, eax
mov word [ebp - 0x224], ax
xor ecx, ecx
mov word [ebp - 0x40], cx
push edx
jmp 0x407be8
xor edx, 0x112b0
pop edx
push edi
push eax
add esp, 4
and edi, 0x9974
pop edi
push ecx
push edi
add esp, 4
sub ecx, 0x152bf
or ecx, 0x14c79
and ecx, 0x4c45
pop ecx
mov edx, dword [ebp - 0xcd8]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xcd8]
add ecx, 2
mov dword [ebp - 0xcd8], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x224], dx
mov eax, dword [ebp - 0xcdc]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcdc]
add edx, 2
mov dword [ebp - 0xcdc], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x40], ax
push edx
or edx, 0x176b4
call 0x407c80
add byte [eax + 0x42], al
cmp dword [eax + 0x47], eax
aas
cmp ecx, dword [esp + ecx*2 - 0x7d]
les eax, [eax + ebp*8]
or al, byte [eax]
add byte [eax], al
add byte [ecx + 0x35], cl
dec edi
aas
xor eax, 0x483d3f3d
add esp, 4
and edx, 0x148ea
pop edx
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x407cb9
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x1684], edx
jmp 0x407d13
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x407be1
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x407be1
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x407cfd
mov dword [ebp - 0x1680], 0xffffffff
jmp 0x407d07
mov dword [ebp - 0x1680], 1
mov ecx, dword [ebp - 0x1680]
mov dword [ebp - 0x1684], ecx
cmp dword [ebp - 0x1684], 0
jne 0x407d5c
push ebx
sub ebx, 0x152fa
pop ebx
push edi
push ecx
add esp, 4
add edi, 0x79e8
add edi, 0x152cc
jmp 0x407d3b
add edi, 0x232f
pop edi
push edx
push edx
add esp, 4
or edx, 0x3d0
pop edx
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x2fc], edx
jmp 0x407dc4
push edx
push edx
add esp, 4
xor edx, 0x411e
xor edx, 0x34b
add edx, 0x8f37
sub edx, 0x3216
pop edx
push eax
xor eax, 0x17299
and eax, 0x17636
add eax, 0x57f
pop eax
mov eax, dword [ebp - 0x51c]
mov ecx, dword [eax]
mov dword [ebp - 0x51c], ecx
mov edx, dword [ebp - 0x51c]
cmp edx, dword [ebp - 0xce0]
je 0x407dba
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x407b85
mov dword [ebp - 0x2fc], 0
push ebx
call 0x407dd4
add byte [ebx + 0x4e], al
dec esp
xor al, byte [esi + 0x3f]
cmp eax, dword [ebx + 0x4a]
add esp, 4
sub ebx, 0x16c69
pop ebx
push ecx
push edi
add esp, 4
add ecx, 0x46e8
or ecx, 0x1648a
xor ecx, 0xeee9
pop ecx
mov ecx, dword [ebp - 0x2fc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x338], edx
push esi
jmp 0x407e0c
add esi, 0x4e48
add esi, 0x172c7
add esi, 0x7ecf
pop esi
push edx
push edx
add esp, 4
add edx, 0x99b8
add edx, 0xa0bd
or edx, 0xb11d
pop edx
mov dword [ebp - 0x794], 0
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x1688], eax
cmp dword [ebp - 0x1688], 0
jne 0x407e67
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x408158
mov edx, dword [ebp - 0x1688]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x168c], eax
jne 0x407e8f
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x408158
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x168c]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1690], edx
cmp dword [ebp - 0x1690], 0
jne 0x407ec1
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x520], eax
jmp 0x408158
mov ecx, dword [ebp - 0x338]
add ecx, dword [ebp - 0x1690]
mov dword [ebp - 0x788], ecx
jne 0x407ee6
mov edx, dword [ebp - 0x794]
mov dword [ebp - 0x520], edx
jmp 0x408158
mov eax, dword [ebp - 0x788]
mov ecx, dword [ebp - 0x338]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x1a14], ecx
mov edx, dword [ebp - 0x788]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x1a18], eax
mov ecx, dword [ebp - 0x788]
mov edx, dword [ebp - 0x338]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1a1c], edx
mov dword [ebp - 0x78c], 0
jmp 0x407f40
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 0x40814c
mov eax, dword [ebp - 0x78c]
mov ecx, dword [ebp - 0x1a14]
mov edx, dword [ebp - 0x338]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x790], edx
mov eax, dword [ebp - 0x78c]
mov ecx, dword [ebp - 0x1a18]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1a1c]
mov ecx, dword [ebp - 0x338]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x1a20], ecx
mov dword [ebp - 0x1a4], 0
jmp 0x407fb0
mov edx, dword [ebp - 0x1a4]
add edx, 1
mov dword [ebp - 0x1a4], edx
mov eax, dword [ebp - 0x790]
add eax, dword [ebp - 0x1a4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x408062
mov edx, dword [ebp - 0x1a4]
movsx eax, byte [ebp + edx - 0x9d4]
test eax, eax
je 0x408062
push ecx
push ecx
add esp, 4
call 0x407ff0
add byte [ebx + 0x4c], al
inc ebx
inc ebx
dec esi
inc edi
dec eax
cmp byte [ebx + 0x505904c4], al
push esi
add esp, 4
or eax, 0x825b
call 0x40800b
add byte [ecx + 0x3a], cl
push eax
xor dh, byte [esi]
inc ebp
add esp, 4
pop eax
mov ecx, dword [ebp - 0x790]
add ecx, dword [ebp - 0x1a4]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x1a4]
movsx ecx, byte [ebp + eax - 0x9d4]
cmp edx, ecx
je 0x408054
mov edx, dword [ebp - 0x790]
add edx, dword [ebp - 0x1a4]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x1a4]
movsx edx, byte [ebp + ecx - 0x9d4]
cmp eax, edx
jne 0x40805b
jmp 0x407fa1
jmp 0x408062
push eax
push ebx
add esp, 4
sub eax, 0x9870
and eax, 0x83a
pop eax
push edx
push ecx
add esp, 4
or edx, 0x153ed
xor edx, 0xfd64
or edx, 0x155d6
jmp 0x408093
pop edx
mov eax, dword [ebp - 0x790]
add eax, dword [ebp - 0x1a4]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x1a4]
movsx eax, byte [ebp + edx - 0x9d4]
cmp ecx, eax
jne 0x4080c1
mov dword [ebp - 0xce4], 0
jmp 0x408130
push edx
push edx
add esp, 4
jmp 0x4080cf
pop edx
push ecx
push ecx
add esp, 4
sub ecx, 0x15ea1
pop ecx
push ebx
add ebx, 0x11c3e
call 0x4080ef
add byte [ecx + 0x41], al
cmp esi, dword [esi]
xor al, 0x3f
add esp, 4
pop ebx
mov ecx, dword [ebp - 0x790]
add ecx, dword [ebp - 0x1a4]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x1a4]
movsx ecx, byte [ebp + eax - 0x9d4]
or ecx, 0x20
cmp edx, ecx
jge 0x408126
mov dword [ebp - 0xce4], 0xffffffff
jmp 0x408130
mov dword [ebp - 0xce4], 1
cmp dword [ebp - 0xce4], 0
jne 0x408147
mov edx, dword [ebp - 0x1a20]
mov dword [ebp - 0x520], edx
jmp 0x408158
jmp 0x407f31
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x520], eax
mov ecx, dword [ebp - 0x520]
mov dword [ebp - 0xab4], ecx
push ebx
add ebx, 0x1216a
add ebx, 0x55ca
pop ebx
push edx
push ebx
add esp, 4
jmp 0x40817e
or edx, 0x13358
pop edx
push eax
jmp 0x40818f
sub eax, 0xb4ad
pop eax
mov edx, dword [ebp - 0xab4]
mov dword [ebp - 0x1a24], edx
lea eax, [ebp - 0xce8]
push eax
push 0x40
mov ecx, dword [ebp - 0x1694]
push ecx
mov edx, dword [ebp - 0x3e8]
push edx
call dword [ebp - 0x1a24]
test eax, eax
jne 0x408209
push ecx
sub ecx, 0x4ca4
pop ecx
push esi
push esi
add esp, 4
call 0x4081de
add byte [edi], bh
cmp eax, 0x3d384843
inc ecx
add esp, 4
add esi, 0x5bdc
pop esi
push ebx
push eax
add esp, 4
jmp 0x4081f4
pop ebx
mov eax, dword [ebp - 0x79c]
mov dword [ebp - 0x1a28], eax
push 0
call dword [ebp - 0x1a28]
mov ecx, dword [ebp - 0x1a2c]
mov dword [ebp - 0x798], ecx
jmp 0x408226
mov edx, dword [ebp - 0x798]
add edx, 1
mov dword [ebp - 0x798], edx
mov eax, dword [ebp - 0x798]
cmp eax, dword [ebp - 0xab8]
jae 0x408282
push edx
push ecx
add esp, 4
and edx, 0x4ea4
pop edx
push edx
push ebx
add esp, 4
jmp 0x40824b
call 0x40825a
add byte [eax + 0x43], cl
cmp dword [edx + esi + 0x3f], ecx
cmp al, 0x4f
aaa
add esp, 4
pop edx
push eax
add eax, 0x67d3
pop eax
movzx ecx, byte [ebp - 0x3ae]
mov edx, dword [ebp - 0x798]
movsx eax, byte [edx]
sub eax, ecx
mov ecx, dword [ebp - 0x798]
mov byte [ecx], al
jmp 0x408217
mov edx, dword [ebp - 0xab4]
mov dword [ebp - 0x1a30], edx
lea eax, [ebp - 0xce8]
push eax
mov ecx, dword [ebp - 0xce8]
push ecx
mov edx, dword [ebp - 0x1694]
push edx
mov eax, dword [ebp - 0x3e8]
push eax
call dword [ebp - 0x1a30]
test eax, eax
jne 0x4082fa
push esi
push ebx
add esp, 4
jmp 0x4082be
add esi, 0xe5a8
pop esi
push edi
or edi, 0x14f54
or edi, 0x9f7f
call 0x4082e2
add byte [edi + 0x3c], al
inc eax
inc ecx
dec ebx
dec ebp
dec eax
cmp dword [ecx + 0x3b], ecx
add esp, 4
pop edi
mov ecx, dword [ebp - 0x79c]
mov dword [ebp - 0x1a34], ecx
push 0
call dword [ebp - 0x1a34]
push edi
sub edi, 0x183c6
pop edi
push eax
push eax
add esp, 4
call 0x408316
add byte [ebp + 0x3c], al
inc esi
dec eax
inc ebx
cmp dword [eax], edi
cmp dword [ebx + 0x4eb04c4], eax
cmp eax, 0x81464a4f
rol byte [esi], 0x2f
add dword [eax], eax
or eax, 0xc469
pop eax
push edx
mov ecx, 0x10101010
pop edx
push ecx
mov ecx, 0xffff07ff
pop ecx
pop edx
out dx, eax
sysret