Function at 0x42fa10
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc64
mov eax, dword [0x44fba0]
push ebx
push esi
push edi
xor eax, ebp
push 0x450ec4
mov dword [esp + 0xc70], eax
call dword [0x43c158]
mov eax, dword [0x450ee0]
test eax, eax
jne 0x42fd22
mov ebx, 1
mov dword [0x450ee0], ebx
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x18]
mov dword [esp + 0x10], eax
mov eax, dword [0x450edc]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
mov edx, dword [0x450edc]
mov eax, dword [ebp + 8]
mov dword [edx + 0x34c], eax
mov edi, dword [0x450edc]
mov esi, dword [eax]
add edi, 0x30
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x450edc]
mov esi, dword [eax + 4]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x450edc]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x5f4], ecx
call dword [0x43c154]
mov edx, dword [0x450edc]
mov dword [edx + 0x18], eax
xor edx, edx
xor eax, eax
mov word [esp + 0x260], dx
mov ecx, 0x81
lea edi, [esp + 0x262]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0xd0], dx
mov ecx, 0x63
lea edi, [esp + 0xd2]
rep stosd dword es:[edi], eax
push edx
push edx
stosw word es:[edi], ax
push ebx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0xc
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
call dword [0x43c0f8]
mov esi, eax
xor eax, eax
mov dword [esp + 0x40], 0x44
mov ecx, 0x10
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
call dword [0x43c150]
push 0
lea edx, [esp + 0x264]
push edx
push 0x104
push 0
push str.bugreport.exe
push 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x84], ebx
mov word [esp + 0x88], bx
call dword [0x43c14c]
push 2
push ebx
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
push eax
push eax
push eax
call dword [0x43c148]
mov edi, eax
mov eax, dword [0x450ee4]
test eax, eax
je 0x42fb9a
call eax
test edi, edi
je 0x42fcfe
test esi, esi
je 0x42fcfe
cmp word [esp + 0x260], 0
je 0x42fcfe
call dword [0x43c0f4]
mov ecx, dword [0x450edc]
mov edx, dword [esp + 0xc]
push eax
push ecx
push edx
push esi
push str.bugreport__buginfo:_p:_p:_p:_lu
lea eax, [esp + 0xe4]
push 0xc8
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x1c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x44]
push edx
push 0
push 0
push 0
push ebx
push 0
push 0
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x284]
push ecx
call dword [0x43c144]
test eax, eax
je 0x42fc66
mov edi, dword [0x43c208]
push 0x7d0
push esi
call edi
cmp eax, 0x102
jne 0x42fc52
lea esp, [esp]
mov edx, dword [esp + 0x14]
push 0x7d0
push edx
call edi
cmp eax, 0x102
jne 0x42fc52
push 0x7d0
push esi
call edi
cmp eax, 0x102
je 0x42fc30
mov eax, dword [esp + 0x14]
mov edi, dword [0x43c1dc]
push eax
call edi
mov ecx, dword [esp + 0x18]
push ecx
call edi
xor edx, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
xor eax, eax
mov dword [esp + 0x3c], edx
mov ecx, 0x11
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
mov eax, dword [0x450edc]
mov dword [esp + 0x88], 0x44
mov ecx, dword [eax + 0x5ec]
movzx edx, word [eax + 0x5ea]
push ecx
movzx ecx, word [eax + 0x5e8]
push edx
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x1c]
push ecx
push edx
push eax
push str.SpecialBugReporter.exe_UIN_u_ExceptionAddress_p_GameVersion_u_u_04u
lea ecx, [esp + 0x480]
push 0x800
push ecx
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x20
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x8c]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [esp + 0x488]
push ecx
push 0
call dword [0x43c0f0]
push esi
call dword [0x43c1dc]
mov eax, dword [0x450ee8]
test eax, eax
je 0x42fd10
call eax
push 0x1234
call dword [0x43c150]
push eax
call dword [0x43c1f8]
mov ecx, dword [esp + 0xc6c]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0043146e
mov esp, ebp
pop ebp
ret