Function at 0x1004cc70
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10071f87
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x1008c288]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008c288]
xor eax, esp
push eax
lea eax, [esp + 0x1d0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1e0]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x18], eax
mov dword [edi + 4], ebx
lea esi, [edi + 8]
mov dword [edi], vtable.boost::locale::gnu_gettext::mo_message_char_.0
mov dword [esp + 0x1d8], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ebp, [edi + 0x18]
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
lea ecx, [edi + 0x38]
mov byte [esp + 0x1d8], 3
call fcn.10038970
mov dword [edi + 0x3c], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 0x3c]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x3c]
mov dword [eax], eax
mov eax, dword [edi + 0x3c]
mov dword [eax + 8], eax
mov dword [edi + 0x40], ebx
mov eax, 0xf
mov dword [edi + 0x5c], eax
mov dword [edi + 0x58], ebx
mov byte [edi + 0x48], bl
mov dword [edi + 0x78], eax
mov dword [edi + 0x74], ebx
mov byte [edi + 0x64], bl
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x1e4], 6
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d0], ebx
mov byte [esp + 0x1c0], bl
call fcn.100035d0
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
add eax, 0x38
push ebx
push eax
lea ecx, [esp + 0x14c]
mov byte [esp + 0x1e4], 7
mov dword [esp + 0x164], 0xf
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
call fcn.100035d0
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
add eax, 0x1c
push ebx
push eax
lea ecx, [esp + 0x130]
mov byte [esp + 0x1e4], 8
mov dword [esp + 0x148], 0xf
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
call fcn.100035d0
mov byte [esp + 0x1d8], 9
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
add eax, 0x54
push ebx
push eax
lea ecx, [esp + 0x184]
mov dword [esp + 0x19c], 0xf
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
call fcn.100035d0
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
add eax, 0x70
push ebx
push eax
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x1e4], 0xa
mov dword [esp + 0x1b8], 0xf
mov dword [esp + 0x1b4], ebx
mov byte [esp + 0x1a4], bl
call fcn.100035d0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x154], ebx
mov byte [esp + 0x1d8], 0xc
je 0x1004d03c
cmp dword [esp + 0x138], ebx
je 0x1004cf9f
push 0x10079148
lea edx, [esp + 0x1b4]
push edx
lea eax, [esp + 0x164]
push eax
call fcn.100228d0
lea ecx, [esp + 0x130]
push ecx
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x1f0], 0xd
call fcn.10047ed0
push 0x10079170
push eax
lea eax, [esp + 0x10c]
push eax
mov byte [esp + 0x1fc], 0xe
call fcn.100228d0
lea ecx, [esp + 0x164]
push ecx
push eax
lea edx, [esp + 0x134]
push edx
mov byte [esp + 0x208], 0xf
call fcn.10047ed0
add esp, 0x30
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1dc], 0x10
call fcn.100253d0
cmp dword [esp + 0x120], 0x10
jb 0x1004cf0d
mov eax, dword [esp + 0x10c]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x104], 0x10
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
jb 0x1004cf40
mov ecx, dword [esp + 0xf0]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
jb 0x1004cf6d
mov edx, dword [esp + 0x44]
push edx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x174], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x1d8], 0xc
jb 0x1004cf9f
mov eax, dword [esp + 0x160]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x154], ebx
je 0x1004d03c
push 0x10079170
lea ecx, [esp + 0x1b4]
push ecx
lea edx, [esp + 0x164]
push edx
call fcn.100228d0
lea ecx, [esp + 0x14c]
push ecx
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x1f0], 0x11
call fcn.10047ed0
add esp, 0x18
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1dc], 0x12
call fcn.100253d0
cmp dword [esp + 0x58], 0x10
jb 0x1004d00a
mov eax, dword [esp + 0x44]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x174], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x1d8], 0xc
jb 0x1004d03c
mov ecx, dword [esp + 0x160]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x138], ebx
je 0x1004d0d9
push 0x10079148
lea edx, [esp + 0x1b4]
push edx
lea eax, [esp + 0x164]
push eax
call fcn.100228d0
lea ecx, [esp + 0x130]
push ecx
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x1f0], 0x13
call fcn.10047ed0
add esp, 0x18
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1dc], 0x14
call fcn.100253d0
cmp dword [esp + 0x58], 0x10
jb 0x1004d0a7
mov eax, dword [esp + 0x44]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x174], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x1d8], 0xc
jb 0x1004d0d9
mov ecx, dword [esp + 0x160]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
lea edx, [esp + 0x1b0]
push edx
lea ecx, [esp + 0x34]
call fcn.100253d0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x90]
add ecx, 0x8c
cmp eax, ebx
jne 0x1004d104
mov dword [esp + 0x1c], ebx
jmp 0x1004d120
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], esp
call fcn.1004a040
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.1004cab0
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x90]
add esi, 0x8c
cmp eax, ebx
jne 0x1004d152
xor eax, eax
jmp 0x1004d16a
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esp, 8
mov ecx, esp
mov dword [ecx], ebx
mov dword [esp + 0x24], esp
mov dword [ecx + 4], ebx
push eax
mov ecx, ebp
call fcn.10049e20
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x1004d18b
xor eax, eax
jmp 0x1004d1a3
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esp, 8
mov ecx, esp
mov dword [ecx], ebx
mov dword [esp + 0x24], esp
mov dword [ecx + 4], ebx
push eax
lea ecx, [edi + 0x28]
call fcn.10049e20
mov ecx, esi
mov dword [esp + 0x20], ebx
call fcn.1003d090
test eax, eax
jbe 0x1004d59a
xor ebp, ebp
mov dword [esp + 0x1c], ebp
jmp 0x1004d1d9
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 4]
push 0xffffffffffffffff
add eax, ebp
push ebx
push eax
lea ecx, [esp + 0x114]
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
call fcn.100035d0
mov eax, dword [esi + 4]
push 0xffffffffffffffff
add eax, ebp
add eax, 0x1c
push ebx
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1e4], 0x15
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
call fcn.100035d0
lea ecx, [esp + 0x108]
push ecx
lea ecx, [edi + 0x38]
mov byte [esp + 0x1dc], 0x16
call fcn.1004ac30
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
mov dword [eax], edx
mov byte [esp + 0x17], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebp
mov edi, edi
cmp ebp, ebx
je 0x1004d51b
mov ecx, dword [esp + 0x38]
sub ecx, ebp
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x28], eax
jae 0x1004d51b
mov dword [esp + 0x2c], ebx
xor esi, esi
mov ebp, dword [esp + 0x18]
add ebp, 0x9c
mov ecx, ebp
call fcn.10021f90
cmp dword [esp + 0x2c], eax
jae 0x1004d503
mov eax, dword [ebp + 4]
add eax, esi
push 0x10079144
push eax
lea eax, [esp + 0x84]
push eax
call fcn.100228d0
mov ecx, dword [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0xe4]
push edx
mov byte [esp + 0x1f0], 0x17
call fcn.10047ed0
push 0x10079144
push eax
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x1fc], 0x18
call fcn.100228d0
lea ecx, [esp + 0x1b8]
push ecx
push eax
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x208], 0x19
call fcn.10047ed0
push 0x10079144
push eax
lea eax, [esp + 0xec]
push eax
mov byte [esp + 0x214], 0x1a
call fcn.100228d0
lea ecx, [esp + 0x144]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x220], 0x1b
call fcn.10047ed0
add esp, 0x48
push 0x10079a80
push eax
lea eax, [esp + 0x164]
push eax
mov byte [esp + 0x1e4], 0x1c
call fcn.100228d0
add esp, 0xc
mov ebp, 0x10
cmp dword [esp + 0x58], ebp
jb 0x1004d39a
mov ecx, dword [esp + 0x44]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
cmp dword [esp + 0xcc], ebp
jb 0x1004d3c3
mov edx, dword [esp + 0xb8]
push edx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
cmp dword [esp + 0x78], ebp
jb 0x1004d3ef
mov eax, dword [esp + 0x64]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0xb0], ebp
jb 0x1004d418
mov ecx, dword [esp + 0x9c]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0xe8], ebp
jb 0x1004d44a
mov edx, dword [esp + 0xd4]
push edx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
cmp dword [esp + 0x94], ebp
mov byte [esp + 0x1d8], 0x23
jb 0x1004d484
mov eax, dword [esp + 0x80]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add ecx, 0xb0
push ecx
push edx
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x184]
push ecx
lea edx, [esp + 0x16c]
push edx
mov ecx, edi
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
call fcn.1004afc0
cmp dword [esp + 0x174], ebp
mov byte [esp + 0x17], al
mov byte [esp + 0x1d8], 0x16
jb 0x1004d4f1
mov eax, dword [esp + 0x160]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
add dword [esp + 0x2c], 1
add esi, 0x1c
cmp byte [esp + 0x17], bl
je 0x1004d2a1
add dword [esp + 0x28], 1
add dword [esp + 0x24], 0x1c
cmp byte [esp + 0x17], bl
mov ebp, dword [esp + 0x34]
je 0x1004d270
mov esi, 0x10
cmp dword [esp + 0x104], esi
jb 0x1004d539
mov ecx, dword [esp + 0xf0]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x120], esi
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
mov byte [esp + 0x1d8], 0xc
jb 0x1004d573
mov edx, dword [esp + 0x10c]
push edx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov esi, dword [esp + 0x18]
add dword [esp + 0x20], 1
add dword [esp + 0x1c], 0x38
add esi, 0x8c
mov ecx, esi
call fcn.1003d090
cmp dword [esp + 0x20], eax
jb 0x1004d1d5
jmp 0x1004d59e
mov ebp, dword [esp + 0x34]
cmp ebp, ebx
mov byte [esp + 0x1d8], 0xb
je 0x1004d5c8
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
push ebp
call fcn.10022890
push ebp
call sub.MFC80U.DLL_Ordinal_764
add esp, 0x14
mov esi, 0x10
cmp dword [esp + 0x1ac], esi
jb 0x1004d5e6
mov eax, dword [esp + 0x198]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x190], esi
mov ebp, 0xf
mov dword [esp + 0x1ac], ebp
mov dword [esp + 0x1a8], ebx
mov byte [esp + 0x198], bl
jb 0x1004d619
mov ecx, dword [esp + 0x17c]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x13c], esi
mov dword [esp + 0x190], ebp
mov dword [esp + 0x18c], ebx
mov byte [esp + 0x17c], bl
jb 0x1004d647
mov edx, dword [esp + 0x128]
push edx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x158], esi
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
jb 0x1004d675
mov eax, dword [esp + 0x144]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x1c8], esi
mov dword [esp + 0x158], ebp
mov dword [esp + 0x154], ebx
mov byte [esp + 0x144], bl
jb 0x1004d6a3
mov ecx, dword [esp + 0x1b4]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x1d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.10028d90
add esp, 0x1c8
ret 4