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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42d189
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
push edi
mov ecx, ebp
call fcn.004122d0
cmp eax, 7
ja case.default.0x4070f3
jmp dword [eax*4 + 0x407534]
mov eax, dword [esp + 0x84]
mov byte [eax], 0
jmp case.default.0x4070f3
mov ecx, ebp
call fcn.00412960
push eax
push 0x4354f0
jmp 0x4071d5
mov ecx, ebp
call fcn.00412c90
mov ecx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x8c]
push 0x4354f4
push eax
push ecx
call fcn.00420441
add esp, 0x10
jmp case.default.0x4070f3
mov ecx, ebp
call fcn.00412fc0
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
sub esp, 8
fstp qword [esp]
push 0x4354f8
push edx
push eax
call fcn.00420441
add esp, 0x14
jmp case.default.0x4070f3
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.004126f0
mov eax, dword [eax + 4]
test eax, eax
jne 0x40718c
mov eax, 0x42f31c
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x88]
push 0x435500
push edx
push eax
call fcn.00420441
add esp, 0x10
lea ecx, [esp + 0x40]
push 1
call fcn.00408280
jmp case.default.0x4070f3
mov ecx, ebp
call fcn.00413150
test al, al
mov eax, 0x435504
jne 0x4071cf
mov eax, 0x435508
push eax
push 0x43550c
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push ecx
push edx
call fcn.00420441
add esp, 0x10
jmp case.default.0x4070f3
mov ecx, ebp
call fcn.00413390
xor esi, esi
mov dword [esp + 0x8c], eax
test eax, eax
jle case.default.0x4070f3
mov edi, dword [esp + 0x88]
push esi
push str.__d_
push 0x10
push 0x43a1b0
call fcn.00420441
mov eax, dword [esp + 0xa0]
push 0x43a1b0
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.00408780
add esp, 0x1c
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x80], 0
call fcn.00413730
push eax
push edi
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push edx
push eax
call fcn.004070c0
test eax, eax
push 1
lea ecx, [esp + 0x54]
sete bl
mov dword [esp + 0x7c], 0xffffffff
call fcn.00408280
test bl, bl
jne case.default.0x4070f3
mov eax, dword [esp + 0x8c]
inc esi
cmp esi, eax
jl 0x407211
jmp case.default.0x4070f3
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.00413e30
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0
push edx
push eax
mov dword [esp + 0x84], 1
call fcn.00408d80
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4072d7
xor ecx, ecx
jmp 0x4072dc
mov ecx, dword [ecx + 8]
add ecx, eax
mov al, byte [ecx - 1]
mov esi, 0x43a6ec
cmp al, 0x2e
je 0x4072ed
mov esi, 0x435518
mov cl, byte [esp + 0x84]
push 0
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
call fcn.00408280
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x14]
push ebx
call fcn.004084c0
test al, al
je 0x40733f
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.004084a0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp esi, eax
mov byte [esp + 0x78], 2
je 0x407413
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.00408b90
push esi
push eax
lea eax, [esp + 0x74]
mov byte [esp + 0x8c], 3
push eax
call fcn.00408b90
add esp, 0x18
push eax
push esi
mov ecx, ebp
mov byte [esp + 0x80], 4
call fcn.00413ba0
push eax
push edi
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push ecx
push edx
call fcn.004070c0
test eax, eax
push 1
lea ecx, [esp + 0x64]
sete bl
mov byte [esp + 0x7c], 3
call fcn.00408280
xor edx, edx
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x34]
cmp eax, edx
je 0x4073f4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4073e9
cmp al, 0xff
je 0x4073e9
dec al
mov byte [ecx], al
jmp 0x4073f4
push ecx
call fcn.0041f7b9
add esp, 4
xor edx, edx
test bl, bl
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
jne 0x407435
mov eax, dword [esp + 0x28]
add esi, 0x10
cmp esi, eax
jne 0x40735b
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x4074a9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4074a0
cmp al, 0xff
je 0x4074a0
dec al
mov byte [ecx], al
jmp 0x4074a9
mov eax, dword [esp + 0x14]
cmp eax, edx
je 0x40745c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x407451
cmp al, 0xff
je 0x407451
dec al
mov byte [ecx], al
jmp 0x40745c
push ecx
call fcn.0041f7b9
add esp, 4
xor edx, edx
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x78], 0xffffffff
je 0x407493
jmp 0x407480
xor edx, edx
push edx
mov ecx, esi
call fcn.00408ce0
add esi, 0x10
cmp esi, edi
jne 0x40747e
mov esi, dword [esp + 0x24]
push esi
call fcn.0041f7b9
add esp, 4
xor eax, eax
jmp 0x40751c
push ecx
call fcn.0041f7b9
add esp, 4
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x78], 0xffffffff
je 0x4074d8
push ebx
mov ecx, esi
call fcn.00408ce0
add esi, 0x10
cmp esi, edi
jne 0x4074c9
mov eax, dword [esp + 0x24]
push eax
call fcn.0041f7b9
add esp, 4
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4074f8
mov eax, 0x42f31c
mov edx, dword [esp + 0x80]
inc eax
push edx
push eax
call fcn.00402cf0
test eax, eax
je 0x40750f
xor eax, eax
jmp 0x40751c
mov eax, dword [esp + 0x84]
mov byte [eax], 0
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x14