Function at 0x47c090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ddf78
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebp
push esi
push edi
mov eax, dword [0x504f68]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, ebx
call fcn.0047baf0
test al, al
je 0x47c31d
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
test edx, edx
jle 0x47c31d
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
test eax, eax
jle 0x47c31d
lea ecx, [esp + 0x38]
push ecx
push ebx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x20]
call fcn.0047b450
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
cmp esi, edi
mov ebp, dword [esp + 0x18]
jl 0x47c11c
mov edx, dword [esp + 0x30]
cmp edx, dword [esp + 0x40]
jle 0x47c169
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x30]
sub eax, edi
add eax, esi
test eax, eax
jle 0x47c15a
mov edx, dword [esp + 0x20]
mov ecx, esi
sub ecx, eax
lea eax, [ecx + ebp]
xor ecx, ecx
test eax, eax
setl cl
sub edx, dword [esp + 0x40]
dec ecx
and ecx, eax
lea eax, [edx + edi]
lea edx, [esi + ebp]
cmp edx, eax
jge 0x47c151
mov eax, edx
call fcn.00477bc0
mov ebp, eax
jmp 0x47c169
xor ecx, ecx
call fcn.00477bc0
mov ecx, dword [esp + 0x28]
sub ecx, eax
add ebp, ecx
mov edx, dword [esp + 0x2c]
cmp edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov esi, edi
jl 0x47c183
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x44]
jle 0x47c1de
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x34]
sub eax, dword [esp + 0x3c]
add eax, edx
test eax, eax
jle 0x47c1c9
mov esi, dword [esp + 0x3c]
mov ecx, edx
sub ecx, eax
lea eax, [ecx + edi]
xor ecx, ecx
test eax, eax
setl cl
add edx, edi
dec ecx
and ecx, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x44]
add eax, esi
cmp edx, eax
jge 0x47c1bc
mov eax, edx
call fcn.00477bc0
mov edx, dword [esp + 0x2c]
mov esi, eax
jmp 0x47c1da
xor ecx, ecx
call fcn.00477bc0
mov edx, dword [esp + 0x2c]
mov ecx, edx
sub ecx, eax
add esi, ecx
mov edi, dword [esp + 0x1c]
cmp ebp, dword [esp + 0x18]
jne 0x47c1ec
cmp esi, edi
je 0x47c29d
xor edi, edi
mov dword [esp + 0x14], edi
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
mov dword [esp + 0x54], edi
call fcn.0047f770
test eax, eax
mov eax, dword [esp + 0x14]
jl 0x47c309
cmp eax, edi
je 0x47c309
mov ecx, dword [eax]
mov edx, dword [ecx + 0x11c]
push esi
push ebp
push eax
call edx
test eax, eax
jge 0x47c248
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x47c31d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x47c31d
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, ebx
call fcn.0047baf0
test al, al
jne 0x47c26e
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x14]
jmp 0x47c311
lea ecx, [esp + 0x38]
push ecx
push ebx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x20]
call fcn.0047b450
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x47c299
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
xor ecx, ecx
test eax, eax
setle cl
dec ecx
and ecx, eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov esi, ecx
cmp dword [esp + 0x30], eax
jl 0x47c2bf
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
xor ecx, ecx
test edx, edx
setle cl
sub eax, dword [esp + 0x3c]
dec ecx
and ecx, edx
cmp dword [esp + 0x34], eax
jl 0x47c2db
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x44
ret 8
mov dword [esp + 0x50], 0xffffffff
cmp eax, edi
je 0x47c31d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x44
ret 8