Function at 0x476140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aaf28
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d82fc]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1c8]
mov eax, dword [0x4dd02c]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x4dd02c
mov dword [esp + 0x1c], esi
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c0], esi
mov eax, dword [0x4dd02c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dd02c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c0], 1
mov dword [esp + 0x24], esi
call fcn.0049527f
mov edi, eax
lea eax, [esp + 0x34]
mov dword [esp + 0x30], eax
call dword [0x4d80ac]
mov ecx, dword [esp + 0x1cc]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00409138
lea eax, [esp + 0x20]
mov byte [esp + 0x1c0], 2
mov ecx, dword [esp + 0x30]
push eax
call fcn.00408f6b
mov byte [esp + 0x1c0], 4
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x476214
push eax
call fcn.00479fe9
add esp, 4
mov edx, dword [esp + 0x20]
push edx
push 0x2712
push edi
call fcn.004952b1
add esp, 0xc
cmp eax, esi
jne 0x4764d8
cmp dword [ebp + 0x1c], esi
je 0x476389
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
push eax
push ecx
push str._ws:_ws
lea eax, [esp + 0x20]
call fcn.00448eed
add esp, 0xc
cmp dword [ebp + 0x1c], 1
mov ebx, 5
jne 0x47625f
push esi
jmp 0x476260
push ebx
push 0x65
push edi
call fcn.004952b1
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
push 0x2714
push edi
call fcn.004952b1
mov eax, dword [ebp + 0x28]
lea ecx, [ebp + 0x28]
add esp, 0xc
cmp dword [eax - 0xc], esi
je 0x476389
lea edx, [esp + 0x28]
push 0x4bafdc
push edx
call fcn.00408a8a
lea ecx, [ebp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, eax
mov byte [esp + 0x1d0], bl
call fcn.00408442
add esp, 0x10
mov byte [esp + 0x1c0], 6
mov esi, dword [eax]
lea eax, [esp + 0xb8]
mov dword [esp + 0xb4], eax
call dword [0x4d80ac]
push eax
push esi
lea ecx, [esp + 0xbc]
push ecx
call fcn.00409138
mov byte [esp + 0x1c0], 7
mov eax, dword [esp + 0xb4]
test eax, eax
mov esi, eax
je 0x476301
push eax
call fcn.004778b0
add esp, 4
push eax
push esi
lea eax, [esp + 0x20]
call fcn.0040945e
mov eax, dword [esp + 0xb4]
lea edx, [esp + 0xb8]
cmp eax, edx
je 0x476327
push eax
call fcn.00479fe9
add esp, 4
mov byte [esp + 0x1c0], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47634e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c0], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x476376
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
push 0x2716
push edi
call fcn.004952b1
add esp, 0xc
push edi
mov eax, ebp
call fcn.00476670
push 0x476580
push 0x4e2b
push edi
call fcn.004952b1
add esp, 0xc
test eax, eax
jne 0x4764d8
mov edx, dword [ebp + 0x30]
push edx
push 0x2711
push edi
call fcn.004952b1
add esp, 0xc
test eax, eax
jne 0x4764d8
push 0x4765a0
push 0x4e58
push edi
call fcn.004952b1
add esp, 0xc
test eax, eax
jne 0x4764d8
mov eax, dword [ebp + 0x34]
push eax
push 0x2749
push edi
call fcn.004952b1
add esp, 0xc
test eax, eax
jne 0x4764d8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x476413
cdq
push edx
push eax
push 0x75c2
push edi
call fcn.004952b1
add esp, 0x10
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x476436
cdq
push edx
push eax
push 0x4e
push edi
call fcn.004952b1
mov eax, dword [ebp + 0x10]
cdq
push edx
push eax
push 0xd
push edi
call fcn.004952b1
add esp, 0x20
push 1
push 0x34
push edi
call fcn.004952b1
add esp, 0xc
test eax, eax
jne 0x4764d8
push edi
call fcn.004952d2
add esp, 4
lea ecx, [esp + 0x24]
push ecx
push 0x100020
push edi
mov ebx, eax
call fcn.004953a7
mov eax, dword [esp + 0x30]
add esp, 0xc
test eax, eax
je 0x4764ad
push eax
lea esi, [esp + 0xb8]
call fcn.0042b575
mov byte [esp + 0x1c0], 8
mov eax, dword [eax]
push eax
lea edx, [ebp + 8]
push edx
call fcn.00407e8c
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0xb8]
cmp eax, ecx
je 0x4764ad
push eax
call fcn.00479fe9
add esp, 4
test ebx, ebx
je 0x4764b6
mov dword [ebp + 4], ebx
jmp 0x4764d8
lea esi, [ebp + 4]
push esi
push 0x200002
push edi
call fcn.004953a7
add esp, 0xc
cmp dword [esi], 0xc8
jne 0x4764d8
mov dword [esp + 0x1c], 1
test edi, edi
je 0x4764e5
push edi
call fcn.00495362
add esp, 4
mov byte [esp + 0x1c0], 1
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 0x47650d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c0], 0
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 0x476535
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c0], 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 0x476560
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b0
ret 8