Function at 0x437c60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6360
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4fe870]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x505694]
push eax
call fcn.0041f890
mov edi, dword [eax + 0x10]
sub edi, dword [eax + 0xc]
xor esi, esi
sar edi, 2
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], esi
test edi, edi
jle 0x437f5f
mov ecx, dword [0x505694]
push ecx
call fcn.0041f890
mov ebx, esi
call fcn.00406f20
mov eax, dword [eax]
mov ebx, dword [eax + 4]
push 0x4d85c8
mov dword [esp + 0x14], eax
call fcn.00475770
mov ecx, eax
call fcn.004750e0
cmp eax, 7
jne 0x437f52
mov edi, dword [ebp + 8]
push esi
push 0x4db344
mov esi, edi
call fcn.00433e20
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x20]
add esp, 8
push 7
push eax
call fcn.0045ce10
mov esi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], esi
call fcn.00409580
mov dword [esp + 0x38], 0
mov ebx, dword [esi + 4]
push 0x4d7428
call fcn.00475770
mov eax, dword [eax]
push eax
call fcn.00453d80
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x437d53
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437d44
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.00406ae0
push ebx
call fcn.0047b19e
mov ebx, dword [esi + 4]
add esp, 4
push 0x4d7420
call fcn.00475770
mov ecx, eax
call fcn.004750e0
test eax, eax
jne 0x437da3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x20]
push ecx
push eax
push 0x4db360
push 0
push 1
push edi
call fcn.00435750
add esp, 0x18
jmp 0x437efc
mov ebx, dword [esi + 4]
push 0x4d73d0
call fcn.00475770
mov ecx, eax
call fcn.004750e0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x20]
push eax
push edx
push 0x4db380
push 0
push 1
push edi
call fcn.00435750
mov ecx, dword [esi + 4]
add esp, 0x18
push 0x4da0fc
call fcn.00475940
cmp eax, 0x506090
je 0x437e52
call fcn.00430f00
mov eax, dword [eax + 4]
push 0x4d64f0
mov ebx, eax
call fcn.00475770
mov ecx, eax
call fcn.004750e0
mov dword [esp + 0x28], eax
call fcn.00430f00
cmp dword [eax + 8], 0
mov dword [esp + 0x1c], eax
jne 0x437e37
mov eax, dword [eax + 4]
push 0x4d9404
mov ebx, eax
call fcn.00475770
mov eax, dword [eax]
push eax
call fcn.00453d80
mov ecx, dword [esp + 0x20]
mov dword [ecx + 8], eax
add esp, 4
mov eax, ecx
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 8]
push edx
push eax
push 0x4db3a0
push 0
push 1
push edi
call fcn.00435750
add esp, 0x18
mov esi, dword [esi + 4]
push 0x4d73d0
mov ebx, esi
call fcn.00475770
mov ecx, eax
call fcn.004750e0
mov esi, eax
mov dword [esp + 0x28], esi
call fcn.00417840
mov ecx, eax
call fcn.0041fdf0
add eax, esi
push eax
call fcn.00417840
mov ecx, eax
call fcn.00416af0
lea eax, [edi + 0xc20]
push eax
mov byte [0x5056b5], 1
call fcn.00421d60
mov esi, dword [0x505694]
call fcn.0046e850
mov eax, dword [eax + 4]
push 0x4d73d0
mov ebx, eax
call fcn.00475770
mov ecx, eax
call fcn.004750e0
mov ecx, dword [esp + 0x28]
mov esi, dword [0x505694]
lea ebx, [eax + ecx]
call fcn.0046e850
mov ecx, ebx
mov edx, eax
call fcn.00430960
call fcn.0043d5f0
mov edi, dword [esp + 0x10]
xor ecx, ecx
call fcn.0042fd30
mov esi, dword [esp + 0x20]
call fcn.00430e60
mov edx, dword [ebp + 8]
push edx
mov ecx, eax
call fcn.0043d550
mov edi, dword [esi + 4]
test edi, edi
je 0x437f13
mov eax, edi
call fcn.00474c40
push edi
call fcn.0047b19e
add esp, 4
push esi
call fcn.00464ec0
push esi
call fcn.0047b19e
add esp, 4
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437f4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
inc esi
cmp esi, edi
mov dword [esp + 0x18], esi
jl 0x437cb2
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4