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

Disassembly:
mov ebp, 0xffffe994
add byte [ebp + 0x11], dh
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x3f8], ecx
jmp 0x4076ca
cmp dword [ebp - 0x3f8], 0
je 0x4077a5
push ecx
add ecx, 0xfac7
add ecx, 0xb812
pop ecx
push ecx
push esi
add esp, 4
and ecx, 0x18643
or ecx, 0x1598d
jmp 0x4076ff
jmp 0x407708
pop ecx
mov ecx, dword [ebp - 0x3f8]
mov dword [ebp - 0x19b4], ecx
push ebx
jmp 0x40771e
sub ebx, 0x1c74
add ebx, 0xce58
or ebx, 0x46f5
pop ebx
push edx
or edx, 0x174d9
pop edx
push esi
and esi, 0xc947
add esi, 0x2bc7
pop esi
mov edx, dword [ebp - 0x19b4]
mov dword [ebp - 0x19b8], edx
lea eax, [ebp - 0x1738]
push eax
call dword [ebp - 0x19b8]
test eax, eax
jne 0x4077a5
push ecx
push ebx
add esp, 4
xor ecx, 0x11d6f
or ecx, 0x14f4e
xor ecx, 0x8b2f
pop ecx
push esi
push edi
add esp, 4
or esi, 0x5bbd
pop esi
push edi
jmp 0x40778f
or edi, 0xe257
pop edi
mov dword [ebp - 0xab4], 0
jmp 0x407e90
push ebx
push ebx
add esp, 4
xor ebx, 0x140ea
pop ebx
push edi
push ebx
add esp, 4
and edi, 0x6ca
sub edi, 0xfdda
add edi, 0xb8e6
sub edi, 0x8e12
pop edi
push eax
add eax, 0xe5c3
pop eax
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x19bc], ecx
mov edx, dword [ebp - 0x19bc]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x19c0], eax
mov ecx, dword [ebp - 0x19c0]
mov dword [ebp - 0x167c], ecx
push ebx
or ebx, 0xacb7
pop ebx
push eax
push edi
add esp, 4
and eax, 0x11c58
call 0x407821
add byte [edx + 0x3d], cl
inc esp
cmp byte [esi], dh
dec ebx
cmp dword [ecx + 0x48], eax
add esp, 4
jmp 0x40782a
add eax, 0x3e9b
pop eax
cmp dword [ebp - 0x167c], 0
jne 0x407849
mov dword [ebp - 0x2fc], 0
jmp 0x407af0
mov edx, dword [ebp - 0x167c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xce0], ecx
push edi
xor edi, 0xee10
xor edi, 0xf2e5
pop edi
push ebx
push edi
add esp, 4
sub ebx, 0x127e8
add ebx, 0x15384
xor ebx, 0x17252
pop ebx
push ebx
push edx
add esp, 4
sub ebx, 0xf0ac
pop ebx
cmp dword [ebp - 0xce0], 0
jne 0x4078a5
mov dword [ebp - 0x2fc], 0
jmp 0x407af0
mov edx, dword [ebp - 0xce0]
mov dword [ebp - 0x51c], edx
push eax
push edi
add esp, 4
and eax, 0x2b3f
sub eax, 0xcaaf
pop eax
push esi
xor esi, 0x8af8
sub esi, 0xa166
add esi, 0x1381e
pop esi
push eax
push eax
add esp, 4
or eax, 0x4db6
pop eax
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 ecx
call 0x40791c
add byte [0x3e3d3c3f], bh
aaa
aas
xor al, 0x83
les eax, [eax + ebp*8]
or eax, dword [eax]
add byte [eax], al
add byte [edx + esi], dh
inc edi
cmp al, 0x34
inc esi
cmp byte [esp + edi], dh
inc ecx
add esp, 4
or ecx, 0x10a6c
or ecx, 0x9e63
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 esi
push esi
add esp, 4
and esi, 0x154ce
pop esi
push esi
xor esi, 0xe0a4
or esi, 0xba2d
pop esi
push edx
push ecx
add esp, 4
and edx, 0xd5d
pop edx
push edi
push edx
add esp, 4
jmp 0x4079c7
pop edi
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x4079e5
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x1684], edx
jmp 0x407a3f
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x40790d
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x40790d
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x407a29
mov dword [ebp - 0x1680], 0xffffffff
jmp 0x407a33
mov dword [ebp - 0x1680], 1
mov ecx, dword [ebp - 0x1680]
mov dword [ebp - 0x1684], ecx
cmp dword [ebp - 0x1684], 0
jne 0x407a88
push ebx
and ebx, 0x8ddb
and ebx, 0xdec8
pop ebx
push edx
push ecx
add esp, 4
jmp 0x407a62
call 0x407a70
add byte [eax], bh
aas
inc esp
dec ebx
dec edx
push eax
inc ebp
inc esp
add esp, 4
xor edx, 0x60b5
pop edx
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x2fc], edx
jmp 0x407af0
push esi
xor esi, 0x6e97
jmp 0x407a97
pop esi
push esi
sub esi, 0x4c88
sub esi, 0xa068
pop esi
push edx
sub edx, 0xdf5a
and edx, 0x143a6
add edx, 0x24ae
pop edx
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 0x407ae6
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x4078b1
mov dword [ebp - 0x2fc], 0
push edi
push esi
add esp, 4
and edi, 0x9fb1
and edi, 0x10ae0
pop edi
push ecx
push ebx
add esp, 4
jmp 0x407b0f
and ecx, 0x53f5
sub ecx, 0x14138
sub ecx, 0xc7bf
pop ecx
mov ecx, dword [ebp - 0x2fc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x338], edx
push esi
push esi
add esp, 4
and esi, 0xb927
pop esi
push ecx
jmp 0x407b44
sub ecx, 0x13098
add ecx, 0x533f
pop ecx
push ebx
push edi
add esp, 4
add ebx, 0x1378a
sub ebx, 0x5d46
pop ebx
mov dword [ebp - 0x794], 0
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x1688], eax
cmp dword [ebp - 0x1688], 0
jne 0x407b93
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x407e84
mov edx, dword [ebp - 0x1688]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x168c], eax
jne 0x407bbb
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x407e84
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 0x407bed
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x520], eax
jmp 0x407e84
mov ecx, dword [ebp - 0x338]
add ecx, dword [ebp - 0x1690]
mov dword [ebp - 0x788], ecx
jne 0x407c12
mov edx, dword [ebp - 0x794]
mov dword [ebp - 0x520], edx
jmp 0x407e84
mov eax, dword [ebp - 0x788]
mov ecx, dword [ebp - 0x338]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x19c4], ecx
mov edx, dword [ebp - 0x788]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x19c8], eax
mov ecx, dword [ebp - 0x788]
mov edx, dword [ebp - 0x338]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x19cc], edx
mov dword [ebp - 0x78c], 0
jmp 0x407c6c
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 0x407e78
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 0x407cdc
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 0x407d8e
mov edx, dword [ebp - 0x1a4]
movsx eax, byte [ebp + edx - 0x9d4]
test eax, eax
je 0x407d8e
push eax
xor eax, 0x155a5
pop eax
push edx
push eax
add esp, 4
and edx, 0x2046
pop edx
push ebx
push ebx
add esp, 4
and ebx, 0x25bc
add ebx, 0xf991
jmp 0x407d33
jmp 0x407d3a
pop ebx
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 0x407d80
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 0x407d87
jmp 0x407ccd
jmp 0x407d8e
push edx
jmp 0x407d96
pop edx
push edx
push ecx
add esp, 4
xor edx, 0x117b4
add edx, 0x22c0
pop edx
push eax
push eax
add esp, 4
or eax, 0x13785
add eax, 0x254a
jmp 0x407dbf
pop eax
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 0x407ded
mov dword [ebp - 0xce4], 0
jmp 0x407e5c
push esi
push ecx
add esp, 4
add esi, 0x35e3
or esi, 0x18350
sub esi, 0xbd70
or esi, 0x4a4d
pop esi
push esi
and esi, 0x2c9f
add esi, 0xbab8
xor esi, 0x15ed2
pop esi
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 0x407e52
mov dword [ebp - 0xce4], 0xffffffff
jmp 0x407e5c
mov dword [ebp - 0xce4], 1
cmp dword [ebp - 0xce4], 0
jne 0x407e73
mov edx, dword [ebp - 0x19d0]
mov dword [ebp - 0x520], edx
jmp 0x407e84
jmp 0x407c5d
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x520], eax
mov ecx, dword [ebp - 0x520]
mov dword [ebp - 0xab4], ecx
push edi
call 0x407ea0
add byte [eax], bh
dec esp
aaa
dec edx
dec esi
dec ecx
inc esp
dec ebx
inc ecx
add esp, 4
pop edi
push ebx
push eax
add esp, 4
sub ebx, 0x11a5f
add ebx, 0x130f9
pop ebx
push ebx
push edx
add esp, 4
sub ebx, 0x180b8
pop ebx
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 0x407f35
push ebx
push eax
add esp, 4
call 0x407f00
add byte [ecx + 0x3b], cl
cmp byte [ebx + 0x42], cl
dec edx
add esp, 4
and ebx, 0x15cce
call 0x407f17
add byte [ebx + 0x45], cl
dec edx
cmp byte [edi + 0x46], cl
dec esp
add esp, 4
and ebx, 0x661c
pop ebx
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 0x407f52
mov edx, dword [ebp - 0x798]
add edx, 1
mov dword [ebp - 0x798], edx
mov eax, dword [ebp - 0x798]
cmp eax, dword [ebp - 0xab8]
jae 0x407fae
push eax
push ecx
add esp, 4
call 0x407f73
add byte [ebx + 0x49], cl
dec edi
inc esi
xor eax, dword [ecx + 0x3d]
inc edx
add esp, 4
sub eax, 0x1376d
jmp 0x407f82
call 0x407f8e
add byte [esi], dh
xor dl, byte [eax + 0x4c]
inc edi
add esp, 4
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 0x407f43
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 0x408026
push eax
push edx
add esp, 4
sub eax, 0x1613
pop eax
push edx
sub edx, 0x384
add edx, 0x124b0
call 0x408008
add byte [edi], bh
dec ebp
aaa
cmp dword [ebx], esi
inc esp
inc esp
inc esi
xor al, 0x83
les eax, [ecx + eax*4]
ljmp 0x8b5a
push edx
push ebx
add esp, 4
add edx, 0x2cf3
sub edx, 0x16520
add edx, 0xfc6e
jmp 0x408043
pop edx
push esi
push ecx
add esp, 4
add esi, 0x16dc8
pop esi
push esi
and esi, 0x1b75
pop esi
push edx
mov ecx, 0x10101010
pop edx
push ecx
mov ecx, 0xffff04ff
pop ecx
push edi
in al, dx
push cs
add al, 4
add al, 4
inc esi
cmp bh, byte [edx]
cmp eax, 0x42414f54
dec esi
xchg eax, ecx
or byte [ebp + 0x5391ef7], al
add al, 0x85
neg dword [edx + 0x51]
add eax, 0xa4ef8504
push esp
add eax, 0x565a5f04
xchg eax, ecx
or byte [ebp + 0x4eff4fa], al
add al, 0x62
retf 0xb889