Function at 0x438f10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d1d8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x549018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x60]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov eax, dword [ebp - 0x50]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x50]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x54]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x60]
mov eax, dword [edx + 0x10]
call eax
lea ecx, [ebp - 0x18]
call fcn.00421160
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
lea ecx, [ebp - 0x18]
call fcn.00421170
mov edx, dword [ebp - 0x54]
mov dword [edx + 4], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x60]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x24]
call fcn.004210c0
mov ecx, dword [ebp - 0x54]
mov word [ecx + 8], ax
push 1
lea ecx, [ebp - 0x24]
call fcn.004210c0
mov edx, dword [ebp - 0x54]
mov word [edx + 0xa], ax
push 2
lea ecx, [ebp - 0x24]
call fcn.004210c0
mov ecx, dword [ebp - 0x54]
mov word [ecx + 0xc], ax
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x60]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0xe], eax
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x60]
mov edx, dword [eax + 0x20]
call edx
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x54]
mov cx, word [ebp - 0x10]
mov word [eax + 0x12], cx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x60]
mov edx, dword [eax + 0x2c]
call edx
mov word [ebp - 0x28], ax
movzx eax, word [ebp - 0x28]
test eax, eax
jne 0x439052
mov ecx, 0xfffe
mov word [ebp - 0x28], cx
mov edx, dword [ebp - 0x54]
mov ax, word [ebp - 0x28]
mov word [edx + 0x14], ax
lea ecx, [ebp - 0x34]
call fcn.004203b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [edx + 0x3c]
call eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], 0
jmp 0x439099
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x34]
call fcn.00421170
cmp dword [ebp - 0x1c], eax
jge 0x4390bf
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x34]
call fcn.004206b0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x54]
mov word [edx + ecx*2 + 0x16], ax
jmp 0x439090
lea ecx, [ebp - 0x40]
call fcn.004203b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 0x1c], 0
jmp 0x4390f4
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x40]
call fcn.00421170
cmp dword [ebp - 0x1c], eax
jge 0x43912c
lea ecx, [ebp - 0x40]
call fcn.00421170
cmp dword [ebp - 0x1c], eax
jge 0x43912a
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x40]
call fcn.004206b0
mov ecx, 0xbb
sub ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x54]
mov word [edx + ecx*2 - 2], ax
jmp 0x4390eb
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004204b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004204b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00413980
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret