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

Disassembly:
xor ecx, ecx
mov word [ebp - 0x40], cx
push esi
sub esi, 0x135e9
and esi, 0xcd37
xor esi, 0x3dc5
call 0x407a84
add byte [ebx + 0x42], cl
inc ecx
inc edx
dec eax
dec esp
xor ecx, dword [ebx + 0x3e]
add esp, 4
pop esi
push esi
push edx
add esp, 4
or esi, 0x283c
pop esi
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 ecx
push eax
add esp, 4
and ecx, 0x150d4
and ecx, 0xeda6
pop ecx
push edx
push edx
add esp, 4
add edx, 0x16564
jmp 0x407b10
and edx, 0xeb33
add edx, 0x2bac
pop edx
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x407b3a
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x1684], edx
jmp 0x407b94
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x407a62
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x407a62
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x407b7e
mov dword [ebp - 0x1680], 0xffffffff
jmp 0x407b88
mov dword [ebp - 0x1680], 1
mov ecx, dword [ebp - 0x1680]
mov dword [ebp - 0x1684], ecx
cmp dword [ebp - 0x1684], 0
jne 0x407bdd
push ebx
push edx
add esp, 4
add ebx, 0x7a0e
add ebx, 0x16e9e
sub ebx, 0x15615
add ebx, 0x14edd
pop ebx
push ebx
xor ebx, 0x14711
add ebx, 0x8e32
and ebx, 0x681e
pop ebx
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x2fc], edx
jmp 0x407c45
push edx
add edx, 0x17c99
or edx, 0x133ca
pop edx
push ebx
push ebx
add esp, 4
and ebx, 0x11772
pop ebx
push esi
push eax
add esp, 4
xor esi, 0x15d75
and esi, 0x134a4
and esi, 0x16243
pop esi
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 0x407c3b
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x407a06
mov dword [ebp - 0x2fc], 0
push esi
sub esi, 0xcf0e
xor esi, 0xe9fe
add esi, 0x17cec
pop esi
push edi
push ebx
add esp, 4
jmp 0x407c63
add edi, 0x84bb
jmp 0x407c6e
pop edi
push eax
add eax, 0x353d
pop eax
mov ecx, dword [ebp - 0x2fc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x338], edx
push eax
sub eax, 0x16ce1
call 0x407c9c
add byte [0x4e3a423a], dh
dec eax
xor al, byte [esi + 0x41]
add esp, 4
pop eax
push edx
push edi
add esp, 4
add edx, 0x26f9
xor edx, 0x14e62
add edx, 0x1399e
pop edx
mov dword [ebp - 0x794], 0
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x1688], eax
cmp dword [ebp - 0x1688], 0
jne 0x407ce8
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x407fd9
mov edx, dword [ebp - 0x1688]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x168c], eax
jne 0x407d10
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x407fd9
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 0x407d42
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x520], eax
jmp 0x407fd9
mov ecx, dword [ebp - 0x338]
add ecx, dword [ebp - 0x1690]
mov dword [ebp - 0x788], ecx
jne 0x407d67
mov edx, dword [ebp - 0x794]
mov dword [ebp - 0x520], edx
jmp 0x407fd9
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 0x407dc1
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 0x407fcd
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 0x407e31
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 0x407ee3
mov edx, dword [ebp - 0x1a4]
movsx eax, byte [ebp + edx - 0x9d4]
test eax, eax
je 0x407ee3
push ecx
add ecx, 0x9926
or ecx, 0x13278
call 0x407e78
add byte [esi + esi + 0x37], al
push eax
xor al, 0x4a
dec esp
add esp, 4
pop ecx
push esi
push eax
add esp, 4
sub esi, 0x1317d
jmp 0x407e8f
pop esi
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 0x407ed5
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 0x407edc
jmp 0x407e22
jmp 0x407ee3
push edx
or edx, 0x18025
pop edx
push esi
push edx
add esp, 4
sub esi, 0x17bff
pop esi
push ebx
push eax
add esp, 4
sub ebx, 0x14018
pop ebx
push ecx
push esi
add esp, 4
add ecx, 0x100ab
xor ecx, 0x183ac
pop ecx
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 0x407f42
mov dword [ebp - 0xce4], 0
jmp 0x407fb1
push esi
add esi, 0x178d0
pop esi
push ebx
jmp 0x407f51
add ebx, 0xa1e8
pop ebx
push edi
and edi, 0x4b5f
or edi, 0x4e7b
xor edi, 0x173bc
pop edi
push edi
add edi, 0x9f7e
pop edi
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 0x407fa7
mov dword [ebp - 0xce4], 0xffffffff
jmp 0x407fb1
mov dword [ebp - 0xce4], 1
cmp dword [ebp - 0xce4], 0
jne 0x407fc8
mov edx, dword [ebp - 0x19d0]
mov dword [ebp - 0x520], edx
jmp 0x407fd9
jmp 0x407db2
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x520], eax
mov ecx, dword [ebp - 0x520]
mov dword [ebp - 0xab4], ecx
push edi
push edx
add esp, 4
xor edi, 0x717
pop edi
push ecx
xor ecx, 0x12258
add ecx, 0xc034
pop ecx
push eax
push esi
add esp, 4
sub eax, 0x8570
pop eax
push ecx
push esi
add esp, 4
add ecx, 0x1207c
pop ecx
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 0x40808a
push eax
add eax, 0xe554
sub eax, 0xe50a
or eax, 0x7f7
pop eax
push edi
push ecx
add esp, 4
sub edi, 0x69a8
xor edi, 0x1241e
xor edi, 0x5b03
or edi, 0x1246f
pop edi
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 0x4080a7
mov edx, dword [ebp - 0x798]
add edx, 1
mov dword [ebp - 0x798], edx
mov eax, dword [ebp - 0x798]
cmp eax, dword [ebp - 0xab8]
jae 0x408103
push ecx
push esi
add esp, 4
and ecx, 0xa245
sub ecx, 0x9744
pop ecx
push edi
push eax
add esp, 4
xor edi, 0x15792
and edi, 0x174a5
sub edi, 0x78a7
pop edi
push esi
xor esi, 0xad85
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 0x408098
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 0x40817b
push esi
push edi
add esp, 4
call 0x408147
add byte [edi + esi], bh
dec esi
xor al, byte [ecx + 0x36]
add esp, 4
or esi, 0x11516
pop esi
push ebx
jmp 0x40815a
and ebx, 0x179ad
add ebx, 0x2fe0
pop ebx
mov ecx, dword [ebp - 0x79c]
mov dword [ebp - 0x19e4], ecx
push 0
call dword [ebp - 0x19e4]
push ebx
push ebx
add esp, 4
add ebx, 0x10eff
xor ebx, 0x11cc4
add ebx, 0x942d
xor ebx, 0x121fa
pop ebx
push edx
call 0x4081a9
add byte [ebx], dh
inc eax
cmp eax, dword [edx + 0x3a]
dec ebp
dec edi
cmp al, byte [ebx + 0x525a04c4]
mov ecx, 0x10101010
pop edx
push ecx
mov ecx, 0xffff04ff
pop ecx
push edi
pop edx
xchg eax, ecx
or byte [ebp + 0x4dc50ef], al
add al, 0x5f
push ebp
push esi
xchg eax, ecx
or byte [ebp + 0x4e659cd], al
add al, 0x85
cmc
test eax, 0x5d040432
push esi
test esi, eax
xor dword [eax - 0xd397afc], eax
adc eax, 0xe6850404
mov eax, dword [0x5e04052b]
retf 0xb889