Function at 0x4ec9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x597d10
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
lea edi, [ebx + 0x4b0]
push edi
mov ecx, ebp
call fcn.004c7310
add eax, 0x30
lea esi, [esp + 0x1c]
call fcn.00519240
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
test eax, eax
mov eax, dword [esp + 0x1c]
setne byte [esp + 0x94]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4eca21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
mov ecx, ebp
call fcn.004c7310
cmp byte [esp + 0x94], 0
je 0x4ecbf4
lea ecx, [esp + 0x24]
lea ebx, [eax + 8]
push ecx
call fcn.004bd810
lea esi, [esp + 0x94]
lea eax, [esp + 0x24]
mov dword [esp + 0x88], 0
call fcn.00478080
mov edx, esi
push edx
mov byte [esp + 0x8c], 1
call fcn.00476c60
add esp, 4
test eax, eax
je 0x4eca86
mov eax, esi
lea edi, [esp + 0x2c]
call fcn.00480f90
jmp 0x4ecb5b
lea eax, [esp + 0x1c]
push eax
mov ecx, str.db_yxhz
call fcn.00481430
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.hzsy_rcy
mov byte [esp + 0x8c], 2
call fcn.00481430
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov bl, 3
lea ecx, [esp + 0xa0]
mov byte [esp + 0x94], bl
call fcn.00479300
add esp, 0xc
lea edi, [esp + 0x2c]
mov byte [esp + 0x88], 4
call fcn.00480f90
mov byte [esp + 0x88], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4ecb0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ecb33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ecb5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, 0x5b94a0
call fcn.00481430
mov byte [esp + 0x8c], 5
mov eax, dword [esp + 0x94]
add eax, 0x4b0
push eax
mov ecx, ebp
call fcn.004c7310
lea ecx, [eax + 8]
mov byte [esp + 0x8c], 1
call fcn.005159b0
mov esi, dword [esp + 0x90]
mov edx, dword [esi + 0x408]
mov edx, dword [edx]
lea ecx, [esi + 0x408]
lea eax, [esp + 0x24]
push eax
call edx
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
mov dword [esi + 0x3c08], ebp
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ecbe6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x24]
call fcn.00477a90
jmp 0x4eccac
add eax, 8
lea esi, [esp + 0x90]
call fcn.00478080
mov dword [esp + 0x88], 6
mov ecx, dword [esp + 0x90]
cmp dword [ecx - 0xc], 0
je 0x4ecc7e
push edi
mov ecx, ebp
call fcn.004c7310
add eax, 8
lea esi, [esp + 0x94]
call fcn.00517af0
lea edx, [esp + 0x90]
push edx
mov eax, esi
push eax
add ebx, 0x488
push ebx
mov ecx, ebp
mov byte [esp + 0x94], 7
call fcn.004c99b0
mov byte [esp + 0x88], 6
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ecc7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4eccac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 8