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

Disassembly:
add esp, 4
xor edx, 0x79c7
pop edx
push ecx
add ecx, 0x52f8
sub ecx, 0xb297
and ecx, 0xd048
pop ecx
push esi
push ecx
add esp, 4
and esi, 0x9da6
add esi, 0xd9bf
pop esi
mov dword [ebp - 0x794], 0
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x1688], eax
cmp dword [ebp - 0x1688], 0
jne 0x4130e0
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x4133d1
mov edx, dword [ebp - 0x1688]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x168c], eax
jne 0x413108
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x4133d1
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 0x41313a
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x520], eax
test eax, esp
cli
invalid
invalid
jmp 0x4133d1
mov ecx, dword [ebp - 0x338]
add ecx, dword [ebp - 0x1690]
mov dword [ebp - 0x788], ecx
jne 0x41315f
mov edx, dword [ebp - 0x794]
mov dword [ebp - 0x520], edx
jmp 0x4133d1
mov eax, dword [ebp - 0x788]
mov ecx, dword [ebp - 0x338]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x19c4], ecx
cmp al, 0xe6
invalid
dec dword [ebx - 0x7876b]
dec dword [ebx - 0x3377b]
inc dword [ebx]
inc edx
and al, 0x89
test dword [eax], edi
out 0xff, al
dec dword [ebx - 0x78773]
dec dword [ebx - 0x3376b]
inc dword [ebx]
push ecx
sbb al, 0x89
xchg ebp, eax
xor al, 0xe6
invalid
inc edi
test dword [eax + edi*8 - 1], esi
inc dword [eax]
add byte [eax], al
add bl, ch
invalid
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 0x4133c5
mov eax, dword [ebp - 0x78c]
mov ecx, dword [ebp - 0x19c4]
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 - 0x19c8]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x19cc]
mov ecx, dword [ebp - 0x338]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x19d0], ecx
mov dword [ebp - 0x1a4], 0
jmp 0x413229
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 0x4132db
mov edx, dword [ebp - 0x1a4]
movsx eax, byte [ebp + edx - 0x9d4]
test eax, eax
je 0x4132db
push esi
add esi, 0x15008
xor esi, 0x15b40
pop esi
push edx
xor edx, 0x95df
call 0x413278
add byte [ecx], bh
dec ebx
dec eax
cmp dh, byte [esi]
dec edx
dec esi
add esp, 4
and edx, 0x91cd
sub edx, 0x12450
pop edx
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 0x4132cd
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 0x4132d4
jmp 0x41321a
jmp 0x4132db
push ebx
push edx
add esp, 4
or ebx, 0xd8a5
jmp 0x4132ec
pop ebx
push edi
or edi, 0x6c5
pop edi
push edi
push eax
add esp, 4
or edi, 0x11f49
sub edi, 0x1215f
add edi, 0xc19f
pop edi
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 0x41333a
mov dword [ebp - 0xce4], 0
jmp 0x4133a9
push eax
or eax, 0x5a77
pop eax
push ecx
jmp 0x41334b
jmp 0x413351
xor ecx, 0x4fab
sub ecx, 0x6f97
pop ecx
push ebx
sub ebx, 0x14548
add ebx, 0x12f93
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 0x41339f
mov dword [ebp - 0xce4], 0xffffffff
jmp 0x4133a9
mov dword [ebp - 0xce4], 1
cmp dword [ebp - 0xce4], 0
jne 0x4133c0
mov edx, dword [ebp - 0x19d0]
mov dword [ebp - 0x520], edx
jmp 0x4133d1
jmp 0x4131aa
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x520], eax
mov ecx, dword [ebp - 0x520]
mov dword [ebp - 0xab4], ecx
push edx
push edi
add esp, 4
sub edx, 0x75c5
sub edx, 0x128af
sub edx, 0x4120
pop edx
push eax
push edi
add esp, 4
xor eax, 0x7d30
pop eax
push eax
xor eax, 0x112c0
and eax, 0xeae7
pop eax
mov edx, dword [ebp - 0xab4]
mov dword [ebp - 0x19d4], 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 - 0x19d4]
test eax, eax
jne 0x413482
push ecx
push esi
add esp, 4
xor ecx, 0xe7d
pop ecx
push ebx
sub ebx, 0x12dcb
sub ebx, 0x14308
xor ebx, 0x647f
call 0x41346a
add byte [eax + 0x49], dl
inc esi
cmp dh, byte [esp + edi]
inc esi
cmp al, 0x83
les eax, [ebx + ebx*2]
mov eax, dword [ebp - 0x79c]
mov dword [ebp - 0x19d8], eax
push 0
call dword [ebp - 0x19d8]
mov ecx, dword [ebp - 0x19dc]
mov dword [ebp - 0x798], ecx
jmp 0x41349f
mov edx, dword [ebp - 0x798]
add edx, 1
mov dword [ebp - 0x798], edx
mov eax, dword [ebp - 0x798]
cmp eax, dword [ebp - 0xab8]
jae 0x4134fb
push ecx
push edi
add esp, 4
add ecx, 0xc27
pop ecx
push ecx
and ecx, 0xb149
pop ecx
push esi
push esi
add esp, 4
and esi, 0x6668
add esi, 0x17a88
add esi, 0xda38
xor esi, 0x9b84
pop esi
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 0x413490
mov edx, dword [ebp - 0xab4]
mov dword [ebp - 0x19e0], 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 - 0x19e0]
test eax, eax
jne 0x413573
push ecx
push eax
add esp, 4
and ecx, 0x4bea
xor ecx, 0x3b14
add ecx, 0x256
sub ecx, 0x774e
pop ecx
push ecx
xor ecx, 0x15a25
sub ecx, 0x39c4
and ecx, 0xeda2
pop ecx
mov ecx, dword [ebp - 0x79c]
mov dword [ebp - 0x19e4], ecx
push 0
call dword [ebp - 0x19e4]
push eax
push edi
add esp, 4
sub eax, 0x7b32
add eax, 0x1d8a
pop eax
push ebx
jmp 0x41358d
call 0x41359b
add byte [esi], dh
xor al, 0x43
dec esp
dec ebx
inc edi
inc ebx
inc esi
add esp, 4
xor ebx, 0x10382
pop ebx
push edx
mov ecx, 0x10101010
pop edx
push ecx
mov ecx, 0xffff03ff
pop ecx
push esp
jmp 0x4135c4
xchg bh, al
pop es
out dx, al
push es
inc eax
inc ebx
cmp al, 0x84
hlt