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

Disassembly:
add esp, 4
pop edx
cmp dword [ebp - 0xc4c], 0
jne 0x407491
mov dword [ebp - 0x2a8], 0
jmp 0x4076dc
mov ecx, dword [ebp - 0xc4c]
mov dword [ebp - 0x4e4], ecx
push ebx
and ebx, 0x14bac
add ebx, 0x7557
sub ebx, 0x16061
or ebx, 0x8bea
pop ebx
push ecx
push esi
add esp, 4
and ecx, 0x16487
pop ecx
push edi
push edi
add esp, 4
or edi, 0xa197
pop edi
lea edx, [ebp - 0x1628]
mov dword [ebp - 0xc48], edx
mov eax, dword [ebp - 0x4e4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc44], ecx
xor edx, edx
mov word [ebp - 0x204], dx
xor eax, eax
mov word [ebp - 0x38], ax
push edx
and edx, 0x4b9b
pop edx
push edx
push esi
add esp, 4
or edx, 0x125eb
pop edx
push ebx
push eax
add esp, 4
and ebx, 0xc66
call 0x407527
add byte [edx], dh
dec edx
inc edx
dec ebx
inc edi
dec esp
xor cl, byte [ecx + 0x3a]
add esp, 4
pop ebx
mov ecx, dword [ebp - 0xc44]
mov dx, word [ecx]
mov word [ebp - 0xf8a], dx
mov eax, dword [ebp - 0xc44]
add eax, 2
mov dword [ebp - 0xc44], eax
mov cx, word [ebp - 0xf8a]
mov word [ebp - 0x204], cx
mov edx, dword [ebp - 0xc48]
mov ax, word [edx]
mov word [ebp - 0xf8c], ax
mov ecx, dword [ebp - 0xc48]
add ecx, 2
mov dword [ebp - 0xc48], ecx
mov dx, word [ebp - 0xf8c]
mov word [ebp - 0x38], dx
push edx
push ecx
add esp, 4
add edx, 0x8f7e
pop edx
push ebx
and ebx, 0x89ed
pop ebx
push ebx
push ecx
add esp, 4
and ebx, 0x8370
jmp 0x4075a8
or ebx, 0xce42
jmp 0x4075b3
pop ebx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x4075d1
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1514], ecx
jmp 0x40762b
movzx eax, word [ebp - 0x204]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x4074f9
movzx edx, word [ebp - 0x204]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x4074f9
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x407615
mov dword [ebp - 0x1510], 0xffffffff
jmp 0x40761f
mov dword [ebp - 0x1510], 1
mov eax, dword [ebp - 0x1510]
mov dword [ebp - 0x1514], eax
cmp dword [ebp - 0x1514], 0
jne 0x407674
push edi
add edi, 0x13a6b
xor edi, 0x1e1f
and edi, 0x16d1b
pop edi
push ecx
push edx
add esp, 4
and ecx, 0xb86a
xor ecx, 0x927b
xor ecx, 0x80ee
and ecx, 0xa7a
pop ecx
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x2a8], ecx
jmp 0x4076dc
push esi
push edx
add esp, 4
sub esi, 0x153fe
call 0x40768b
add byte [edi + 0x3f], al
dec ecx
cmp dword [ecx + 0x42], eax
add esp, 4
call 0x40769c
add byte [ecx + 0x4a], cl
cmp dword [eax + 0x4d], ecx
inc ebx
inc ebp
aas
add esp, 4
or esi, 0xe76b
pop esi
mov edx, dword [ebp - 0x4e4]
mov eax, dword [edx]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
cmp ecx, dword [ebp - 0xc4c]
je 0x4076d2
mov edx, dword [ebp - 0x4e4]
cmp dword [edx + 0x30], 0
jne 0x40749d
mov dword [ebp - 0x2a8], 0
push eax
push ecx
add esp, 4
xor eax, 0x16586
sub eax, 0x13b07
pop eax
push ecx
push ebx
add esp, 4
xor ecx, 0x16401
add ecx, 0x1154c
add ecx, 0x12115
pop ecx
push esi
add esi, 0x18373
pop esi
cmp dword [ebp - 0x2a8], 0
jne 0x408013
mov eax, 0x6b
mov word [ebp - 0x16e8], ax
mov ecx, 0x65
mov word [ebp - 0x16e6], cx
mov edx, 0x72
mov word [ebp - 0x16e4], dx
mov eax, 0x6e
mov word [ebp - 0x16e2], ax
mov ecx, 0x65
mov word [ebp - 0x16e0], cx
mov edx, 0x6c
mov word [ebp - 0x16de], dx
mov eax, 0x33
mov word [ebp - 0x16dc], ax
mov ecx, 0x32
mov word [ebp - 0x16da], cx
mov edx, 0x2e
mov word [ebp - 0x16d8], dx
mov eax, 0x64
mov word [ebp - 0x16d6], ax
mov ecx, 0x6c
mov word [ebp - 0x16d4], cx
mov edx, 0x6c
mov word [ebp - 0x16d2], dx
xor eax, eax
mov word [ebp - 0x16d0], ax
push edi
push edx
add esp, 4
call 0x4077c6
add byte [esi + 0x3c], cl
inc ecx
dec eax
push eax
dec edi
dec edi
add esp, 4
pop edi
push edi
push eax
add esp, 4
xor edi, 0xf9c4
jmp 0x4077dd
jmp 0x4077e5
pop edi
mov byte [ebp - 0x830], 0x4c
mov byte [ebp - 0x82f], 0x6f
mov byte [ebp - 0x82e], 0x61
mov byte [ebp - 0x82d], 0x64
mov byte [ebp - 0x82c], 0x4c
mov byte [ebp - 0x82b], 0x69
mov byte [ebp - 0x82a], 0x62
mov byte [ebp - 0x829], 0x72
mov byte [ebp - 0x828], 0x61
mov byte [ebp - 0x827], 0x72
mov byte [ebp - 0x826], 0x79
mov byte [ebp - 0x825], 0x57
mov byte [ebp - 0x824], 0
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x18d8], ecx
mov edx, dword [ebp - 0x18d8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18dc], eax
mov ecx, dword [ebp - 0x18dc]
mov dword [ebp - 0x1518], ecx
push esi
push edi
add esp, 4
add esi, 0x1bff
pop esi
push ecx
or ecx, 0x2c55
sub ecx, 0x11af2
and ecx, 0x18587
pop ecx
push esi
push ecx
add esp, 4
add esi, 0x1288c
and esi, 0xd8fb
pop esi
cmp dword [ebp - 0x1518], 0
jne 0x4078b3
mov dword [ebp - 0x710], 0
jmp 0x407b5a
mov edx, dword [ebp - 0x1518]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc58], ecx
push eax
push edi
add esp, 4
call 0x4078d7
add byte [esi + eax*2], bh
inc ebx
push eax
dec edx
dec esi
aaa
add esp, 4
pop eax
push ebx
add ebx, 0xcfc5
jmp 0x4078e7
and ebx, 0x15c89
jmp 0x4078f6
pop ebx
cmp dword [ebp - 0xc58], 0
jne 0x40790f
mov dword [ebp - 0x710], 0
jmp 0x407b5a
mov edx, dword [ebp - 0xc58]
mov dword [ebp - 0x4e8], edx
push esi
push esi
add esp, 4
add esi, 0x15047
xor esi, 0xcd89
or esi, 0x732d
pop esi
push eax
push ebx
add esp, 4
xor eax, 0x6b4
sub eax, 0x1600b
pop eax
push ecx
xor ecx, 0x3c52
pop ecx
lea eax, [ebp - 0x16e8]
mov dword [ebp - 0xc54], eax
mov ecx, dword [ebp - 0x4e8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc50], edx
xor eax, eax
mov word [ebp - 0x208], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push edx
sub edx, 0xcbb5
call 0x40798b
add byte [esi], bh
inc edx
inc ecx
xor eax, 0x8343323f
les eax, [edx + ebx*2]
push ebx
and ebx, 0xb321
add ebx, 0xddd8
and ebx, 0xf8b3
xor ebx, 0xcffc
pop ebx
mov edx, dword [ebp - 0xc50]
mov ax, word [edx]
mov word [ebp - 0xf8e], ax
mov ecx, dword [ebp - 0xc50]
add ecx, 2
mov dword [ebp - 0xc50], ecx
mov dx, word [ebp - 0xf8e]
mov word [ebp - 0x208], dx
mov eax, dword [ebp - 0xc54]
mov cx, word [eax]
mov word [ebp - 0xf90], cx
mov edx, dword [ebp - 0xc54]
add edx, 2
mov dword [ebp - 0xc54], edx
mov ax, word [ebp - 0xf90]
mov word [ebp - 0x3c], ax
push esi
push esi
add esp, 4
jmp 0x407a0a
add esi, 0x35d
pop esi
push esi
jmp 0x407a19
call 0x407a28
add byte [edi + 0x36], al
dec edx
aaa
dec esi
inc esi
dec ebp
xor al, byte [ebx - 0x317efb3c]
in eax, 0x2e
add dword [eax], eax
pop esi
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x407a4f
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1560], edx
jmp 0x407aa9
movzx ecx, word [ebp - 0x208]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x407977
movzx eax, word [ebp - 0x208]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x407977
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x407a93
mov dword [ebp - 0x151c], 0xffffffff
jmp 0x407a9d
mov dword [ebp - 0x151c], 1
mov ecx, dword [ebp - 0x151c]
mov dword [ebp - 0x1560], ecx
cmp dword [ebp - 0x1560], 0
jne 0x407af2
push edi
xor edi, 0xe5f
or edi, 0xc6a0
add edi, 0xec44
pop edi
push esi
push esi
add esp, 4
xor esi, 0x148c
xor esi, 0xac5
and esi, 0xb60c
jmp 0x407ae3
pop esi
mov edx, dword [ebp - 0x4e8]
mov dword [ebp - 0x710], edx
jmp 0x407b5a
push ecx
add ecx, 0x131b8
and ecx, 0xc4a6
call 0x407b0b
add byte [ebx + 0x3b], al
inc esi
aas
inc esp
cmp byte [ebx + 0x565904c4], al
push ebx
add esp, 4
jmp 0x407b1a
jmp 0x407b23
pop esi
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4e8]
cmp edx, dword [ebp - 0xc58]
je 0x407b50
mov eax, dword [ebp - 0x4e8]
cmp dword [eax + 0x30], 0
jne 0x40791b
mov dword [ebp - 0x710], 0
push edi
push ecx
add esp, 4
add edi, 0x1d6d
xor edi, 0x96ac
and edi, 0x8c42
pop edi
push edx
add edx, 0x14118
pop edx
push esi
push edx
add esp, 4
and esi, 0xa701
and esi, 0x44ad
pop esi
cmp dword [ebp - 0x710], 0
jne 0x407bd6
push ebx
push eax
add esp, 4
add ebx, 0x14cd1
xor ebx, 0x5d26
pop ebx
push ebx
push ecx
add esp, 4
and ebx, 0xa0fe
add ebx, 0x168bc
and ebx, 0xd876
jmp 0x407bc6
pop ebx
mov dword [ebp - 0xa58], 0
jmp 0x4086fe
push eax
call 0x407be4
add byte [eax + 0x4c], al
inc ecx
inc eax
inc ebx
inc eax
add esp, 4
or eax, 0x13386
or eax, 0x13f2b
pop eax
push edi
push edi
add esp, 4
xor edi, 0x17f97
pop edi
push ecx
add ecx, 0x5250
pop ecx
mov ecx, dword [ebp - 0x710]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x300], edx
mov dword [ebp - 0x720], 0
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x1564], eax
cmp dword [ebp - 0x1564], 0
jne 0x407c47
mov ecx, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], ecx
jmp 0x407f38
mov edx, dword [ebp - 0x1564]
mov eax, dword [ebp - 0x300]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1568], eax
jne 0x407c6f
mov ecx, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], ecx
jmp 0x407f38
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1568]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1570], edx
cmp dword [ebp - 0x1570], 0
jne 0x407ca1
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], eax
jmp 0x407f38
mov ecx, dword [ebp - 0x300]
add ecx, dword [ebp - 0x1570]
mov dword [ebp - 0x714], ecx
jne 0x407cc6
mov edx, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], edx
jmp 0x407f38
mov eax, dword [ebp - 0x714]
mov ecx, dword [ebp - 0x300]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x18e0], ecx
mov edx, dword [ebp - 0x714]
mov eax, dword [ebp - 0x300]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x18e4], eax
mov ecx, dword [ebp - 0x714]
mov edx, dword [ebp - 0x300]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x18e8], edx
mov dword [ebp - 0x718], 0
jmp 0x407d20
mov eax, dword [ebp - 0x718]
add eax, 1
mov dword [ebp - 0x718], eax
mov ecx, dword [ebp - 0x714]
mov edx, dword [ebp - 0x718]
cmp edx, dword [ecx + 0x18]
jae 0x407f2c
mov eax, dword [ebp - 0x718]
mov ecx, dword [ebp - 0x18e0]
mov edx, dword [ebp - 0x300]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x71c], edx
mov eax, dword [ebp - 0x718]
mov ecx, dword [ebp - 0x18e4]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x18e8]
mov ecx, dword [ebp - 0x300]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x18ec], ecx
mov dword [ebp - 0x188], 0
jmp 0x407d90
mov edx, dword [ebp - 0x188]
add edx, 1
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x71c]
add eax, dword [ebp - 0x188]
movsx ecx, byte [eax]
test ecx, ecx
je 0x407e42
mov edx, dword [ebp - 0x188]
movsx eax, byte [ebp + edx - 0x830]
test eax, eax
je 0x407e42
push eax
push esi
add esp, 4
sub eax, 5
and eax, 0x170a8
sub eax, 0x17b91
pop eax
push eax
xor eax, 0xd273
jmp 0x407de2
and eax, 0x104c4
or eax, 0xd58f
pop eax
mov ecx, dword [ebp - 0x71c]
add ecx, dword [ebp - 0x188]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x188]
movsx ecx, byte [ebp + eax - 0x830]
cmp edx, ecx
je 0x407e34
mov edx, dword [ebp - 0x71c]
add edx, dword [ebp - 0x188]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x188]
movsx edx, byte [ebp + ecx - 0x830]
cmp eax, edx
jne 0x407e3b
jmp 0x407d81
jmp 0x407e42
push ebx
jmp 0x407e49
sub ebx, 0xca96
pop ebx
push edi
xor edi, 0x102bc
pop edi
push edi
and edi, 0x5254
and edi, 0xf9fc
pop edi
push edx
add edx, 0x1544d
sub edx, 0xee1b
pop edx
mov eax, dword [ebp - 0x71c]
add eax, dword [ebp - 0x188]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x188]
movsx eax, byte [ebp + edx - 0x830]
cmp ecx, eax
jne 0x407ea1
mov dword [ebp - 0xc5c], 0
jmp 0x407f10
push eax
push ebx
add esp, 4
and eax, 0x30e7
add eax, 0x944e
sub eax, 0x8157
pop eax
push ebx
push edx
add esp, 4
xor ebx, 0x2645
xor ebx, 0x30f8
jmp 0x407ed2
pop ebx
mov ecx, dword [ebp - 0x71c]
add ecx, dword [ebp - 0x188]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x188]
movsx ecx, byte [ebp + eax - 0x830]
or ecx, 0x20
cmp edx, ecx
jge 0x407f06
mov dword [ebp - 0xc5c], 0xffffffff
jmp 0x407f10
mov dword [ebp - 0xc5c], 1
cmp dword [ebp - 0xc5c], 0
jne 0x407f27
mov edx, dword [ebp - 0x18ec]
mov dword [ebp - 0x3c8], edx
jmp 0x407f38
jmp 0x407d11
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], eax
cmp dword [ebp - 0x3c8], 0
je 0x408013
push esi
push ecx
add esp, 4
jmp 0x407f51
pop esi
push eax
push eax
add esp, 4
call 0x407f65
add byte [edx + edi + 0x47], al
cmp dword ds:[esi + 0x50], eax
inc ebx
add esp, 4
sub eax, 0x15802
jmp 0x407f76
pop eax
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x18f0], ecx
push edx
push edi
add esp, 4
jmp 0x407f90
and edx, 0x87c
pop edx
push edx
push edi
add esp, 4
and edx, 0x800b
add edx, 0x5ad6
sub edx, 0x60f7
add edx, 0x6c13
pop edx
mov edx, dword [ebp - 0x18f0]
mov dword [ebp - 0x18f4], edx
lea eax, [ebp - 0x1628]
push eax
call dword [ebp - 0x18f4]
test eax, eax
jne 0x408013
push ecx
jmp 0x407fd8
pop ecx
push edx
add edx, 0x2da0
sub edx, 0x15a94
add edx, 0x10206
or edx, 0x8da9
pop edx
push eax
push ebx
add esp, 4
jmp 0x407ffd
jmp 0x408003
pop eax
mov dword [ebp - 0xa58], 0
jmp 0x4086fe
push edi
xor edi, 0x7c78
add edi, 0xee75
pop edi
push eax
push edx
add esp, 4
jmp 0x40802c
pop eax
push ebx
push esi
add esp, 4
jmp 0x408038
jmp 0x40803e
xor ebx, 0x174
pop ebx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x18f8], ecx
mov edx, dword [ebp - 0x18f8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18fc], eax
mov ecx, dword [ebp - 0x18fc]
mov dword [ebp - 0x1574], ecx
push ecx
push edx
add esp, 4
sub ecx, 0x92a
xor ecx, 0xec20
or ecx, 0x1404c
xor ecx, 0x15250
pop ecx
push eax
jmp 0x408092
sub eax, 0x7eca
add eax, 0x139bf
pop eax
cmp dword [ebp - 0x1574], 0
jne 0x4080b7
mov dword [ebp - 0x2a8], 0
jmp 0x40835e
mov edx, dword [ebp - 0x1574]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc68], ecx
push ebx
push edi
add esp, 4
xor ebx, 0xb07c
call 0x4080e1
add byte [edx], bh
inc ebp
dec esp
inc esi
inc edi
dec esp
xor eax, dword [ebx + 0x8e804c4]
add byte [eax], al
add byte [eax], al
cmp bh, byte [edx]
dec ecx
push eax
xor al, 0x3c
xor al, byte [ebx - 0x147efb3c]
ja 0x839b80fc
mov ebp, 0xfffff398
add byte [ebp + 0xf], dh
mov dword [ebp - 0x2a8], 0
jmp 0x40835e
push esi
push ecx
add esp, 4
xor esi, 0x3457
add esi, 0x2812
pop esi
push edx
jmp 0x40837a
call 0x408386
add byte [edi + 0x4f], al
cmp bh, byte [ecx]
dec ebx
xor al, 0x83
les eax, [ecx + eax*4]
ljmp 0x8b5a
invalid