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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x3c]
or ebp, 0xffffffff
mov dword [esp + 0x18], eax
xor esi, esi
xor ebx, ebx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
rep stosd dword es:[edi], eax
mov eax, esi
mov ecx, esi
cdq
sub eax, edx
sar eax, 1
and ecx, 0x80000001
lea eax, [esp + eax*4 + 0x1c]
jns 0x4010e9
dec ecx
or ecx, 0xfffffffe
inc ecx
mov edi, dword [esp + 0x70]
shl ecx, 3
mov edx, ecx
mov ecx, 8
sub ecx, edx
xor edx, edx
mov dl, byte [esi + edi]
mov edi, dword [eax]
shl edx, cl
or edi, edx
inc esi
cmp esi, 0x10
mov dword [eax], edi
jl 0x4010cf
xor eax, eax
lea ecx, [esp + 0x1c]
cmp dword [ecx], 0
jne 0x401128
cmp ebp, 0xffffffff
jne 0x401125
mov ebp, eax
mov ebx, 1
jmp 0x401145
inc ebx
jmp 0x401145
cmp ebp, 0xffffffff
je 0x401145
cmp dword [esp + 0x10], 0xffffffff
je 0x40113a
cmp ebx, dword [esp + 0x14]
jle 0x401142
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
or ebp, 0xffffffff
inc eax
add ecx, 4
cmp eax, 8
jl 0x401112
mov edi, dword [esp + 0x10]
cmp ebp, 0xffffffff
je 0x40116e
cmp edi, 0xffffffff
je 0x401164
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
jle 0x401172
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov edi, ebp
mov ecx, dword [esp + 0x14]
cmp edi, 0xffffffff
je 0x401188
cmp ecx, 2
jge 0x401188
mov dword [esp + 0x10], 0xffffffff
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
xor esi, esi
cmp edi, 0xffffffff
je 0x4011b0
cmp esi, edi
jl 0x4011b0
lea eax, [ecx + edi]
cmp esi, eax
jge 0x4011b0
cmp esi, edi
jne 0x401201
mov eax, dword [esp + 0x18]
mov byte [eax], 0x3a
inc eax
mov dword [esp + 0x18], eax
jmp 0x401201
mov ebx, dword [esp + 0x18]
test esi, esi
je 0x4011bc
mov byte [ebx], 0x3a
inc ebx
cmp esi, 6
jne 0x4011e4
test edi, edi
jne 0x4011e4
cmp ecx, esi
je 0x40123a
cmp ecx, 7
jne 0x4011d7
cmp dword [esp + 0x38], 1
jne 0x40123a
jmp 0x4011e4
cmp ecx, 5
jne 0x4011e4
cmp ebp, 0xffff
je 0x40123a
mov ecx, dword [esp + esi*4 + 0x1c]
push ecx
push 0x42b0ec
push ebx
call fcn.00415976
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ebx, eax
mov dword [esp + 0x18], ebx
inc esi
cmp esi, 8
jl 0x40118e
mov ebx, dword [esp + 0x18]
cmp edi, 0xffffffff
je 0x40121b
add ecx, edi
cmp ecx, 8
jne 0x40121b
mov byte [ebx], 0x3a
inc ebx
mov eax, dword [esp + 0x78]
mov byte [ebx], 0
inc ebx
lea edx, [esp + 0x3c]
sub ebx, edx
cmp ebx, eax
jbe 0x40126c
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0xf]
mov cl, byte [eax + 0xe]
push edx
push ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0xd]
mov cl, byte [eax + 0xc]
push edx
push ecx
push str._d._d._d._d
push ebx
call fcn.00415976
mov ecx, dword [esp + 0x2c]
add esp, 0x18
add ebx, eax
jmp 0x401210
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x74]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebx - 1]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret