Function at 0x478610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4adc8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0045c400
xor ebx, ebx
mov dword [esi + 0x2c], 0x4b05a0
mov dword [esp + 0x1c], ebx
mov al, byte [esp + 0x24]
push 0x1c
mov byte [esp + 0x20], 1
mov byte [esi + 0xb4], al
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], ebx
mov byte [esi + 0x18c], bl
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x184], ebx
mov ecx, dword [0x4d3020]
xor edx, edx
mov dword [esi + 0x188], ecx
mov dword [esi + 0x140], edx
mov dword [esi + 0x144], edx
lea edi, [esi + 0x150]
mov ecx, 0xd
xor eax, eax
mov dword [esi + 0x148], edx
mov ebp, 0xf
rep stosd dword es:[edi], eax
mov byte [esi + 0x218], bl
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x210], ebx
mov eax, dword [0x4d3020]
xor ecx, ecx
mov dword [esi + 0x214], eax
mov dword [esi + 0x1cc], ecx
mov dword [esi + 0x1d0], ecx
lea edi, [esi + 0x1dc]
mov dword [esi + 0x1d4], ecx
mov ecx, 0xd
xor eax, eax
push 4
rep stosd dword es:[edi], eax
mov byte [esi + 0x26c], bl
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x22c], ebx
mov dword [esi + 0x264], ebx
mov edx, dword [0x4d3020]
lea edi, [esi + 0x230]
mov dword [esi + 0x268], edx
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], eax
mov ecx, 0xd
mov dword [esi + 0x228], eax
push 0x10
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVCRT.dll_calloc]
mov dword [esi + 0x278], ebp
call edi
mov dword [esi + 0x27c], eax
push 4
push 0x10
mov dword [esi + 0x280], ebp
call edi
mov dword [esi + 0x284], eax
mov cl, byte [esp + 0x38]
push 0xc
mov byte [esp + 0x34], 4
mov byte [esi + 0x288], cl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 0x18
mov dword [esi + 0x28c], eax
mov dword [esi + 0x290], ebx
mov dword [esi], 0x4b054c
mov dword [esi + 0x2c], 0x4b0518
mov word [esi + 0xd4], bx
mov byte [esi + 0xd6], bl
mov dword [esi + 0xd8], ebx
mov byte [esi + 0x218], bl
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x210], ebx
mov edx, dword [0x4d3020]
xor eax, eax
mov dword [esi + 0x214], edx
mov dword [esi + 0x1cc], eax
lea edi, [esi + 0x1dc]
mov dword [esi + 0x1d0], eax
mov ecx, 0xd
mov dword [esi + 0x1d4], eax
xor edx, edx
rep stosd dword es:[edi], eax
mov byte [esi + 0x26c], bl
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x22c], ebx
mov dword [esi + 0x264], ebx
mov ecx, dword [0x4d3020]
lea edi, [esi + 0x230]
mov dword [esi + 0x268], ecx
mov dword [esi + 0x220], edx
mov dword [esi + 0x224], edx
mov ecx, 0xd
mov dword [esi + 0x228], edx
mov byte [esp + 0x1c], 5
rep stosd dword es:[edi], eax
mov dword [esi + 0x130], ebx
mov dword [esi + 0x138], 0xbb8
mov dword [esi + 0x134], 0x320
mov word [esi + 0x108], 1
mov word [esi + 0x106], bx
mov dword [esi + 0xf4], 0x12ad4
mov eax, dword [0x4d3020]
add eax, 0x70000000
mov dword [esi + 0x114], eax
mov ecx, dword [0x4d3020]
mov dword [esi + 0x118], ecx
mov edx, dword [0x4d3020]
mov dword [esi + 0x11c], edx
mov eax, dword [0x4d3020]
add eax, 0x70000000
mov dword [esi + 0x120], eax
mov ecx, dword [0x4d3020]
add ecx, 0xffffff9c
mov dword [esi + 0x100], ecx
mov edx, dword [0x4d3020]
mov dword [esi + 0x128], edx
mov dword [esi + 0x12c], 0x7530
mov word [esi + 0xdc], bx
mov ax, word [esi + 0x108]
mov word [esi + 0x10c], ax
mov word [esi + 0xf8], 0x59e
mov dword [esi + 0x1c4], 0x580
mov dword [esi + 0x74], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1bc], ebx
mov byte [esi + 0xf0], bl
mov word [esi + 0x104], bx
lea edx, [esi + 0x270]
mov word [esi + 0x10a], bx
xor ecx, ecx
mov dword [esi + 0x110], ebx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1ac], ebx
mov dword [esi + 0x1a8], ebx
mov dword [esi + 0x1a4], ebx
mov dword [esi + 0x128], ebx
mov eax, dword [esi + 0x198]
mov dword [esi + 0x190], ebx
mov dword [esi + 0x194], ebx
mov dword [esi + 0x1a0], 0x5dc
mov ecx, dword [0x4d3020]
mov edx, dword [esi + 0x1c4]
mov edi, dword [esp + 0x24]
add eax, ecx
mov dword [esi + 0x19c], eax
mov ecx, dword [0x4d3020]
mov eax, 0x380000
mov dword [esi + 0x1c0], ecx
mov dword [esi + 0xec], eax
mov dword [esi + 0xe8], eax
lea ecx, [esi + 0x34]
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x120], ebx
xor eax, eax
mov dword [esi + 0xe4], edx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x30], edi
mov dword [ecx], eax
lea ebp, [esi + 0x8c]
xor edx, edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, ebp
xor ecx, ecx
cmp edi, ebx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
lea eax, [esi + 0xa0]
mov dword [esi + 0xa0], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0x7c], ebx
je 0x478a7c
mov ecx, edi
call fcn.0045ee10
push ebp
mov ecx, edi
mov dword [esi + 0x44], eax
call fcn.0045edd0
lea eax, [esi + 0xa0]
mov ecx, edi
push eax
call fcn.0045edb0
jmp 0x478a83
mov dword [esi + 0x44], 7
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4