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

Disassembly:
sub esp, 0x90
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebp
push esi
mov esi, dword [esp + 0xa4]
push esi
push 0x42
mov dword [esp + 0x14], 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
jne 0x411ad1
mov dword [esp + 0xc], 1
mov esi, dword [esp + 0xc]
jmp 0x411d1c
mov eax, dword [0x460004]
push edi
mov edi, dword [esp + 0xa4]
push 0
push edi
push eax
call fcn.0040a650
add esp, 0xc
cmp eax, edi
jne 0x411cf1
mov ecx, dword [0x460004]
push esi
push ebp
push ecx
call fcn.0040a670
add esp, 0xc
cmp eax, esi
jne 0x411cf1
mov edi, dword [esi + ebp - 4]
cmp edi, 1
mov dword [esp + 0x18], edi
jge 0x411b25
mov dword [esp + 0x10], 0
jmp 0x411cf9
mov edx, edi
imul edx, edx, 0x110
push edx
push 0x42
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [0x464bb0], eax
je 0x411cf1
xor esi, esi
test edi, edi
mov dword [0x464bb4], edi
jle 0x411bb4
xor ebx, ebx
mov dword [esp + 0x14], edi
mov cl, byte [esi + ebp]
add eax, ebx
add esi, 1
mov byte [eax], cl
mov dl, byte [esi + ebp]
add esi, 1
mov byte [eax + 1], dl
movzx edi, word [esi + ebp]
add esi, 2
cmp dl, 2
jne 0x411b7c
mov dword [eax + 8], edi
jmp 0x411b9e
cmp edi, 0xff
mov ecx, edi
jb 0x411b8b
mov ecx, 0xff
push ecx
lea ecx, [esi + ebp]
push ecx
add eax, 0xc
push eax
call fcn.0043c200
add esp, 0xc
add esi, edi
mov eax, dword [0x464bb0]
add ebx, 0x110
sub dword [esp + 0x14], 1
jne 0x411b58
mov edi, dword [esp + 0x18]
mov ecx, eax
or eax, 0xffffffff
xor esi, esi
test edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
jle 0x411cf9
add ecx, 0x110
jmp 0x411c74
mov edi, dword [esp + 0x18]
movzx edx, byte [ecx - 0x110]
cmp edx, 0x1f
jg 0x411cf1
test edx, edx
jle 0x411c8a
mov eax, dword [esp + edx*4 + 0x1c]
jmp 0x411c8d
or eax, 0xffffffff
add edi, 0xffffffff
cmp esi, edi
mov dword [ecx - 0x10c], eax
je 0x411ca1
movzx eax, byte [ecx]
cmp eax, edx
je 0x411ce0
mov eax, dword [esp + edx*4 + 0x20]
cmp eax, 0xffffffff
lea ebx, [esp + edx*4 + 0x20]
mov dword [esp + 0x1c], ebx
jle 0x411cc5
mov ebx, dword [esp + 0x14]
imul eax, eax, 0x110
mov byte [eax + ebx + 3], 0
mov ebx, dword [esp + 0x1c]
cmp esi, edi
jge 0x411cd5
movzx eax, byte [ecx]
cmp eax, edx
jge 0x411cd5
or eax, 0xffffffff
jmp 0x411cd7
mov eax, esi
mov dword [ebx], eax
mov byte [ecx - 0x10d], 1
add esi, 1
add ecx, 0x110
cmp esi, dword [esp + 0x18]
jl 0x411c70
jmp 0x411cf9
mov dword [esp + 0x10], 1
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [esp + 0x10]
test esi, esi
pop edi
je 0x411d29
push 0x9f
call fcn.0040ae20
add esp, 4
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret