Function at 0x489730
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov eax, 0x40080
mov ebp, esp
push edi
push esi
push ebx
call fcn.0057e5f0
mov edi, dword fs:[0x18]
sub esp, eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x40070], eax
mov eax, dword [sym.imp.kernel32.dll_GlobalFree]
mov dword [esp], 0
mov dword [ebp - 0x40040], eax
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x526
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [sym.imp.kernel32.dll_GlobalReAlloc]
mov dword [esp + 8], 2
mov dword [esp + 4], 0xa
mov dword [esp], 0
mov dword [ebp - 0x40044], eax
call eax
sub esp, 0xc
mov ebx, eax
mov eax, 0x528
call fcn.00487b80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
lea edx, [ebp - 0x4000c]
mov dword [ebp - 0x40038], edx
mov esi, edx
nop
mov dword [esp + 4], 0
mov dword [esp], 0x102
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x52d
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
add esi, 4
mov dword [esp], eax
call fcn.00488240
lea eax, [ebp - 0xc]
mov dword [esi - 4], ebx
cmp eax, esi
jne 0x4897f0
mov esi, dword [ebp - 0x40070]
mov eax, dword [sym.imp.kernel32.dll_HeapLock]
mov dword [ebp - 0x40024], 0xcdcdcdcd
mov dword [ebp - 0x40020], 0xcdcdcdcd
mov dword [ebp - 0x4001c], 0xcdcdcdcd
mov dword [ebp - 0x40018], 0xcdcdcdcd
mov dword [ebp - 0x40014], 0xcdcdcdcd
mov dword [ebp - 0x40010], 0xcdcdcdcd
mov dword [ebp - 0x40028], 0
mov dword [esp], esi
mov dword [ebp - 0x40074], eax
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x534
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp], ebx
mov ebx, esi
mov dword [esp + 4], str.HeapLock_failed__error__lu_n
mov dword [esp + 8], eax
call fcn.00488240
mov esi, dword [ebp - 0x40038]
jmp 0x48993e
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x537
mov dword [esp + 4], str.got_PROCESS_HEAP_ENTRY_MOVEABLE_n
movzx eax, word [ebp - 0x4001e]
shr ax, 4
xor eax, 1
and eax, 1
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x538
mov dword [esp + 4], str.got_PROCESS_HEAP_ENTRY_DDESHARE_n
movzx eax, word [ebp - 0x4001e]
shr ax, 5
xor eax, 1
and eax, 1
mov dword [esp], eax
call fcn.00488240
lea eax, [ebp - 0x40028]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_HeapWalk]
sub esp, 8
test eax, eax
jne 0x4898d8
mov eax, 0x53a
mov dword [ebp - 0x40038], esi
mov esi, dword fs:[0x18]
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x103
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40070]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapUnlock]
mov dword [ebp - 0x40078], eax
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x53c
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], str.HeapUnlock_failed__error__lu_n
mov dword [esp + 8], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 4], 0
mov dword [esp], 0x102
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x540
call fcn.00487b80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.GlobalAlloc_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x541
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 8
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 4], 0
mov dword [esp], 0xf02
call dword [sym.imp.kernel32.dll_LocalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x544
call fcn.00487b80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.LocalAlloc_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x545
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 8
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0
mov dword [esp], 0x100
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x548
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x54a
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov ebx, dword [ebp - 0x40038]
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x54f
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
add ebx, 4
mov dword [esp], eax
call fcn.00488240
lea eax, [ebp - 0xc]
cmp eax, ebx
jne 0x489b30
mov edx, dword [ebp - 0x40038]
lea ebx, [edx + 0x48]
mov esi, edx
mov edi, edx
lea esi, [esi]
mov dword [esp + 4], 0xc
add esi, 4
mov dword [esp], 0
call dword [0x78e018]
mov dword [esi - 4], eax
sub esp, 8
cmp ebx, esi
jne 0x489b90
mov esi, edi
lea esi, [esi]
mov eax, dword [esi]
add esi, 4
mov dword [esp], eax
call dword [0x78e014]
sub esp, 4
cmp ebx, esi
jne 0x489bb8
mov dword [esp + 4], 0
mov dword [esp], 2
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x557
mov edi, dword fs:[0x18]
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x40038], edi
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 0xa
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov ebx, eax
mov eax, 0x559
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalReAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov esi, dword [sym.imp.kernel32.dll_GlobalSize]
mov dword [esp], ebx
mov dword [ebp - 0x40048], esi
call esi
sub esp, 4
mov esi, eax
mov eax, 0x55b
call fcn.00487b80
mov dword [esp + 8], esi
sub esi, 0xa
xor eax, eax
cmp esi, 6
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
setbe al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov ebx, eax
mov eax, 0x55d
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalReAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov esi, dword [ebp - 0x40048]
call esi
sub esp, 4
mov esi, eax
mov eax, 0x55f
call fcn.00487b80
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 0xa
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov ebx, eax
mov eax, 0x561
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalReAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov esi, dword [ebp - 0x40048]
call esi
sub esp, 4
mov esi, eax
mov eax, 0x563
call fcn.00487b80
mov dword [esp + 8], esi
sub esi, 0xa
xor eax, eax
cmp esi, 6
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
setbe al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [0x78e014]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x565
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
mov esi, dword [ebp - 0x40034]
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov esi, dword [ebp - 0x40048]
call esi
sub esp, 4
mov ebx, eax
mov eax, 0x567
call fcn.00487b80
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0
mov dword [esp], 0x102
call dword [0x78e018]
sub esp, 8
mov ebx, eax
mov eax, 0x56a
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov dword [ebp - 0x40048], esi
call esi
sub esp, 4
mov esi, eax
mov eax, 0x56d
call fcn.00487b80
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
lea eax, [ebx - 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapValidate]
mov dword [ebp - 0x40050], eax
call eax
sub esp, 0xc
mov esi, eax
mov eax, 0x56f
call fcn.00487b80
xor eax, eax
test esi, esi
mov dword [esp + 4], str.HeapValidate_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x570
call fcn.00487b80
mov eax, dword [ebx - 4]
mov dword [esp + 4], str.got_unexpected_flags__Ix_n
cmp eax, 0xf
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x571
call fcn.00487b80
mov eax, dword [ebx]
mov dword [esp + 4], str.got_unexpected_ptr__p_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov ecx, dword [ebp - 0x40040]
call ecx
sub esp, 4
mov ebx, eax
mov eax, 0x573
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0
mov dword [esp], 2
call dword [0x78e018]
sub esp, 8
mov ebx, eax
mov eax, 0x576
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov esi, dword [ebp - 0x40048]
call esi
sub esp, 4
mov esi, eax
mov eax, 0x579
call fcn.00487b80
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
lea eax, [ebx - 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x40050]
call eax
sub esp, 0xc
mov esi, eax
mov eax, 0x57b
call fcn.00487b80
xor eax, eax
test esi, esi
mov dword [esp + 4], str.HeapValidate_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x57c
call fcn.00487b80
mov eax, dword [ebx - 4]
mov dword [esp + 4], str.got_unexpected_flags__Ix_n
cmp eax, 0xb
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x57d
call fcn.00487b80
mov eax, dword [ebx]
mov dword [esp + 4], str.got_unexpected_ptr__p_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov ecx, dword [ebp - 0x40040]
call ecx
sub esp, 4
mov ebx, eax
mov eax, 0x57f
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [ebp - 0x4006c], 6
mov dword [ebp - 0x4004c], 1
lea esi, [esi]
mov edi, dword [ebp - 0x4004c]
mov dword [esp], str.size__Ix
mov dword [esp + 4], edi
call fcn.00487aa0
mov dword [ebp - 0x4004c], edi
mov dword [esp + 4], edi
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov edi, dword [ebp - 0x40038]
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x586
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov ecx, ebx
shr ecx, 2
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x587
mov eax, ecx
xor eax, 1
mov dword [esp + 4], str.got_unexpected_ptr_align_n
and eax, 1
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x588
xor eax, eax
test bl, 3
sete al
mov dword [esp + 4], str.got_unexpected_ptr_align_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov ecx, dword [ebp - 0x40050]
call ecx
sub esp, 0xc
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x58a
mov eax, dword [edi + 0x34]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], str.HeapValidate_failed__error__lu_n
call fcn.00488240
mov dword [esp], ebx
mov edx, dword [ebp - 0x40040]
call edx
sub esp, 4
mov dword [ebp - 0x40034], eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x58c
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
mov ebx, dword [ebp - 0x40034]
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x4004c]
mov dword [esp], 2
mov dword [esp + 4], eax
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x58f
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov edx, ebx
and edx, 4
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x590
mov dword [esp], edx
mov dword [esp + 4], str.got_unexpected_entry_align_n
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x591
xor eax, eax
test bl, 3
sete al
mov dword [esp + 4], str.got_unexpected_entry_align_n
mov dword [esp], eax
call fcn.00488240
lea eax, [ebx - 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov ecx, dword [ebp - 0x40050]
call ecx
sub esp, 0xc
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x595
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.HeapValidate_succeeded_n
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebx]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov ecx, dword [ebp - 0x40050]
call ecx
sub esp, 0xc
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x597
mov eax, dword [edi + 0x34]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], str.HeapValidate_failed__error__lu_n
call fcn.00488240
mov eax, dword [ebx]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapSize]
sub esp, 0xc
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x599
mov dword [esp + 8], esi
mov dword [esp + 4], str.HeapSize_returned__Iu_n
mov eax, dword [ebp - 0x4004c]
cmp esi, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
lea eax, [ebp - 0x4002c]
mov dword [ebp - 0x40034], 0xdeadbee4
mov dword [ebp - 0x4002c], 0xdeadbeef
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x40034]
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [0x78e024]
sub esp, 0x14
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x59e
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.RtlGetUserInfoHeap_failed__error__lu_n
mov dword [esp + 8], eax
mov eax, esi
movzx esi, al
mov dword [esp], esi
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x59f
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.got_user_ptr__p_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5a0
mov eax, dword [ebp - 0x4002c]
mov dword [esp + 4], str.got_user_flags__lx_n
cmp eax, 0x200
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 0xc], 0xdeadbee4
mov eax, dword [ebx]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [0x78e020]
sub esp, 0x10
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5a3
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.RtlSetUserValueHeap_failed__error__lu_n
mov dword [esp + 8], eax
mov eax, esi
movzx esi, al
mov dword [esp], esi
call fcn.00488240
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalHandle]
sub esp, 4
mov dword [ebp - 0x40034], eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5a5
xor eax, eax
mov dword [esp + 4], str.GlobalHandle_returned_unexpected_handle_n
cmp dword [ebp - 0x40034], 0xdeadbee4
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 0xc], ebx
mov eax, dword [ebx]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [0x78e020]
sub esp, 0x10
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5a7
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.RtlSetUserValueHeap_failed__error__lu_n
mov dword [esp + 8], eax
mov eax, esi
movzx esi, al
mov dword [esp], esi
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5aa
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalLock_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5ab
xor eax, eax
cmp ebx, esi
setne al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.got_unexpected_ptr__p_n
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5ac
xor eax, eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.got_unexpected_ptr__p_n
cmp dword [ebx], esi
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5ad
mov eax, esi
shr eax, 2
mov dword [esp + 4], str.got_unexpected_ptr_align_n
xor eax, 1
and eax, 1
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5ae
xor eax, eax
and esi, 3
mov esi, 0x10000
sete al
mov dword [esp + 4], str.got_unexpected_ptr_align_n
mov dword [esp], eax
call fcn.00488240
lea esi, [esi]
call fcn.0057d110
mov edx, esi
mov dword [eax], 0x5a0c14
or edx, 3
mov dword [eax + 4], 0x5b1
mov eax, dword [ebx - 4]
mov dword [esp + 4], str.got_unexpected_flags__Ix_n
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5b3
mov eax, dword [ebp - 0x40038]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.GlobalLock_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
add esi, 0x10000
mov dword [esp], eax
call fcn.00488240
cmp esi, 0xff0000
jne 0x48a670
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5b6
mov eax, dword [ebp - 0x40038]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.GlobalLock_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
mov esi, 0xfe
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5b7
mov eax, dword [ebx - 4]
mov dword [esp + 4], str.got_unexpected_flags__Ix_n
cmp eax, 0xff0003
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
mov edi, dword fs:[0x18]
call fcn.00488240
mov dword [ebp - 0x4003c], ebx
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebp - 0x4003c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5bb
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalUnlock_failed__error__lu_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488240
sub esi, 1
jne 0x48a790
mov ebx, dword [ebp - 0x4003c]
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5be
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalUnlock_succeeded__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5bf
mov eax, dword [ebx - 4]
mov dword [esp + 4], str.got_unexpected_flags__Ix_n
cmp eax, 3
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [0x78e014]
sub esp, 4
mov dword [ebp - 0x40034], eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5c2
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x40034]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5c3
mov eax, dword [ebx - 4]
mov dword [esp + 4], str.got_unexpected_flags__Ix_n
test eax, eax
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5c4
mov dword [esp + 4], str.got_unexpected_ptr_align_n
mov eax, dword [ebx - 4]
shr eax, 2
xor eax, 1
and eax, 1
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5c5
xor eax, eax
mov dword [esp + 4], str.got_unexpected_ptr_align_n
test byte [ebx - 4], 3
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5c6
mov eax, dword [ebx]
mov dword [esp + 4], str.got_unexpected_ptr__p_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0
mov dword [esp], 0x102
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5c9
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5cb
mov eax, dword [ebx - 4]
mov dword [esp + 4], str.got_unexpected_flags__Ix_n
cmp eax, 0xf
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5cc
mov eax, dword [ebx]
mov dword [esp + 4], str.got_unexpected_ptr__p_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalFlags]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5ce
mov eax, dword [edi + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
xor eax, eax
cmp esi, 0x4100
sete al
mov dword [esp + 4], str.GlobalFlags_returned__x__error__lu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5d0
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 1
mov dword [esp], 0x102
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5d3
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5d5
mov eax, dword [ebx - 4]
mov dword [esp + 4], str.got_unexpected_flags__Ix_n
cmp eax, 7
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5d6
mov eax, dword [ebx]
mov dword [esp + 4], str.got_unexpected_ptr__p_n
test eax, eax
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalFlags]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5d8
mov eax, dword [edi + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
xor eax, eax
cmp esi, 0x100
sete al
mov dword [esp + 4], str.GlobalFlags_returned__x__error__lu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5da
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 1
mov dword [esp], 0x2102
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5dd
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5df
mov eax, dword [ebx - 4]
mov dword [esp + 4], str.got_unexpected_flags__Ix_n
cmp eax, 0x8007
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5e0
mov eax, dword [ebx]
mov dword [esp + 4], str.got_unexpected_ptr__p_n
test eax, eax
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalFlags]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5e2
mov eax, dword [edi + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
xor eax, eax
cmp esi, 0x2100
sete al
mov dword [esp + 4], str.GlobalFlags_returned__x__error__lu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x5e4
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov edx, dword [eax + 0xbec]
test edx, edx
je 0x48acfa
sub edx, 1
mov dword [eax + 0xbec], edx
shl dword [ebp - 0x4004c], 5
sub dword [ebp - 0x4006c], 1
jne 0x48a0c0
mov dword [esp + 4], 0x100
mov dword [esp], 2
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov ebx, eax
sub esp, 8
mov eax, 0x5ea
mov esi, dword fs:[0x18]
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov edi, eax
mov eax, 0x5ec
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalLock_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x5ed
call fcn.00487b80
xor eax, eax
cmp ebx, edi
mov dword [esp + 8], edi
setne al
mov dword [esp + 4], str.got_unexpected_ptr__p_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GlobalHandle]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x5ef
call fcn.00487b80
mov dword [esp + 4], str.GlobalHandle_returned_unexpected_handle_n
xor eax, eax
cmp dword [ebp - 0x40034], ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalFlags]
sub esp, 4
mov dword [ebp - 0x40038], eax
mov eax, 0x5f1
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x40038]
xor eax, eax
mov dword [esp + 4], str.GlobalFlags_returned__x__error__lu_n
cmp edx, 1
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov dword [ebp - 0x40030], eax
mov eax, 0x5f3
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalLock_failed__error__lu_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x40030]
xor eax, eax
test edx, edx
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x5f4
call fcn.00487b80
mov eax, dword [ebp - 0x40030]
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.got_ptr__p__expected__p_n
cmp eax, edi
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalFlags]
sub esp, 4
mov edi, eax
mov eax, 0x5f6
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 8], edi
mov dword [esp + 4], str.GlobalFlags_returned__x__error__lu_n
mov dword [esp + 0xc], eax
xor eax, eax
cmp edi, 2
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov edi, eax
mov eax, 0x5f8
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str.GlobalUnlock_failed__error__lu_n
mov dword [esp + 8], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalFlags]
sub esp, 4
mov edi, eax
mov eax, 0x5fa
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 8], edi
mov dword [esp + 4], str.GlobalFlags_returned__x__error__lu_n
mov dword [esp + 0xc], eax
xor eax, eax
cmp edi, 1
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov edi, eax
mov eax, 0x5fd
call fcn.00487b80
xor eax, eax
test edi, edi
mov dword [esp + 4], str.GlobalUnlock_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x5fe
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x34]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalFlags]
sub esp, 4
mov edi, eax
mov eax, 0x600
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 8], edi
mov dword [esp + 4], str.GlobalFlags_returned__x__error__lu_n
mov dword [esp + 0xc], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov edi, eax
mov eax, 0x603
call fcn.00487b80
xor eax, eax
test edi, edi
mov dword [esp + 4], str.GlobalUnlock_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x604
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x9e
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x606
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
mov ebx, dword [ebp - 0x40034]
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0x64
mov dword [esp], 0x2000
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x609
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [0x78e014]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x60b
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
mov edi, dword [ebp - 0x40034]
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], ebx
call dword [0x78e014]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x610
call fcn.00487b80
mov dword [esp + 4], str.GlobalFree_succeeded_n
xor eax, eax
cmp dword [ebp - 0x40034], ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x611
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], 0xc042
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x615
call fcn.00487b80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.GlobalSize_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x616
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0x100
mov dword [esp], 2
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov edi, eax
sub esp, 8
mov eax, 0x61b
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], edi
call dword [0x78e014]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x61d
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x40034]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], edi
call dword [0x78e014]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x620
call fcn.00487b80
mov dword [esp + 4], str.GlobalFree_succeeded_n
xor eax, eax
cmp dword [ebp - 0x40034], edi
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x621
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GlobalFlags]
sub esp, 4
mov ebx, eax
mov eax, 0x624
call fcn.00487b80
xor eax, eax
cmp ebx, 0x8000
mov dword [esp + 4], str.GlobalFlags_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x625
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], edi
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x628
call fcn.00487b80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.GlobalSize_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x629
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov ebx, eax
mov eax, 0x62c
call fcn.00487b80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.GlobalLock_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x62d
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
mov ebx, eax
mov eax, dword [0x8f0770]
sub esp, 4
call fcn.00487980
jmp 0x48b439
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x631
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalUnlock_failed__error__lu_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488240
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x48b408
mov eax, 0x632
mov esi, dword fs:[0x18]
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], edi
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov dword [ebp - 0x40034], eax
mov eax, 0x635
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov ebx, dword [ebp - 0x40034]
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x636
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GlobalHandle]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x63b
call fcn.00487b80
mov dword [esp + 4], str.GlobalHandle_succeeded_n
xor eax, eax
mov edi, dword [ebp - 0x40034]
test edi, edi
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x63c
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], 0xdeadbee4
call dword [0x78e014]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x642
call fcn.00487b80
mov dword [esp + 4], str.GlobalFree_succeeded_n
xor eax, eax
cmp dword [ebp - 0x40034], 0xdeadbee4
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x643
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], 0xdeadbee4
call dword [sym.imp.kernel32.dll_GlobalFlags]
sub esp, 4
mov ebx, eax
mov eax, 0x646
call fcn.00487b80
xor eax, eax
cmp ebx, 0x8000
mov dword [esp + 4], str.GlobalFlags_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x647
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], 0xdeadbee4
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x64a
call fcn.00487b80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.GlobalSize_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x64b
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], 0xdeadbee4
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov ebx, eax
mov eax, 0x64e
call fcn.00487b80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.GlobalLock_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x64f
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], 0xdeadbee4
call dword [sym.imp.kernel32.dll_GlobalUnlock]
mov ebx, eax
mov eax, dword [0x8f0770]
sub esp, 4
call fcn.00487980
jmp 0x48b761
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x653
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalUnlock_failed__error__lu_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488240
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x48b730
mov eax, 0x654
mov esi, dword fs:[0x18]
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], 0xdeadbee4
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov dword [ebp - 0x40034], eax
mov eax, 0x657
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x658
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], 0xdeadbee4
call dword [sym.imp.kernel32.dll_GlobalHandle]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x65d
call fcn.00487b80
mov dword [esp + 4], str.GlobalHandle_succeeded_n
xor eax, eax
mov ecx, dword [ebp - 0x40034]
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x65e
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
lea eax, [ebp - 0x4002c]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x40030]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xdeadbee4
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [0x78e024]
sub esp, 0x14
mov ebx, eax
mov eax, 0x661
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.RtlGetUserInfoHeap_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test bl, bl
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x662
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], 0xdeadbee0
call dword [0x78e014]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x668
call fcn.00487b80
mov dword [esp + 4], str.GlobalFree_succeeded_n
xor eax, eax
cmp dword [ebp - 0x40034], 0xdeadbee0
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [0x8f0770]
call fcn.00487980
jmp 0x48b9bd
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x66a
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x3e6
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x48b980
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0xdeadbeef
mov dword [esp], 0xdeadbee0
call dword [sym.imp.kernel32.dll_GlobalFlags]
mov ebx, eax
mov eax, dword [0x8f0770]
sub esp, 4
call fcn.00487980
jmp 0x48ba35
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x66e
xor eax, eax
cmp ebx, 0x8000
sete al
mov dword [esp + 4], str.GlobalFlags_succeeded_n
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x48ba00
mov eax, dword [0x8f0770]
mov ebx, dword fs:[0x18]
call fcn.00487980
jmp 0x48ba9a
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x670
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x48ba60
mov ebx, dword fs:[0x18]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp], 0xdeadbee0
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov esi, eax
mov eax, 0x673
call fcn.00487b80
xor eax, eax
test esi, esi
mov dword [esp + 4], str.GlobalSize_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x674
call fcn.00487b80
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp], 0xdeadbee0
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov esi, eax
mov eax, 0x677
call fcn.00487b80
xor eax, eax
test esi, esi
mov dword [esp + 4], str.GlobalLock_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [0x8f0770]
call fcn.00487980
jmp 0x48bb9a
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x679
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x48bb60
mov ebx, dword fs:[0x18]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp], 0xdeadbee0
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov esi, eax
mov eax, 0x67c
call fcn.00487b80
mov eax, dword [ebx + 0x34]
mov dword [esp], esi
mov dword [esp + 4], str.GlobalUnlock_failed__error__lu_n
mov dword [esp + 8], eax
call fcn.00488240
mov eax, 0x67d
call fcn.00487b80
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0xdeadbeef
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], 0xdeadbee0
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov dword [ebp - 0x40034], eax
mov eax, 0x680
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edi, dword [ebp - 0x40034]
test edi, edi
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [0x8f0770]
call fcn.00487980
jmp 0x48bcbd
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x682
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x3e6
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x48bc80
mov edi, dword fs:[0x18]
mov dword [ebp - 0x40060], edi
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp], 0xdeadbee0
call dword [sym.imp.kernel32.dll_GlobalHandle]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x685
call fcn.00487b80
mov dword [esp + 4], str.GlobalHandle_succeeded_n
xor eax, eax
mov ecx, dword [ebp - 0x40034]
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x686
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0xc
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x691
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0xb
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov dword [ebp - 0x40034], eax
mov eax, 0x693
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
mov esi, dword [ebp - 0x40034]
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x694
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str.got_ptr__p__expected__p_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov ecx, dword [ebp - 0x40048]
call ecx
sub esp, 4
mov esi, eax
mov eax, 0x696
call fcn.00487b80
xor eax, eax
cmp esi, 0xc
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov dword [ebp - 0x40034], eax
mov eax, 0x699
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x69a
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edi + 0x34], 8
sete al
mov dword [esp], eax
call fcn.00488240
mov esi, dword [ebp - 0x40034]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0x100000
test esi, esi
cmove esi, ebx
mov dword [esp], esi
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov dword [ebp - 0x40034], eax
mov eax, 0x69d
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x40034]
xor eax, eax
test ecx, ecx
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x69e
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 0xc], esi
mov dword [esp + 4], str.got_ptr__p__expected__p_n
cmp esi, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], esi
mov ecx, dword [ebp - 0x40048]
call ecx
sub esp, 4
mov ebx, eax
mov eax, 0x6a0
call fcn.00487b80
xor eax, eax
cmp ebx, 0xc
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], esi
mov ecx, dword [ebp - 0x40040]
call ecx
sub esp, 4
mov ebx, eax
mov eax, 0x6a2
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0xc
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x6a6
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 0xd
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov dword [ebp - 0x40034], eax
mov eax, 0x6a8
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalReAlloc_failed__error__lu_n
mov dword [esp + 8], eax
mov esi, dword [ebp - 0x40034]
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x6a9
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_didnt_relocate_memory_n
xor eax, eax
cmp dword [ebp - 0x40034], ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40034]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov esi, eax
mov dword [ebp - 0x4005c], eax
mov eax, 0x6ab
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalLock_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x6ac
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 8], esi
mov dword [esp + 4], str.got_ptr__p__expected__p_n
cmp eax, esi
mov dword [esp + 0xc], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40034]
mov dword [esp], eax
mov ecx, dword [ebp - 0x40040]
call ecx
sub esp, 4
mov ebx, eax
mov eax, 0x6ae
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
xor esi, esi
mov dword [esp], eax
call fcn.00488240
mov dword [ebp - 0x40038], esi
mov dword [ebp - 0x40054], 0
lea esi, [esi]
nop
mov esi, dword [ebp - 0x40038]
mov dword [esp], str.flags__x
mov dword [esp + 4], esi
mov edi, esi
and edi, 0x82
call fcn.00487aa0
mov dword [esp + 4], 0xc
mov dword [esp], 0
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6bd
mov eax, dword [ebp - 0x40060]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6be
mov eax, ebx
and eax, 7
mov dword [esp + 8], ebx
cmp eax, 4
mov dword [esp + 4], str.unexpected_moveable__p_n
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 8], esi
mov dword [esp + 4], 0x200
mov dword [esp], ebx
mov eax, dword [ebp - 0x40044]
call eax
mov dword [ebp - 0x40034], eax
mov eax, esi
sub esp, 0xc
and eax, 0x100
mov dword [ebp - 0x4004c], eax
cmp edi, 0x82
je 0x48e680
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6c3
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.unexpected_moveable__p_n
mov dword [esp + 8], eax
and eax, 7
cmp eax, 4
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
cmp esi, 0x80
je 0x48e373
cmp dword [ebp - 0x40038], 2
je 0x48e3c4
mov eax, 0x6c5
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
mov esi, dword [ebp - 0x40034]
test esi, esi
je 0x48e3ad
mov dword [esp], esi
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov edx, eax
mov dword [ebp - 0x4003c], edx
call fcn.0057d110
mov edx, dword [ebp - 0x4003c]
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6d4
xor eax, eax
cmp edx, 0xc
sete al
mov dword [esp + 8], edx
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], esi
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov esi, dword [ebp - 0x40060]
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6d7
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0x20000
mov dword [esp], 0
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6db
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6dc
mov eax, ebx
and eax, 7
mov dword [esp + 8], ebx
cmp eax, 4
mov dword [esp + 4], str.unexpected_moveable__p_n
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40038]
mov dword [esp], ebx
mov dword [esp + 4], 0x20200
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x40044]
call eax
mov dword [ebp - 0x40034], eax
sub esp, 0xc
cmp edi, 0x82
je 0x48e782
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6e1
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.unexpected_moveable__p_n
mov dword [esp + 8], eax
and eax, 7
cmp eax, 4
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov ecx, dword [ebp - 0x4004c]
test ecx, ecx
je 0x48de9b
mov eax, 0x6e2
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
mov esi, dword [ebp - 0x40034]
test esi, esi
cmove esi, ebx
mov dword [esp], esi
mov eax, dword [ebp - 0x40048]
call eax
mov ebx, eax
mov eax, dword [ebp - 0x40038]
sub esp, 4
and eax, 0x180
mov dword [ebp - 0x4003c], eax
je 0x48dd4a
mov eax, 0x6f0
call fcn.00487b80
xor eax, eax
cmp ebx, 0x20000
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], esi
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6f4
mov ebx, dword fs:[0x18]
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0xc
mov dword [esp], 0
call dword [0x78e018]
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6f8
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6f9
mov eax, esi
and eax, 7
mov dword [esp + 8], esi
cmp eax, 4
mov dword [esp + 4], str.unexpected_moveable__p_n
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov ebx, dword [ebp - 0x40038]
mov dword [esp], esi
mov dword [esp + 4], 0xa
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x40044]
call eax
mov dword [ebp - 0x40034], eax
sub esp, 0xc
cmp edi, 0x82
je 0x48e1d3
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6fe
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.unexpected_moveable__p_n
mov dword [esp + 8], eax
and eax, 7
cmp eax, 4
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
cmp ebx, 0x80
je 0x48e8ae
mov eax, dword [ebp - 0x40038]
cmp eax, 2
je 0x48f6bb
xor ebx, ebx
test eax, eax
jne 0x48c605
mov eax, dword [0x8f0770]
xor ebx, ebx
test eax, eax
setne bl
call fcn.0057d110
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
or edx, ebx
mov dword [eax + 0x10], edx
jmp 0x48c657
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x700
xor eax, eax
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
mov ebx, dword [ebp - 0x40034]
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x48c620
mov edx, dword [ebp - 0x40034]
test edx, edx
jne 0x48f774
mov dword [esp], esi
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x40038]
test eax, eax
jne 0x48e2af
mov eax, dword [0x8f0770]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x40050], ecx
call fcn.0057d110
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x40050]
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x48c706
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x70f
xor eax, eax
cmp ebx, 0xc
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
call fcn.00488240
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x48c6d0
mov dword [esp], esi
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x712
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0x20000
mov dword [esp], 0
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x716
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x717
mov eax, ebx
and eax, 7
mov dword [esp + 8], ebx
cmp eax, 4
mov dword [esp + 4], str.unexpected_moveable__p_n
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40038]
mov dword [esp], ebx
mov dword [esp + 4], 0xa
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x40044]
call eax
mov dword [ebp - 0x40034], eax
sub esp, 0xc
cmp edi, 0x82
je 0x48e11d
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x71c
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.unexpected_moveable__p_n
mov dword [esp + 8], eax
and eax, 7
cmp eax, 4
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov ecx, dword [ebp - 0x4004c]
test ecx, ecx
je 0x48e2c0
mov eax, 0x71d
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
mov esi, dword [ebp - 0x40034]
test esi, esi
cmove esi, ebx
mov dword [esp], esi
mov eax, dword [ebp - 0x40048]
call eax
mov ecx, dword [ebp - 0x4003c]
sub esp, 4
mov ebx, eax
test ecx, ecx
je 0x48dd1f
mov eax, 0x72b
call fcn.00487b80
xor eax, eax
cmp ebx, 0x20000
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], esi
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x72f
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0xc
mov dword [esp], 0
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x733
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x734
mov eax, ebx
and eax, 7
mov dword [esp + 8], ebx
cmp eax, 4
mov dword [esp + 4], str.unexpected_moveable__p_n
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov esi, dword [ebp - 0x40038]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x40044]
call eax
mov dword [ebp - 0x40034], eax
sub esp, 0xc
cmp edi, 0x82
je 0x48df76
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x739
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.unexpected_moveable__p_n
mov dword [esp + 8], eax
and eax, 7
cmp eax, 4
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
cmp esi, 0x80
je 0x48e8d1
cmp dword [ebp - 0x40038], 2
je 0x48e540
mov eax, 0x73b
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
mov edx, dword [ebp - 0x40034]
test edx, edx
je 0x48e036
mov dword [esp], edx
mov eax, dword [ebp - 0x40048]
mov dword [ebp - 0x40050], edx
call eax
mov ebx, dword [ebp - 0x40050]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x74a
xor eax, eax
cmp esi, 0xc
sete al
mov dword [esp + 8], esi
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x74d
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0x20000
mov dword [esp], 0
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x751
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x752
mov eax, ebx
and eax, 7
mov dword [esp + 8], ebx
cmp eax, 4
mov dword [esp + 4], str.unexpected_moveable__p_n
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40038]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x40044]
call eax
mov dword [ebp - 0x40034], eax
sub esp, 0xc
cmp edi, 0x82
je 0x48decc
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x757
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.unexpected_moveable__p_n
mov dword [esp + 8], eax
and eax, 7
cmp eax, 4
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov ecx, dword [ebp - 0x4004c]
test ecx, ecx
je 0x48e342
mov eax, 0x758
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
mov esi, dword [ebp - 0x40034]
test esi, esi
cmove esi, ebx
mov dword [esp], esi
mov eax, dword [ebp - 0x40048]
call eax
mov ebx, eax
mov eax, dword [ebp - 0x4003c]
sub esp, 4
test eax, eax
je 0x48dd78
mov eax, 0x766
call fcn.00487b80
xor eax, eax
cmp ebx, 0x20000
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], esi
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x76a
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0xc
mov dword [esp], 2
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x76e
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x76f
mov eax, ebx
and eax, 7
mov dword [esp + 8], ebx
cmp eax, 4
mov dword [esp + 4], str.unexpected_moveable__p_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x771
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalLock_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebx]
mov esi, dword [ebx - 4]
mov dword [ebp - 0x40058], eax
mov eax, dword [ebp - 0x40038]
mov dword [esp + 4], 0x200
mov dword [esp + 8], eax
mov dword [esp], ebx
mov ecx, dword [ebp - 0x40044]
call ecx
mov dword [ebp - 0x40034], eax
mov eax, dword [ebp - 0x40038]
sub esp, 0xc
and eax, 0x80
mov dword [ebp - 0x40050], eax
jne 0x48dac6
mov eax, dword [ebp - 0x4004c]
test eax, eax
jne 0x48e4fc
test byte [ebp - 0x40038], 2
je 0x48e49f
mov eax, 0x777
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov edx, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalReAlloc_returned__p__error__lu_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00488240
cmp dword [ebp - 0x4003c], 0x180
mov edi, dword [ebx - 4]
mov edx, dword [ebx]
je 0x48db03
xor ecx, ecx
cmp esi, edi
sete cl
cmp dword [ebp - 0x40038], 2
mov dword [ebp - 0x40064], ecx
jne 0x48db06
mov eax, 0x77b
mov dword [ebp - 0x4005c], edx
call fcn.00487b80
mov edx, dword [ebp - 0x4005c]
mov dword [esp + 4], str.got_unexpected_ptr__p_n
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x40058]
cmp edx, eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x77d
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], str.got_flags__Ix_was__Ix_n
mov ecx, dword [ebp - 0x40064]
mov dword [esp], ecx
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov esi, eax
mov eax, 0x780
call fcn.00487b80
xor eax, eax
cmp esi, 0x200
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x784
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.GlobalUnlock_succeeded_n
mov dword [esp], eax
mov esi, dword fs:[0x18]
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x786
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0xc
mov dword [esp], 2
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x78a
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x78b
mov eax, ebx
and eax, 7
mov dword [esp + 8], ebx
cmp eax, 4
mov dword [esp + 4], str.unexpected_moveable__p_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x78d
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalLock_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebx - 4]
mov edi, dword [ebx]
mov dword [ebp - 0x40058], eax
mov eax, dword [ebp - 0x40038]
mov dword [esp + 4], 0xa
mov dword [esp + 8], eax
mov dword [esp], ebx
mov eax, dword [ebp - 0x40044]
call eax
mov dword [ebp - 0x40034], eax
mov eax, dword [ebp - 0x40050]
sub esp, 0xc
test eax, eax
jne 0x48e338
mov ecx, dword [ebp - 0x4004c]
test ecx, ecx
je 0x48e04b
mov eax, 0x792
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
mov esi, dword [ebx]
xor eax, eax
mov edx, dword [ebx - 4]
cmp edi, esi
mov dword [ebp - 0x40064], edx
sete al
cmp dword [ebp - 0x4003c], 0x180
mov dword [ebp - 0x4005c], eax
je 0x48dde4
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x796
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], str.got_ptr__p_was__p_n
mov eax, dword [ebp - 0x4005c]
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x797
mov eax, dword [ebp - 0x40058]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x40064]
mov dword [esp + 4], str.got_flags__Ix_was__Ix_n
cmp eax, edx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
mov edi, dword [ebp - 0x4003c]
sub esp, 4
mov esi, eax
test edi, edi
jne 0x48de70
mov eax, 0x79b
call fcn.00487b80
xor eax, eax
cmp esi, 0xa
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x79e
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.GlobalUnlock_succeeded_n
mov dword [esp], eax
mov edi, dword fs:[0x18]
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7a0
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0xc
mov dword [esp], 2
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7a4
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7a5
mov eax, ebx
and eax, 7
mov dword [esp + 8], ebx
cmp eax, 4
mov dword [esp + 4], str.unexpected_moveable__p_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov esi, eax
mov dword [ebp - 0x4005c], eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7a7
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalLock_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebx]
mov esi, dword [ebx - 4]
mov dword [ebp - 0x40058], eax
mov eax, dword [ebp - 0x40038]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], ebx
mov eax, dword [ebp - 0x40044]
call eax
mov ecx, dword [ebp - 0x40050]
mov dword [ebp - 0x40034], eax
sub esp, 0xc
test ecx, ecx
je 0x48ddb8
mov eax, 0x7ab
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov edx, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalReAlloc_returned__p__error__lu_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov edx, dword [ebx - 4]
mov ecx, dword [ebx]
mov eax, esi
or eax, 4
cmp dword [ebp - 0x4003c], 0x180
cmove esi, eax
mov dword [ebp - 0x40068], edx
mov dword [ebp - 0x40064], ecx
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7af
mov eax, dword [ebp - 0x40058]
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0x40064]
mov dword [esp + 4], str.got_ptr__p_was__p_n
cmp eax, ecx
mov dword [esp + 8], ecx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7b0
xor eax, eax
mov dword [esp + 0xc], esi
mov edx, dword [ebp - 0x40068]
mov dword [esp + 4], str.got_flags__Ix_was__Ix_n
cmp esi, edx
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7b3
xor eax, eax
cmp esi, 0xc
sete al
mov dword [esp + 8], esi
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7b6
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.GlobalUnlock_succeeded_n
mov dword [esp], eax
mov edi, dword fs:[0x18]
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7b8
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0xc
mov dword [esp], 2
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7bc
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7bd
mov eax, ebx
and eax, 7
mov dword [esp + 8], ebx
cmp eax, 4
mov dword [esp + 4], str.unexpected_moveable__p_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebx]
mov esi, dword [ebx - 4]
mov dword [ebp - 0x40058], eax
mov eax, dword [ebp - 0x40038]
mov dword [esp + 4], 0x200
mov dword [esp + 8], eax
mov dword [esp], ebx
mov eax, dword [ebp - 0x40044]
call eax
mov dword [ebp - 0x40034], eax
mov eax, dword [ebp - 0x40050]
sub esp, 0xc
test eax, eax
jne 0x48e2f1
mov ecx, dword [ebp - 0x4004c]
test ecx, ecx
je 0x48e083
mov eax, 0x7c2
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
cmp dword [ebp - 0x4003c], 0x180
mov edi, dword [ebx - 4]
mov edx, dword [ebx]
je 0x48dc7b
xor ecx, ecx
mov eax, dword [ebp - 0x4003c]
cmp edi, esi
sete cl
mov dword [ebp - 0x40064], ecx
test eax, eax
jne 0x48dc7e
mov eax, 0x7c7
mov dword [ebp - 0x40068], edx
call fcn.00487b80
mov edx, dword [ebp - 0x40068]
xor eax, eax
mov dword [esp + 4], str.got_unexpected_ptr__p_n
mov dword [esp + 8], edx
cmp dword [ebp - 0x40058], edx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7c8
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], str.got_flags__Ix_was__Ix_n
mov ecx, dword [ebp - 0x40064]
mov dword [esp], ecx
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov esi, eax
mov eax, 0x7cc
call fcn.00487b80
xor eax, eax
cmp esi, 0x200
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7cf
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0xc
mov dword [esp], 2
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7d3
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7d4
mov eax, ebx
and eax, 7
mov dword [esp + 8], ebx
cmp eax, 4
mov dword [esp + 4], str.unexpected_moveable__p_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebx - 4]
mov edi, dword [ebx]
mov dword [ebp - 0x40058], eax
mov eax, dword [ebp - 0x40038]
mov dword [esp + 4], 0xa
mov dword [esp + 8], eax
mov dword [esp], ebx
mov eax, dword [ebp - 0x40044]
call eax
mov dword [ebp - 0x40034], eax
mov eax, dword [ebp - 0x40050]
sub esp, 0xc
test eax, eax
jne 0x48e2b6
mov ecx, dword [ebp - 0x4004c]
test ecx, ecx
je 0x48e0e5
mov eax, 0x7d9
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
mov esi, dword [ebx]
xor eax, eax
mov edx, dword [ebx - 4]
cmp edi, esi
mov dword [ebp - 0x40068], edx
sete al
cmp dword [ebp - 0x4003c], 0x180
mov dword [ebp - 0x40064], eax
je 0x48dbc4
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7dd
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.got_ptr__p_was__p_n
mov eax, dword [ebp - 0x40064]
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7de
mov eax, dword [ebp - 0x40058]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x40068]
mov dword [esp + 4], str.got_flags__Ix_was__Ix_n
cmp eax, edx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
mov esi, eax
mov eax, dword [ebp - 0x4003c]
sub esp, 4
test eax, eax
jne 0x48dc50
mov eax, 0x7e2
call fcn.00487b80
xor eax, eax
cmp esi, 0xa
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7e5
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0xc
mov dword [esp], 2
call dword [0x78e018]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7e9
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7ea
mov eax, ebx
and eax, 7
mov dword [esp + 8], ebx
cmp eax, 4
mov dword [esp + 4], str.unexpected_moveable__p_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebx]
mov esi, dword [ebx - 4]
mov dword [ebp - 0x40058], eax
mov eax, dword [ebp - 0x40038]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], ebx
mov eax, dword [ebp - 0x40044]
call eax
mov dword [ebp - 0x40034], eax
mov eax, dword [ebp - 0x40050]
sub esp, 0xc
test eax, eax
jne 0x48e2fb
mov ecx, dword [ebp - 0x40038]
test ecx, ecx
je 0x48e4cb
mov eax, dword [ebp - 0x4004c]
test eax, eax
je 0x48e448
mov eax, 0x7f0
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edi, dword [ebp - 0x40034]
test edi, edi
sete al
mov dword [esp], eax
call fcn.00488240
mov edx, dword [ebx - 4]
mov ecx, dword [ebx]
mov eax, esi
or eax, 4
cmp dword [ebp - 0x4003c], 0x180
cmove esi, eax
mov dword [ebp - 0x4003c], edx
mov dword [ebp - 0x4004c], ecx
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7f9
mov eax, dword [ebp - 0x40058]
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0x4004c]
mov dword [esp + 4], str.got_ptr__p_was__p_n
cmp eax, ecx
mov dword [esp + 8], ecx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7fa
xor eax, eax
mov dword [esp + 0xc], esi
mov edx, dword [ebp - 0x4003c]
mov dword [esp + 4], str.got_flags__Ix_was__Ix_n
cmp esi, edx
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
cmp dword [ebp - 0x40038], 2
mov esi, eax
je 0x48e0bb
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7fe
xor eax, eax
cmp esi, 0xc
sete al
mov dword [esp + 8], esi
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x801
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov edx, dword [eax + 0xbec]
test edx, edx
je 0x48da9e
sub edx, 1
mov dword [eax + 0xbec], edx
add dword [ebp - 0x40054], 1
mov eax, dword [ebp - 0x40054]
cmp eax, 8
je 0x48e8f4
mov eax, dword [eax*4 + 0x5d31a0]
mov dword [ebp - 0x40038], eax
jmp 0x48c140
mov eax, 0x775
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.GlobalReAlloc_returned__p_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov edi, dword [ebx - 4]
mov edx, dword [ebx]
cmp dword [ebp - 0x4003c], 0x180
jne 0x48db06
or esi, 4
mov dword [ebp - 0x4005c], edx
call fcn.0057d110
mov edx, dword [ebp - 0x4005c]
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x77c
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], str.got_ptr__p_n
cmp dword [ebp - 0x40058], edx
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x77d
xor eax, eax
cmp edi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.got_flags__Ix_was__Ix_n
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
cmp dword [ebp - 0x40038], 2
mov esi, eax
je 0x48ce8c
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x781
xor eax, eax
cmp esi, 0xc
sete al
mov dword [esp + 8], esi
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
jmp 0x48ceb5
mov ecx, dword [ebp - 0x40058]
or ecx, 4
mov dword [ebp - 0x40058], ecx
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7dd
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.got_ptr__p_was__p_n
mov eax, dword [ebp - 0x40064]
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov ecx, dword [ebp - 0x40058]
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7de
xor eax, eax
mov dword [esp + 0xc], ecx
mov edx, dword [ebp - 0x40068]
mov dword [esp + 4], str.got_flags__Ix_was__Ix_n
cmp ecx, edx
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov esi, eax
mov eax, 0x7e1
call fcn.00487b80
xor eax, eax
cmp esi, 0xc
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
jmp 0x48d816
or esi, 4
mov eax, 0x7c6
mov dword [ebp - 0x40064], edx
call fcn.00487b80
mov edx, dword [ebp - 0x40064]
xor eax, eax
mov dword [esp + 4], str.got_ptr__p_n
mov dword [esp + 8], edx
cmp dword [ebp - 0x40058], edx
sete al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x7c8
xor eax, eax
cmp edi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.got_flags__Ix_was__Ix_n
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov esi, eax
mov eax, 0x7cb
call fcn.00487b80
xor eax, eax
cmp esi, 0xc
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
jmp 0x48d603
mov eax, 0x72c
call fcn.00487b80
xor eax, eax
cmp ebx, 0xa
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
jmp 0x48c8cf
mov eax, 0x6f1
call fcn.00487b80
xor eax, eax
cmp ebx, 0x20200
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
jmp 0x48c4a9
mov eax, 0x767
call fcn.00487b80
mov eax, 1
test ebx, ebx
je 0x48dd9f
mov eax, dword [0x8f0770]
test eax, eax
sete dl
xor eax, eax
cmp ebx, 1
sete al
and eax, edx
mov dword [esp + 8], ebx
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
jmp 0x48cc4c
mov eax, 0x7ac
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
jmp 0x48d2ef
mov ecx, dword [ebp - 0x40058]
or ecx, 4
mov dword [ebp - 0x40058], ecx
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x796
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.got_ptr__p_was__p_n
mov eax, dword [ebp - 0x4005c]
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov ecx, dword [ebp - 0x40058]
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x797
xor eax, eax
mov dword [esp + 0xc], ecx
mov edx, dword [ebp - 0x40064]
mov dword [esp + 4], str.got_flags__Ix_was__Ix_n
cmp edx, ecx
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov esi, eax
mov eax, 0x79a
call fcn.00487b80
xor eax, eax
cmp esi, 0xc
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
jmp 0x48d13d
mov eax, 0x6e3
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.GlobalReAlloc_returned__p_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
jmp 0x48c44e
mov eax, 0x75d
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.unexpected_moveable__p_n
mov dword [esp + 8], eax
and eax, 7
cmp eax, 4
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40034]
mov edi, dword [eax]
mov esi, dword [eax - 4]
mov eax, 0x75f
call fcn.00487b80
mov eax, dword [ebp - 0x4005c]
mov dword [esp + 4], str.got_ptr__p_was__p_n
mov dword [esp + 8], edi
cmp edi, eax
mov dword [esp + 0xc], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x4004c]
test eax, eax
je 0x48e5d6
mov eax, 0x760
call fcn.00487b80
mov dword [esp + 8], esi
xor eax, eax
and esi, 0x7fff
cmp esi, 7
mov dword [esp + 4], str.got_flags__Ix_n
sete al
mov dword [esp], eax
call fcn.00488240
jmp 0x48cbfa
mov eax, 0x740
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.unexpected_moveable__p_n
mov dword [esp + 8], eax
and eax, 7
cmp eax, 4
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40034]
mov edx, dword [eax]
mov esi, dword [eax - 4]
mov eax, 0x742
mov dword [ebp - 0x40050], edx
call fcn.00487b80
mov eax, dword [ebp - 0x4005c]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x40050]
mov dword [esp + 4], str.got_ptr__p_was__p_n
cmp edx, eax
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x4004c]
test eax, eax
je 0x48e65c
mov eax, 0x743
call fcn.00487b80
mov dword [esp + 4], str.got_flags__Ix_n
mov dword [esp + 8], esi
and esi, 0x7fff
cmp esi, 7
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov edx, dword [ebp - 0x40034]
test edx, edx
jne 0x48ca4c
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov esi, eax
jmp 0x48ca68
mov eax, 0x793
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov edx, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalReAlloc_returned__p__error__lu_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00488240
jmp 0x48d063
mov eax, 0x7c3
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov edx, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalReAlloc_returned__p__error__lu_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00488240
jmp 0x48d535
mov eax, 0x7fd
call fcn.00487b80
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
jmp 0x48da40
mov eax, 0x7da
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov edx, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalReAlloc_returned__p__error__lu_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00488240
jmp 0x48d73c
mov eax, 0x722
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.unexpected_moveable__p_n
mov dword [esp + 8], eax
and eax, 7
cmp eax, 4
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40034]
mov edx, dword [eax]
mov esi, dword [eax - 4]
mov eax, 0x724
mov dword [ebp - 0x40050], edx
call fcn.00487b80
mov eax, dword [ebp - 0x4005c]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x40050]
mov dword [esp + 4], str.got_ptr__p_was__p_n
cmp edx, eax
mov dword [esp + 8], edx
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x4004c]
test eax, eax
je 0x48e607
mov eax, 0x725
call fcn.00487b80
mov dword [esp + 8], esi
xor eax, eax
and esi, 0x7fff
cmp esi, 7
mov dword [esp + 4], str.got_flags__Ix_n
sete al
mov dword [esp], eax
call fcn.00488240
jmp 0x48c87d
mov eax, 0x705
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.unexpected_moveable__p_n
mov dword [esp + 8], eax
and eax, 7
cmp eax, 4
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40034]
mov edx, dword [eax]
mov ebx, dword [eax - 4]
mov eax, 0x707
mov dword [ebp - 0x40050], edx
call fcn.00487b80
mov eax, dword [ebp - 0x4005c]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x40050]
mov dword [esp + 4], str.got_ptr__p_was__p_n
cmp edx, eax
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov ecx, dword [ebp - 0x4004c]
test ecx, ecx
je 0x48e638
mov eax, 0x708
call fcn.00487b80
mov dword [esp + 4], str.got_flags__Ix_n
mov dword [esp + 8], ebx
and ebx, 0x7fff
cmp ebx, 7
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov edx, dword [ebp - 0x40034]
test edx, edx
je 0x48e897
mov dword [esp], edx
mov eax, dword [ebp - 0x40048]
mov dword [ebp - 0x40050], edx
call eax
mov esi, dword [ebp - 0x40050]
sub esp, 4
mov ebx, eax
xor ecx, ecx
jmp 0x48c6a2
mov eax, 0x7d8
jmp 0x48e0ea
mov eax, 0x71e
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.GlobalReAlloc_returned__p_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
jmp 0x48c87d
mov eax, 0x7c1
jmp 0x48e088
mov eax, 0x7ee
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov edx, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalReAlloc_returned__p__error__lu_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov edx, dword [ebx - 4]
mov ecx, dword [ebx]
jmp 0x48d962
mov eax, 0x791
jmp 0x48e050
mov eax, 0x759
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.GlobalReAlloc_returned__p_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
jmp 0x48cbfa
mov eax, 0x6c4
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.GlobalReAlloc_returned__p_n
mov dword [esp + 8], eax
cmp eax, ebx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov esi, dword [ebp - 0x40034]
test esi, esi
jne 0x48c2a1
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
mov esi, ebx
call eax
sub esp, 4
mov edx, eax
jmp 0x48c2b1
mov eax, 0x6c6
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.GlobalReAlloc_returned__p_n
cmp eax, ebx
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov esi, dword [ebp - 0x40034]
test esi, esi
je 0x48f7ea
mov dword [esp], esi
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov edx, eax
mov eax, 0x6d3
mov dword [ebp - 0x4003c], edx
call fcn.00487b80
mov edx, dword [ebp - 0x4003c]
xor eax, eax
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
cmp edx, 0x200
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.00488240
jmp 0x48c2eb
mov eax, 0x7f1
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov edx, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalReAlloc_returned__p__error__lu_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00488240
cmp dword [ebp - 0x40038], 2
mov edx, dword [ebx - 4]
mov ecx, dword [ebx]
jne 0x48d962
mov dword [ebp - 0x40058], 0
or esi, 8
jmp 0x48d974
mov eax, 0x778
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
jmp 0x48cde5
mov eax, 0x7ef
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x40034]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
mov edx, dword [ebx - 4]
mov ecx, dword [ebx]
jmp 0x48d974
mov eax, 0x776
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_succeeded_n
xor eax, eax
mov ecx, dword [ebp - 0x40034]
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00488240
mov edi, dword [ebx - 4]
mov edx, dword [ebx]
cmp dword [ebp - 0x4003c], 0x180
jne 0x48db06
or esi, 4
jmp 0x48db06
mov eax, 0x73c
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.GlobalReAlloc_returned__p_n
cmp eax, ebx
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov edx, dword [ebp - 0x40034]
test edx, edx
je 0x48f801
mov dword [esp], edx
mov eax, dword [ebp - 0x40048]
mov dword [ebp - 0x40050], edx
call eax
mov ebx, dword [ebp - 0x40050]
sub esp, 4
mov esi, eax
mov eax, 0x749
call fcn.00487b80
mov eax, 1
test esi, esi
je 0x48e5bd
mov eax, dword [0x8f0770]
test eax, eax
sete dl
xor eax, eax
cmp esi, 1
sete al
and eax, edx
mov dword [esp + 8], esi
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
jmp 0x48ca96
mov eax, 0x761
call fcn.00487b80
mov dword [esp + 8], esi
xor eax, eax
and esi, 0x7fff
cmp esi, 3
mov dword [esp + 4], str.got_flags__Ix_n
sete al
mov dword [esp], eax
call fcn.00488240
jmp 0x48cbfa
mov eax, 0x726
call fcn.00487b80
mov dword [esp + 8], esi
xor eax, eax
and esi, 0x7fff
cmp esi, 3
mov dword [esp + 4], str.got_flags__Ix_n
sete al
mov dword [esp], eax
call fcn.00488240
jmp 0x48c87d
mov eax, 0x709
call fcn.00487b80
mov dword [esp + 8], ebx
and ebx, 0x7fff
mov dword [esp + 4], str.got_flags__Ix_n
cmp ebx, 3
jmp 0x48e277
mov eax, 0x744
call fcn.00487b80
mov dword [esp + 8], esi
and esi, 0x7fff
mov dword [esp + 4], str.got_flags__Ix_n
cmp esi, 3
jmp 0x48e01a
mov eax, 0x6ca
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.unexpected_moveable__p_n
mov dword [esp + 8], eax
and eax, 7
cmp eax, 4
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40034]
mov ecx, dword [eax - 4]
mov esi, dword [eax]
mov dword [ebp - 0x4003c], ecx
mov ecx, dword [0x8f0770]
mov dword [ebp - 0x40050], ecx
call fcn.0057d110
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x40050]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x48e731
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6cc
xor eax, eax
cmp esi, ebx
setne al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.got_ptr__p_was__p_n
call fcn.00488240
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x48e6f8
mov esi, dword [ebp - 0x4003c]
mov eax, dword [ebp - 0x4004c]
and esi, 0x7fff
test eax, eax
je 0x48f795
mov eax, 0x6cd
call fcn.00487b80
mov eax, dword [ebp - 0x4003c]
cmp esi, 7
mov dword [esp + 4], str.got_flags__Ix_n
mov dword [esp + 8], eax
jmp 0x48e391
mov eax, 0x6e7
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.unexpected_moveable__p_n
mov dword [esp + 8], eax
and eax, 7
cmp eax, 4
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40034]
mov ecx, dword [eax - 4]
mov esi, dword [eax]
mov dword [ebp - 0x4003c], ecx
mov ecx, dword [0x8f0770]
mov dword [ebp - 0x40050], ecx
call fcn.0057d110
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x40050]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x48e839
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x6e9
xor eax, eax
cmp esi, ebx
setne al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.got_ptr__p_was__p_n
call fcn.00488240
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x48e800
mov esi, dword [ebp - 0x4003c]
mov eax, dword [ebp - 0x4004c]
and esi, 0x7fff
test eax, eax
je 0x48f7b9
mov eax, 0x6ea
call fcn.00487b80
mov eax, dword [ebp - 0x4003c]
mov dword [esp + 4], str.got_flags__Ix_n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 7
sete al
mov dword [esp], eax
call fcn.00488240
jmp 0x48c44e
mov dword [esp], esi
mov eax, dword [ebp - 0x40048]
call eax
xor ecx, ecx
sub esp, 4
mov ebx, eax
jmp 0x48c6a2
mov eax, 0x6ff
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.GlobalReAlloc_returned__p_n
mov dword [esp + 8], eax
cmp eax, esi
jmp 0x48e277
mov eax, 0x73a
call fcn.00487b80
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.GlobalReAlloc_returned__p_n
mov dword [esp + 8], eax
cmp eax, ebx
jmp 0x48e01a
mov dword [esp + 4], 0x64
mov dword [esp], 0x2000
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x807
call fcn.00487b80
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov edi, eax
mov eax, 0x809
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str.GlobalUnlock_failed__error__lu_n
mov dword [esp + 8], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov edi, eax
mov eax, 0x80b
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str.GlobalUnlock_failed__error__lu_n
mov dword [esp + 8], eax
call fcn.00488240
mov eax, dword [ebp - 0x40070]
mov dword [ebp - 0x40024], 0xcdcdcdcd
mov dword [ebp - 0x40020], 0xcdcdcdcd
mov dword [ebp - 0x4001c], 0xcdcdcdcd
mov dword [ebp - 0x40018], 0xcdcdcdcd
mov dword [ebp - 0x40014], 0xcdcdcdcd
mov dword [ebp - 0x40010], 0xcdcdcdcd
mov dword [ebp - 0x40028], 0
mov dword [esp], eax
mov ecx, dword [ebp - 0x40074]
call ecx
sub esp, 4
mov edi, eax
mov eax, 0x810
call fcn.00487b80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.HeapLock_failed__error__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00488240
mov esi, dword [ebp - 0x40070]
jmp 0x48ea86
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x813
mov dword [esp + 4], str.got_PROCESS_HEAP_ENTRY_MOVEABLE_n
movzx eax, word [ebp - 0x4001e]
shr ax, 4
xor eax, 1
and eax, 1
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x814
mov dword [esp + 4], str.got_PROCESS_HEAP_ENTRY_DDESHARE_n
movzx eax, word [ebp - 0x4001e]
shr ax, 5
xor eax, 1
and eax, 1
mov dword [esp], eax
call fcn.00488240
lea eax, [ebp - 0x40028]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_HeapWalk]
sub esp, 8
test eax, eax
jne 0x48ea20
mov eax, 0x816
mov edi, dword fs:[0x18]
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edi + 0x34], 0x103
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, dword [ebp - 0x40070]
mov dword [esp], eax
mov eax, dword [ebp - 0x40078]
call eax
sub esp, 4
mov esi, eax
mov eax, 0x818
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp], esi
mov dword [esp + 4], str.HeapUnlock_failed__error__lu_n
mov dword [esp + 8], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x81b
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0x64
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x81e
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov esi, eax
mov eax, 0x820
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp], esi
mov dword [esp + 4], str.GlobalUnlock_failed__error__lu_n
mov dword [esp + 8], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalHandle]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x822
call fcn.00487b80
mov dword [esp + 4], str.GlobalHandle_returned_unexpected_handle_n
xor eax, eax
cmp dword [ebp - 0x40034], ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x824
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x827
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov ecx, dword [ebp - 0x40048]
call ecx
sub esp, 4
mov esi, eax
mov eax, 0x829
call fcn.00487b80
xor eax, eax
cmp esi, 1
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x82b
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0
mov dword [esp], 0x42
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x82f
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov esi, eax
mov eax, 0x832
call fcn.00487b80
xor eax, eax
test esi, esi
mov dword [esp + 4], str.GlobalLock_succeeded_n
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x833
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edi + 0x34], 0x9d
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x835
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0x186a0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x838
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov ecx, dword [ebp - 0x40048]
call ecx
sub esp, 4
mov esi, eax
mov eax, 0x83a
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], str.GlobalSize_returned__Iu__error__lu_n
mov dword [esp + 0xc], eax
xor eax, eax
cmp esi, 0x1869f
seta al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x83c
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 4], 0x186a0
mov dword [esp], 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov eax, 0x83f
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov ecx, dword [ebp - 0x40048]
call ecx
sub esp, 4
mov esi, eax
mov eax, 0x841
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], str.GlobalSize_returned__Iu__error__lu_n
mov dword [esp + 0xc], eax
xor eax, eax
cmp esi, 0x1869f
seta al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov esi, eax
mov eax, 0x843
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalLock_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x844
call fcn.00487b80
xor eax, eax
cmp ebx, esi
mov dword [esp + 0xc], ebx
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.got_ptr__p__expected__p_n
call fcn.00488240
mov eax, 0x845
call fcn.00487b80
mov dword [esp], esi
mov dword [esp + 8], 0x186a0
mov dword [esp + 4], 0x5bab00
call sub.msvcrt.dll_memcmp
mov dword [esp + 4], str.GlobalAlloc_didnt_clear_memory_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov dword [esp + 8], 0x82
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov ebx, eax
mov eax, 0x849
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalReAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x84a
call fcn.00487b80
xor eax, eax
cmp esi, ebx
mov dword [esp + 4], str.GlobalReAlloc_returned_unexpected_handle_n
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov ecx, dword [ebp - 0x40048]
call ecx
sub esp, 4
mov esi, eax
mov eax, 0x84c
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], str.GlobalSize_returned__Iu__error__lu_n
mov dword [esp + 0xc], eax
xor eax, eax
cmp esi, 0x186a0
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov esi, eax
mov eax, 0x84f
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalLock_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x850
call fcn.00487b80
xor eax, eax
cmp ebx, esi
mov dword [esp + 8], esi
setne al
mov dword [esp + 4], str.got_unexpected_ptr__p_n
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov esi, eax
mov eax, 0x852
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalUnlock_succeeded__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x853
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
mov edx, dword [edi + 0x34]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 8], 0x42
mov dword [esp + 4], 0x30d40
mov dword [esp], ebx
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov dword [ebp - 0x40034], eax
mov eax, 0x856
call fcn.00487b80
mov dword [esp + 4], str.GlobalReAlloc_failed_n
xor eax, eax
mov ecx, dword [ebp - 0x40034]
test ecx, ecx
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x857
call fcn.00487b80
mov eax, 1
cmp dword [ebp - 0x40034], ebx
je 0x48f159
mov edi, dword [0x8f0770]
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
mov dword [esp + 4], str.GlobalReAlloc_returned_unexpected_handle_n
mov edi, dword fs:[0x18]
call fcn.00488240
mov ebx, dword [ebp - 0x40034]
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov esi, eax
mov eax, 0x85c
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], str.GlobalSize_returned__Iu__error__lu_n
mov dword [esp + 0xc], eax
xor eax, eax
cmp esi, 0x30d3f
seta al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
sub esp, 4
mov esi, eax
mov eax, 0x85e
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalLock_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x85f
call fcn.00487b80
xor eax, eax
cmp ebx, esi
mov dword [esp + 8], esi
setne al
mov dword [esp + 4], str.got_unexpected_ptr__p_n
mov dword [esp], eax
call fcn.00488240
mov eax, 0x860
call fcn.00487b80
mov dword [esp], esi
mov dword [esp + 8], 0x186a0
mov dword [esp + 4], 0x5bab00
call sub.msvcrt.dll_memcmp
mov dword [esp + 4], str.GlobalReAlloc_didnt_clear_memory_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x861
call fcn.00487b80
lea eax, [esi + 0x186a0]
mov dword [esp + 8], 0x186a0
mov dword [esp + 4], 0x5bab00
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov dword [esp + 4], str.GlobalReAlloc_didnt_clear_memory_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GlobalHandle]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x865
call fcn.00487b80
mov dword [esp + 4], str.GlobalHandle_returned_unexpected_handle_n
xor eax, eax
cmp dword [ebp - 0x40034], ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov dword [ebp - 0x40034], eax
mov eax, 0x869
call fcn.00487b80
mov dword [esp + 4], str.GlobalDiscard_succeeded_n
xor eax, eax
mov ecx, dword [ebp - 0x40034]
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov esi, eax
mov eax, 0x86b
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalUnlock_succeeded__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x86c
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], 0x5a0e90
mov dword [esp + 8], eax
mov esi, dword [edi + 0x34]
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x40044]
call eax
sub esp, 0xc
mov dword [ebp - 0x40034], eax
mov eax, 0x86f
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalDiscard_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebp - 0x40034], ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
mov eax, 0x871
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00488240
mov esi, dword [ebp - 0x4006c]
lea esi, [esi]
nop
mov eax, dword [esi*4 + 0x5baae0]
mov dword [esp + 4], 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x876
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalFlags]
sub esp, 4
mov dword [ebp - 0x40038], eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x878
mov eax, dword [edi + 0x34]
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0x40038]
xor eax, eax
mov dword [esp + 4], str.got_flags__x__error__lu_n
mov dword [esp + 8], ecx
and ecx, 0xffffdeff
sete al
mov dword [esp], eax
call fcn.00488240
mov dword [esp], ebx
mov eax, dword [ebp - 0x40040]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x87a
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalFree_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
add esi, 1
mov dword [esp], eax
call fcn.00488240
cmp esi, 8
jne 0x48f408
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
mov eax, 0x87e
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.HeapAlloc_failed__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00488240
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalHandle]
sub esp, 4
mov dword [ebp - 0x40034], eax
mov eax, 0x881
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GlobalHandle_failed__error__lu_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x40034]
xor eax, eax
test edx, edx
setne al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x882
call fcn.00487b80
mov dword [esp + 4], str.GlobalHandle_returned_unexpected_handle_n
xor eax, eax
cmp dword [ebp - 0x40034], ebx
sete al
mov dword [esp], eax
call fcn.00488240
lea eax, [ebp - 0x4002c]
mov dword [ebp - 0x40030], 0xdeadbeef
mov dword [ebp - 0x4002c], 0xdeadbeef
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x40030]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [0x78e024]
sub esp, 0x14
mov esi, eax
mov eax, 0x886
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.RtlGetUserInfoHeap_failed__error__lu_n
mov dword [esp + 8], eax
mov eax, esi
movzx esi, al
mov dword [esp], esi
call fcn.00488240
mov eax, 0x887
call fcn.00487b80
mov eax, dword [ebp - 0x40030]
mov dword [esp + 4], str.got_user_value__p_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov eax, 0x888
call fcn.00487b80
mov eax, dword [ebp - 0x4002c]
mov dword [esp + 4], str.got_user_flags__lx_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov ebx, eax
mov eax, 0x88a
call fcn.00487b80
mov eax, dword [edi + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], str.HeapFree_failed__error__lu_n
mov dword [esp + 8], eax
call fcn.00488240
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x8f0770]
call fcn.00487980
jmp 0x48f70c
call fcn.0057d110
mov dword [eax], 0x5a0c14
mov dword [eax + 4], 0x701
mov eax, dword [ebp - 0x40034]
mov dword [esp + 4], str.GlobalReAlloc_returned__p_n
cmp eax, esi
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00488240
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x48f6d0
mov edx, dword [ebp - 0x40034]
test edx, edx
je 0x48f816
mov dword [esp], edx
mov eax, dword [ebp - 0x40048]
mov dword [ebp - 0x40050], edx
call eax
mov esi, dword [ebp - 0x40050]
sub esp, 4
mov ebx, eax
mov eax, 0x70e
call fcn.00487b80
xor eax, eax
cmp ebx, 0xa
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.GlobalSize_returned__Iu_n
mov dword [esp], eax
call fcn.00488240
jmp 0x48c719
mov dword [esp], edx
mov eax, dword [ebp - 0x40048]
mov dword [ebp - 0x40050], edx
call eax
mov esi, dword [ebp - 0x40050]
sub esp, 4
mov ebx, eax
jmp 0x48c688
mov eax, 0x6ce
call fcn.00487b80
mov eax, dword [ebp - 0x4003c]
cmp esi, 3
mov dword [esp + 4], str.got_flags__Ix_n
mov dword [esp + 8], eax
jmp 0x48e391
mov eax, 0x6eb
call fcn.00487b80
mov eax, dword [ebp - 0x4003c]
mov dword [esp + 4], str.got_flags__Ix_n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 3
sete al
mov dword [esp], eax
call fcn.00488240
jmp 0x48c44e
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
mov esi, ebx
call eax
sub esp, 4
mov edx, eax
jmp 0x48e40e
mov dword [esp], ebx
mov eax, dword [ebp - 0x40048]
call eax
sub esp, 4
mov esi, eax
jmp 0x48e596
mov dword [esp], esi
mov eax, dword [ebp - 0x40048]
call eax
mov ebx, eax
push edx
jmp 0x48f749