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

Disassembly:
sub esp, 0xa0
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x30]
mov ecx, 8
lea esp, [esp]
or edx, 0xffffffff
mov dword [eax - 4], edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
add eax, 0x10
dec ecx
jne 0x414030
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0xb4]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x2c], ebp
mov edi, esi
mov dword [esp + 0x10], esi
jmp 0x414070
push str.__t_n_r
push edi
call fcn.0040bbc0
mov cl, byte [edi + eax]
add edi, eax
add ebp, eax
movsx eax, cl
add esp, 8
cmp eax, 0x20
ja case.0x414094.1
movzx edx, byte [eax + 0x4143a4]
jmp dword [edx*4 + 0x41438c]
cmp byte [edi + 1], 0x20
jne 0x4140da
mov edx, 1
mov esi, dword [esp + 0xc]
shl esi, 4
lea ecx, [esp + esi + 0x2c]
mov eax, ebp
sub eax, dword [ecx]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + esi + 0x34]
cmp eax, ecx
mov dword [esp + esi + 0x30], ebp
jg 0x4140c7
mov eax, ecx
cmp edx, 1
mov dword [esp + esi + 0x34], eax
jne 0x41413d
mov ecx, dword [esp + 0x10]
mov eax, edi
sub eax, ecx
jmp 0x41414a
inc ebp
inc edi
jmp 0x4141d9
mov eax, ebp
and eax, 7
mov ecx, 8
sub ecx, eax
add ebp, ecx
inc edi
mov edx, 2
jmp 0x4140a6
cmp edi, esi
je 0x4141d9
cmp byte [edi - 1], 0xa
je 0x4141d9
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
shl edx, 4
cmp ebp, eax
mov dword [esp + edx + 0x30], ebp
jbe 0x414120
mov dword [esp + 0x18], ebp
mov edx, dword [esp + 0x14]
inc edx
test cl, cl
mov dword [esp + 0x14], edx
je 0x4141d9
xor ebp, ebp
mov dword [esp + 0xc], ebp
inc edi
jmp 0x4141d5
mov dword [esp + 0x10], 0x419314
mov eax, 2
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push eax
mov eax, dword [esp + 0xb8]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + esi + 0x38]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
lea esi, [esp + esi + 0x38]
jle 0x414175
mov eax, ecx
mov dword [esi], eax
cmp byte [edi], 0x20
jne 0x414189
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
inc ebp
cmp al, 0x20
je 0x414180
cmp dword [esp + 0xc], 7
jae 0x4141ce
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x10]
add esi, 0x10
inc edx
cmp ecx, 0xffffffff
mov dword [esp + 0xc], edx
je 0x4141c3
cmp ebp, ecx
jbe 0x4141ce
mov eax, ebp
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jle 0x4141ce
cmp dword [esp + 0xc], 7
jb 0x414194
jmp 0x4141ce
mov ecx, dword [esp + 0xc]
shl ecx, 4
mov dword [esp + ecx + 0x2c], ebp
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x10], edi
cmp byte [edi], 0
jne 0x414070
xor edi, edi
lea esi, [esp + 0x30]
mov ecx, dword [esi - 4]
cmp ecx, 0xffffffff
je 0x414244
mov eax, dword [esi + 4]
test eax, eax
je 0x4141fc
cmp eax, 0xffffffff
jne 0x41423b
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x414206
mov dword [esi], eax
mov eax, dword [esi]
sub eax, ecx
cmp eax, 0x14
jg 0x414213
test eax, eax
jg 0x414218
mov eax, 0x14
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esi + 4], eax
mov eax, dword [esp + 0xb8]
push str.mmmmmmmmmmmmmmmmmmmm
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], ecx
inc edi
add esi, 0x10
cmp edi, 8
jb 0x4141e8
mov eax, dword [esp + 0x14]
test eax, eax
pop edi
pop esi
pop ebp
jne 0x414257
mov dword [esp + 8], 1
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 8]
mov dword [edx], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xac]
mov dword [edx], ecx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [ebx], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 8], edx
cdq
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x10]
idiv ecx
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x3c]
cdq
idiv ecx
mov edx, dword [esp + 0x40]
mov dword [ebx + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x4c]
cdq
idiv ecx
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x5c]
cdq
idiv ecx
mov edx, dword [esp + 0x60]
mov dword [ebx + 0x40], edx
mov edx, dword [esp + 0x68]
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x6c]
cdq
idiv ecx
mov edx, dword [esp + 0x74]
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x4c], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x58], eax
mov eax, dword [esp + 0x7c]
cdq
idiv ecx
mov edx, dword [esp + 0x80]
mov dword [ebx + 0x60], edx
mov edx, dword [esp + 0x88]
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x5c], eax
mov eax, dword [esp + 0x84]
mov dword [ebx + 0x64], eax
mov eax, dword [esp + 0x8c]
cdq
idiv ecx
mov edx, dword [esp + 0x94]
mov dword [ebx + 0x74], edx
mov dword [ebx + 0x6c], eax
mov eax, dword [esp + 0x90]
mov dword [ebx + 0x70], eax
mov eax, dword [esp + 0x98]
mov dword [ebx + 0x78], eax
mov eax, dword [esp + 0x9c]
cdq
idiv ecx
mov dword [ebx + 0x7c], eax
add esp, 0xa0
ret