Function at 0x404ff0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a50c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x8024
call fcn.004225e0
mov eax, dword [0x462884]
push ebx
mov dword [esp + 0x8024], eax
mov eax, dword [0x463834]
push esi
add eax, 0xfffffff0
push edi
push eax
mov dword [esp + 0x28], ecx
call fcn.00402a50
add eax, 0x10
add esp, 4
mov dword [esp + 0xc], eax
push 1
push 0x44dee0
lea ecx, [esp + 0x14]
mov dword [esp + 0x8044], 0
call fcn.00403280
push 0xb
push str.hxw_zdy.dat
lea ecx, [esp + 0x14]
call fcn.00403280
mov esi, dword [esp + 0xc]
xor eax, eax
mov ecx, 0x1fff
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
push 0x7fff
lea eax, [esp + 0x30]
push eax
push 0x44e3a8
call dword [0x44d340]
test eax, eax
je 0x40524c
mov al, byte [esp + 0x28]
xor edi, edi
test al, al
lea ebx, [esp + 0x28]
mov dword [esp + 0x10], ebx
jne 0x4050e3
lea eax, [esi - 0x10]
mov dword [esp + 0x803c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4050d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x405273
mov ebx, dword [esp + 0x10]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4050e8
sub eax, edx
cmp eax, 5
mov dword [esp + 0x20], eax
jne 0x40521f
cmp byte [ebx + 2], 0x3d
jne 0x40521f
call fcn.00432bbe
mov edx, dword [eax]
push 1
push 2
mov ecx, eax
call dword [edx]
test eax, eax
je 0x40523d
mov ecx, dword [eax + 8]
lea esi, [eax + 0x10]
mov eax, 2
cmp ecx, eax
mov dword [esp + 0x18], esi
jl 0x405242
mov dword [esi - 0xc], eax
mov byte [esi + 2], 0
mov ax, word [ebx]
mov word [esi], ax
add ebx, 3
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x8040], 1
call fcn.00403730
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x8044], 2
call fcn.00404a70
mov ebx, dword [ebp + 8]
push 0
push 0
push 0
push 0
push esi
push edi
push 1
mov ecx, ebx
mov byte [esp + 0x8058], 3
call fcn.004300e1
mov eax, dword [esp + 0x14]
push eax
push 1
push edi
mov ecx, ebx
call fcn.0042ff62
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
push ebx
push 2
push edi
call fcn.0042ff62
lea eax, [ebx - 0x10]
inc edi
mov byte [esp + 0x803c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4051d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x803c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4051f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x803c], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40521b
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
lea ebx, [ebx + eax + 1]
cmp byte [ebx], 0
mov dword [esp + 0x10], ebx
jne 0x4050df
mov esi, dword [esp + 0xc]
jmp 0x4050b0
call fcn.00416040
push 0x80070057
call fcn.00401190
lea eax, [esi - 0x10]
mov dword [esp + 0x803c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405271
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x8034]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x802c]
call fcn.00421828
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4