Function at 0x4f3928
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004071fc
mov eax, dword [ebp - 8]
call fcn.004071fc
mov eax, dword [ebp + 8]
call fcn.00406b08
xor eax, eax
push ebp
push 0x4f3c46
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
mov ecx, 0x4f3c58
call fcn.004071cc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
sub eax, 1
jno 0x4f3990
call fcn.00403edc
test eax, eax
jl 0x4f3bf2
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], 0
imul eax, dword [ebp - 0x1c], 0x2d
jno 0x4f39ae
call fcn.00403edc
mov edx, dword [ebp + 0xc]
lea ebx, [edx + eax + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x10], eax
imul esi, dword [ebp - 0x1c], 0xb
jno 0x4f39c6
call fcn.00403edc
mov eax, dword [ebp + 8]
lea edx, [eax + esi*4]
mov eax, dword [0x5913c8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0xc]
test al, al
je 0x4f39ec
mov word [ebx + 0x27], 0xffff
xor eax, eax
mov dword [ebx + 0xc], eax
jmp 0x4f3be6
mov word [ebx + 0x27], 0
movzx eax, word [ebx + 0x25]
cmp eax, 5
jg 0x4f3a0a
je 0x4f3a59
sub eax, 3
je 0x4f3a20
dec eax
je 0x4f3a3c
jmp 0x4f3be6
add eax, 0xffffff90
sub eax, 2
jb 0x4f3b2a
sub eax, 0x49
je 0x4f3a8a
jmp 0x4f3be6
mov eax, dword [ebp + 8]
lea edx, [eax + esi*4]
mov eax, dword [0x5913c8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov edx, dword [ebx + 0xc]
mov dword [edx], eax
jmp 0x4f3be6
mov eax, dword [ebp + 8]
lea edx, [eax + esi*4]
mov eax, dword [0x5913c8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0xc]
fstp qword [eax]
wait
jmp 0x4f3be6
mov eax, dword [ebp + 8]
lea edx, [eax + esi*4]
lea ecx, [ebp - 0x44]
mov eax, dword [0x5913c8]
mov eax, dword [eax]
mov esi, dword [eax]
call dword [esi + 0x30]
mov eax, dword [ebp - 0x44]
call fcn.00405440
mov edx, eax
mov eax, dword [ebx + 0xc]
mov ecx, 0x400
call fcn.0040b45c
jmp 0x4f3be6
mov eax, dword [ebp + 8]
lea edx, [eax + esi*4]
mov eax, dword [0x5913c8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x32]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x2e]
call fcn.0040d1dc
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x3a]
push eax
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x36]
lea eax, [ebp - 0x34]
call fcn.0040cefc
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
movzx eax, word [ebp - 0x36]
push eax
movzx eax, word [ebp - 0x38]
push eax
movzx eax, word [ebp - 0x3a]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x98]
mov edx, eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xbc]
push 4
push 0
mov ecx, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004f3fdc
jmp 0x4f3be6
mov eax, dword [ebp + 8]
lea edx, [eax + esi*4]
lea ecx, [ebp - 0x48]
mov eax, dword [0x5913c8]
mov eax, dword [eax]
mov esi, dword [eax]
call dword [esi + 0x40]
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0xc]
mov ecx, 0x4f3c68
call fcn.004071cc
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x4f3bdf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
push eax
movzx eax, byte [ebx + 0x24]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4f1d48]
call fcn.004f2ee4
mov edx, eax
test edx, edx
je 0x4f3b93
sub edx, 0xffffffd4
lea eax, [ebp - 0x10]
call fcn.004071a0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x4c]
lea eax, [ebx + 0x29]
mov edx, dword [ebp - 0x10]
call fcn.004071a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3be6
lea eax, [ebp - 0x10]
call fcn.00407188
mov eax, dword [ebp - 0x2c]
call fcn.0040400c
ret
inc dword [ebp - 0x1c]
dec dword [ebp - 0x40]
jne 0x4f39a3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3c4d
lea eax, [ebp - 0x48]
call fcn.00407188
lea eax, [ebp - 0x44]
call fcn.00404f94
lea eax, [ebp - 0x14]
call fcn.00407188
lea eax, [ebp - 0x10]
call fcn.00407188
lea eax, [ebp - 0xc]
call fcn.00407188
lea eax, [ebp - 8]
call fcn.00407188
lea eax, [ebp - 4]
call fcn.00407188
lea eax, [ebp + 8]
mov edx, dword [0x4b8c6c]
call fcn.00406aa4
ret