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

Disassembly:
sub esp, 0x288
mov eax, dword [0x4630e0]
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 0x50
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.0043ae80
mov ecx, dword [esp + 0x2a8]
mov eax, dword [ecx + 0x110]
add esp, 0xc
cmp eax, ebp
jle 0x41133a
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 0x411344
mov dword [esi + 4], ebp
mov dword [esi + 0x18], 0xff
push 0x453974
push ebx
call fcn.0044fb2e
add esp, 8
test eax, eax
je 0x411656
push 0x453930
push ebx
call fcn.0044fb2e
add esp, 8
test eax, eax
je 0x411656
push 0x45392c
push ebx
call fcn.0044fb2e
add esp, 8
test eax, eax
je 0x411656
push 0x45397c
push ebx
call fcn.0044fb2e
add esp, 8
test eax, eax
jne 0x41164c
push 0x5d
push edi
call fcn.0043afd0
add esp, 8
cmp byte [edi], 0x5b
mov ebx, eax
jne 0x411703
cmp ebx, ebp
je 0x411703
lea ecx, [esp + 0x30]
push ecx
lea eax, [edi + 1]
push 7
push eax
mov byte [ebx], 0
call fcn.00409f80
add esp, 0xc
test eax, eax
jne 0x411703
fild dword [esp + 0x30]
push 0x3c
lea edx, [esp + 0x5c]
push ebp
fstp qword [esi + 0x30]
push edx
fild dword [esp + 0x40]
mov dword [esi + 8], 0xb
fstp qword [esi + 0x38]
call fcn.0043ae80
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 0x411406
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.00420410
add esp, 0xc
test eax, eax
jne 0x4115c6
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.00420b20
add esp, 0x10
test eax, eax
jne 0x411596
cmp byte [esp + 0x194], al
jne 0x4115bc
push 0x453978
push ebx
call fcn.0044fb2e
add esp, 8
test eax, eax
jne 0x4115bc
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4114d0
sub eax, edx
cmp eax, 2
jl 0x4115e6
cmp byte [edi], 0x7e
jne 0x4115e6
cmp byte [edi + eax - 1], 0x7e
jne 0x4115e6
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 0x411572
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 0x4115e6
mov eax, dword [esp + 0x10]
test eax, eax
je 0x411566
push ebp
push eax
push esi
call fcn.0043bed0
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 0x411580
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.00420410
add esp, 0xc
test eax, eax
je 0x411480
jmp 0x4115c2
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
test ebp, ebp
jne 0x4115cd
mov esi, 1
jmp 0x411623
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 0x4115ed
mov esi, 1
jmp 0x411623
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.0043bed0
mov edx, dword [esp + 0x2bc]
mov eax, dword [esp + 0x38]
push edx
push eax
mov dword [eax + 0x44], ebx
call fcn.00422da0
add esp, 0x14
xor esi, esi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x411645
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 0x411708
mov eax, 2
jmp 0x411708
mov eax, edi
lea edx, [eax + 1]
jmp 0x411660
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x411660
sub eax, edx
cmp eax, 2
jl 0x411703
cmp byte [edi], 0x5b
jne 0x411703
cmp byte [edi + eax - 1], 0x5d
jne 0x411703
mov byte [edi + eax - 1], cl
lea eax, [esp + 0x30]
push eax
push 5
add edi, 1
push edi
call fcn.00409f80
add esp, 0xc
test eax, eax
jne 0x411703
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
sub edx, eax
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x40]
push 0x453974
push ebx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x10], ecx
call fcn.0044fb2e
add esp, 8
test eax, eax
jne 0x4116e4
mov eax, 1
mov dword [esi + 8], eax
xor eax, eax
jmp 0x411708
push 0x453930
push ebx
call fcn.0044fb2e
add esp, 8
neg eax
sbb eax, eax
and eax, 2
add eax, 3
mov dword [esi + 8], eax
xor eax, eax
jmp 0x411708
mov eax, 1
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b76b
add esp, 0x288
ret