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

Disassembly:
sub esp, 0x288
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x284], eax
mov eax, dword [esp + 0x298]
mov ecx, dword [esp + 0x29c]
push ebx
mov ebx, dword [esp + 0x294]
push ebp
push esi
mov esi, dword [esp + 0x2b0]
push edi
mov edi, dword [esp + 0x2a4]
xor ebp, ebp
push 0x58
push ebp
push esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], ebp
call fcn.0043b0e0
mov ecx, dword [esp + 0x2a8]
mov eax, dword [ecx + 0x110]
add esp, 0xc
cmp eax, ebp
jle 0x4115da
add eax, 0xffffffff
mov dword [esi + 4], eax
imul eax, eax, 0x4c
mov edx, dword [ecx + 0x11c]
mov eax, dword [eax + edx + 0x44]
mov dword [esi + 0x18], eax
jmp 0x4115e4
mov dword [esi + 4], ebp
mov dword [esi + 0x18], 0xff
push 0x453974
push ebx
call fcn.0044f18a
add esp, 8
test eax, eax
je 0x4118f6
push 0x453930
push ebx
call fcn.0044f18a
add esp, 8
test eax, eax
je 0x4118f6
push 0x45392c
push ebx
call fcn.0044f18a
add esp, 8
test eax, eax
je 0x4118f6
push 0x45397c
push ebx
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x4118ec
push 0x5d
push edi
call fcn.0043b5f0
add esp, 8
cmp byte [edi], 0x5b
mov ebx, eax
jne 0x4119a3
cmp ebx, ebp
je 0x4119a3
lea ecx, [esp + 0x30]
push ecx
lea eax, [edi + 1]
push 7
push eax
mov byte [ebx], 0
call fcn.0040a230
add esp, 0xc
test eax, eax
jne 0x4119a3
fild dword [esp + 0x30]
push 0x3c
lea edx, [esp + 0x5c]
push ebp
fstp qword [esi + 0x38]
push edx
fild dword [esp + 0x40]
mov dword [esi + 8], 0xb
fstp qword [esi + 0x40]
call fcn.0043b0e0
lea eax, [ebx + 1]
lea edx, [esp + 0x64]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4116a6
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
and eax, 0xfff
mov dword [esp + 0x78], eax
xor eax, eax
cmp dword [esp + 0x44], 0x190
mov dword [esp + 0x80], edx
setg al
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.004206d0
add esp, 0xc
test eax, eax
jne 0x411866
lea esp, [esp]
mov ebx, dword [esp + 0x28]
push edi
push ebx
lea ecx, [esp + 0x19c]
push ecx
lea edx, [esp + 0xa0]
push edx
call fcn.00420de0
add esp, 0x10
test eax, eax
jne 0x411836
cmp byte [esp + 0x194], al
jne 0x41185c
push 0x453978
push ebx
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x41185c
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x411770
sub eax, edx
cmp eax, 2
jl 0x411886
cmp byte [edi], 0x7e
jne 0x411886
cmp byte [edi + eax - 1], 0x7e
jne 0x411886
mov ebx, dword [esp + 0x18]
sub eax, 1
lea edx, [eax + ebp]
cmp edx, ebx
mov byte [edi + eax], cl
mov dword [esp + 0x24], edx
jle 0x411812
add ebx, 0x1000
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x411886
mov eax, dword [esp + 0x10]
test eax, eax
je 0x411806
push ebp
push eax
push esi
call fcn.0043c200
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
add esp, 0xc
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x10]
push ecx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x10]
lea eax, [edi + 1]
sub ebp, eax
add ebp, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + ebp], cl
add eax, 1
test cl, cl
jne 0x411820
add dword [esp + 0x8c], 1
mov ebp, edx
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
lea edx, [esp + 0x94]
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.004206d0
add esp, 0xc
test eax, eax
je 0x411720
jmp 0x411862
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
test ebp, ebp
jne 0x41186d
mov esi, 1
jmp 0x4118c3
lea edx, [ebp + 0x3c]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
jne 0x41188d
mov esi, 1
jmp 0x4118c3
mov eax, dword [esp + 0x10]
mov ecx, 0xf
lea esi, [esp + 0x58]
mov edi, ebx
push ebp
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebx + 0x38]
push ecx
call fcn.0043c200
mov edx, dword [esp + 0x2bc]
mov eax, dword [esp + 0x38]
push edx
push eax
mov dword [eax + 0x4c], ebx
call fcn.00422fc0
add esp, 0x14
xor esi, esi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4118e5
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
jmp 0x4119a8
mov eax, 2
jmp 0x4119a8
mov eax, edi
lea edx, [eax + 1]
jmp 0x411900
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x411900
sub eax, edx
cmp eax, 2
jl 0x4119a3
cmp byte [edi], 0x5b
jne 0x4119a3
cmp byte [edi + eax - 1], 0x5d
jne 0x4119a3
mov byte [edi + eax - 1], cl
lea eax, [esp + 0x30]
push eax
push 5
add edi, 1
push edi
call fcn.0040a230
add esp, 0xc
test eax, eax
jne 0x4119a3
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
sub edx, eax
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x40]
push 0x453974
push ebx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x10], ecx
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x411984
mov eax, 1
mov dword [esi + 8], eax
xor eax, eax
jmp 0x4119a8
push 0x453930
push ebx
call fcn.0044f18a
add esp, 8
neg eax
sbb eax, eax
and eax, 2
add eax, 3
mov dword [esi + 8], eax
xor eax, eax
jmp 0x4119a8
mov eax, 1
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b3fc
add esp, 0x288
ret