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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440568
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x44e170]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x4070c4
dec eax
mov dword [edi + 0x7c], eax
test eax, eax
jg 0x4070c4
push 0xc
call fcn.0040ec1f
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x4070da
dec eax
mov dword [edi + 0x78], eax
test eax, eax
jg 0x4070da
push 0xb
call fcn.0040ec1f
mov ebx, dword [ebp + 8]
mov byte [esp + 0x14], 0
test ebx, ebx
je 0x40733d
mov esi, 1
nop
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
cmp eax, 0x14
ja case.default.0x4070ff
jmp dword [eax*4 + 0x407550]
mov ecx, dword [edi + 0x60]
mov eax, ecx
and eax, 0x101
cmp eax, 1
je 0x407156
test ecx, 0x100
jne 0x407128
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je case.0x4070ff.1
mov eax, dword [edi]
cmp word [eax - 2], 0xa
setne al
mov dword [esp + 0x14], eax
jmp 0x407327
test byte [edi + 0x60], 2
jne 0x407156
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je case.0x4070ff.1
cmp word [eax], 0xa
je case.0x4070ff.1
mov bl, 1
jmp 0x407341
mov ecx, dword [edi + 0x60]
test cl, 4
je 0x40716c
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je 0x407178
test cl, 8
je 0x40717c
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x40717c
xor cl, cl
jmp 0x4071e6
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
jne 0x40718b
test ecx, 0x100
je 0x4071af
movzx eax, word [eax - 2]
mov ecx, eax
movsx eax, al
cmp ecx, eax
jne 0x4071af
push ecx
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.00410400
add esp, 8
mov byte [esp + 0x13], 1
test eax, eax
jne 0x4071b4
mov byte [esp + 0x13], 0
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x4071dd
movzx eax, word [eax]
mov ecx, eax
movsx eax, al
cmp ecx, eax
jne 0x4071dd
push ecx
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.00410400
add esp, 8
test eax, eax
je 0x4071dd
mov al, 1
jmp 0x4071df
xor al, al
cmp byte [esp + 0x13], al
setne cl
mov al, byte [ebx + 8]
and al, 1
cmp cl, al
je 0x407156
jmp case.0x4070ff.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x407156
movzx ecx, word [eax]
cmp ecx, 0xa
je 0x407156
cmp ecx, 0xd
je 0x407156
add eax, 2
mov dword [edi], eax
jmp case.0x4070ff.1
mov eax, dword [edi + 0x60]
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
and eax, 0x80
setne al
movzx eax, al
push eax
push dword [edi + 0x5c]
lea eax, [edx + ecx*2]
push dword [edi + 0x70]
mov ecx, dword [edi]
push eax
push edx
mov edx, dword [edi + 0x50]
call fcn.00408570
add esp, 0x14
cmp eax, dword [edi]
je 0x407156
mov dword [edi], eax
jmp case.0x4070ff.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x407156
push ebx
mov ecx, edi
call fcn.00408290
test al, al
je 0x407156
mov byte [esp + 0x14], 0
jmp 0x40732b
mov eax, dword [edi]
cmp ecx, 0xb
lea esi, [edi + 4]
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], eax
sete bl
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], eax
call fcn.00407d00
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], 0
push dword [eax + 0x14]
mov ecx, edi
call fcn.00407080
cmp al, bl
jne 0x4072fc
mov eax, dword [esp + 0x30]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc], eax
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00406a50
mov byte [esp + 0x14], 1
jmp 0x407302
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40731b
push eax
call fcn.0040ec3f
add esp, 4
mov ebx, dword [ebp + 8]
mov esi, 1
mov eax, dword [esp + 0x14]
test al, al
jne 0x40733d
test ebx, ebx
je 0x40733d
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x4070f0
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x40734c
inc eax
mov dword [edi + 0x7c], eax
xor eax, eax
test bl, bl
sete al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8], eax
mov eax, dword [edi + 0x10]
cmp dword [ebx + 0x14], eax
jae case.0x4070ff.1
jmp 0x407380
dec eax
mov esi, dword [edi + 4]
jns 0x40739f
mov ecx, eax
neg ecx
je 0x40739f
or ecx, 0xffffffff
sub ecx, eax
shr ecx, 5
lea ecx, [ecx*4 + 4]
sub esi, ecx
jmp 0x4073a7
mov ecx, eax
shr ecx, 5
lea esi, [esi + ecx*4]
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
not edx
and dword [esi], edx
cmp dword [ebx + 0x14], eax
jb 0x407380
jmp 0x40731e
cmp byte [edi + 0x65], 0
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x1c], eax
jne 0x4073d8
cmp dword [eax + 0x14], 0
je case.0x4070ff.1
push dword [eax + 0x14]
lea eax, [esp + 0x24]
lea ecx, [edi + 4]
push eax
call fcn.00406660
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, 1
shl edx, cl
or dword [esi], edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x14]
mov edx, dword [edx + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8 + 4], eax
jmp 0x40731e
mov esi, dword [ebx + 0x14]
push esi
lea eax, [esp + 0x2c]
lea ecx, [edi + 4]
push eax
call fcn.00406660
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edx, 1
shl edx, cl
test dword [eax], edx
je 0x40731e
mov eax, dword [edi + 0x14]
mov ecx, dword [edi]
mov edx, dword [eax + esi*8]
mov esi, dword [eax + esi*8 + 4]
cmp edx, esi
je 0x40746c
mov eax, dword [edi + 0x60]
and eax, 0x80
setne al
movzx eax, al
push eax
push dword [edi + 0x5c]
push dword [edi + 0x70]
push esi
push edx
mov edx, dword [edi + 0x50]
call fcn.00408570
mov ecx, eax
add esp, 0x14
cmp ecx, dword [edi]
je 0x407156
mov dword [edi], ecx
jmp 0x40731e
push ebx
mov ecx, edi
call fcn.00407db0
mov ebx, dword [esp + 0x14]
movzx ebx, bl
test al, al
cmove ebx, esi
mov dword [esp + 0x14], ebx
xor ebx, ebx
jmp case.0x4070ff.1
mov eax, dword [ebx + 8]
shr eax, 1
and al, 1
movzx eax, al
push 0
push eax
push ebx
mov ecx, edi
call fcn.00407ff0
mov edx, dword [esp + 0x14]
movzx ecx, dl
test al, al
cmove ecx, esi
mov byte [esp + 0x14], cl
xor ebx, ebx
jmp case.0x4070ff.1
mov edx, dword [ebx + 0x14]
mov eax, dword [edi + 0x40]
cmp dword [edx + 0x24], 0
mov ecx, dword [edx + 0x20]
jne 0x4074b7
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
jmp 0x4074a0
test dword [edi + 0x60], 0x2020
je 0x4074ee
mov eax, dword [edi + 0x4c]
cmp eax, dword [edi]
je 0x4074fb
cmp byte [edi + 0x74], 0
je 0x407507
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x407507
mov byte [esp + 0x14], 1
xor ebx, ebx
jmp case.0x4070ff.1
cmp byte [edi + 0x64], 0
je 0x407518
mov ecx, edi
call fcn.00408460
test al, al
je 0x4074b7
mov eax, dword [edi]
lea edx, [edi + 4]
mov dword [edi + 0x20], eax
mov eax, dword [edx + 0xc]
lea ecx, [edi + 0x24]
push edx
mov dword [ecx + 0xc], eax
call fcn.00406a50
lea eax, [edi + 0x14]
push eax
lea ecx, [edi + 0x34]
call fcn.004066c0
mov byte [edi + 0x64], 1
xor ebx, ebx
jmp case.0x4070ff.1
push 0xd
call fcn.0040ec1f
lea ecx, [ecx]
and esi, dword [ebx + 0x40]
add byte [esi], al
jno 0x407597
add byte [ebx], bh
jno 0x40759b
add byte [ebp + 0x71], bl
inc eax
add al, bh
jno 0x4075a3
add byte [edx], ah
jb 0x4075a7
add byte [esi + 0x72], bl
inc eax
add byte [ebx], ah
jae 0x4075af
add byte [ebx], ah
jae 0x4075b3
add byte [ebx - 0x7cffbf8e], al
jb 0x4075bb
add byte [ebx + 0x68004074], cl
jae 0x4075c3
add cl, al
jae 0x4075c7
add byte [ebx], cl
je 0x4075cb
add byte [ebx + 0x74], dh
inc eax
add byte [ebx], ah
jae 0x4075d3
add byte [edx - 0x41ffbf8c], dl
je 0x4075db
add byte [esi + 0x23004074], bh
add byte [ebx], ah
jae 0x4075df
add dh, bl
je 0x4075e3
add ah, cl
int3
int3
int3
rol byte [edx], 0x3b
inc ecx
or byte [edx + ebp - 0x75], dh
dec ecx
push eax
test cl, 8
jne 0x4075cf
movzx edx, word [eax]
mov bh, 0x10
cmp edx, 0x28
je 0x4075e1
sub byte [edi + edx - 0x7d], dh
cmp edx, 0x29
je 0x4075e1
cli
sub dword [edx + edx - 0xa], esi
rcl dword [eax], 0x75
test cl, 0x10
jne 0x4075e4
adc byte [edi], cl
mov bh, 0
movzx eax, word [eax]
cmp eax, 0x7b
je 0x4075e1
add eax, 0x757df883
add esi, dword [eax - 0x3fcd3cff]
cmp eax, 0x7d
jne 0x4075e4
mov al, 1
ret
xor al, al
ret