Function at 0x4f90d0
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7471cd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb98
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5fc], edi
nop dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 0x35c]
test eax, eax
je 0x4f948a
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x608], esi
mov dword [ebp - 0x5f4], ecx
mov dword [ebp - 0x604], ecx
mov dword [ebp - 0x600], ecx
mov dword [ebp - 4], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x360]
cmp eax, dword [edx + 0x364]
je 0x4f91d6
lea esi, [edx + 0x36c]
push esi
mov dword [ebp - 0x5f8], esi
call fcn.00517b49
add esp, 4
test eax, eax
je 0x4f9181
push eax
call fcn.00517c42
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x608]
mov eax, dword [edi]
add eax, 0x360
cmp ecx, eax
je 0x4f91a6
push dword [ebp - 0x5fc]
push dword [eax + 4]
push dword [eax]
call fcn.004fba60
push esi
mov byte [ebp - 4], 2
call fcn.00517b6e
add esp, 4
test eax, eax
je 0x4f91c0
push eax
call fcn.00517c42
add esp, 4
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x604]
mov esi, dword [ebp - 0x608]
mov dword [ebp - 0x5f4], ecx
cmp esi, ecx
je 0x4f9468
add esi, 0x20
mov dword [ebp - 0x5f0], esi
nop word [eax + eax]
push 0x420
lea eax, [ebp - 0x5e0]
push 0
push eax
call fcn.0070dcd0
push 0x60
lea eax, [ebp - 0x1bc]
push 0
push eax
call fcn.0070dcd0
push 0x104
lea eax, [ebp - 0x157]
push 0
push eax
call fcn.0070dcd0
mov eax, dword [esi - 4]
add esp, 0x24
mov dword [ebp - 0x5ec], eax
mov eax, dword [edi]
mov dword [ebp - 0x5e8], 2
mov dword [ebp - 0x5e4], 0
mov dword [ebp - 0x1c0], 0
mov byte [ebp - 0x15c], 0
mov dword [ebp - 0x15b], 0
mov ecx, dword [eax + 0x16c]
test ecx, ecx
je 0x4f94a8
mov eax, dword [ecx]
lea edx, [ebp - 0x5e8]
push edx
lea edx, [ebp - 0x5ec]
push edx
mov eax, dword [eax + 8]
call eax
mov dword [ebp - 0x5ec], eax
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4c]
push dword [ebp - 0x5e4]
push dword [ebp - 0x5e8]
push 0x8075ec
push eax
call fcn.00460c10
add esp, 0x10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
cmp ecx, eax
je 0x4f92e4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f92da
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0044bdc0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x3c], 0
cmovae eax, dword [ebp - 0x4c]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x4c]
call fcn.0044bf40
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [esi], 0
je 0x4f9413
mov edx, dword [edi]
mov dword [ebp - 0x5f8], edx
cmp dword [edx + 0x354], 0
je 0x4f9413
cmp dword [ebp - 0x5ec], 0
je 0x4f9413
mov ecx, 0x165
lea esi, [ebp - 0x5e8]
lea edi, [ebp - 0xba8]
sub esp, 0x70
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x5f0]
mov esi, esp
mov ecx, esi
mov eax, dword [edi - 4]
mov dword [ebp - 0x5ec], eax
mov eax, dword [edx + 0x32c]
mov dword [ebp - 0x60c], eax
lea eax, [edi - 0x20]
push eax
mov dword [ebp - 0x610], esi
call fcn.004609e0
mov byte [ebp - 4], 5
lea ecx, [esi + 0x28]
mov eax, dword [edi - 8]
mov dword [esi + 0x18], eax
mov eax, dword [edi - 4]
mov dword [esi + 0x1c], eax
mov al, byte [edi]
mov byte [esi + 0x20], al
mov eax, dword [edi + 4]
mov dword [esi + 0x24], eax
lea eax, [edi + 8]
push eax
call fcn.004609e0
lea eax, [edi + 0x20]
mov byte [ebp - 4], 6
lea ecx, [esi + 0x40]
push eax
call fcn.004609e0
lea eax, [edi + 0x38]
mov byte [ebp - 4], 7
lea ecx, [esi + 0x58]
push eax
call fcn.004609e0
sub esp, 0x598
mov byte [ebp - 4], 3
mov edi, esp
lea esi, [ebp - 0xba8]
mov ecx, 0x165
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x5ec]
mov ecx, dword [ebp - 0x5f8]
push dword [ebp - 0x60c]
movsb byte es:[edi], byte [esi]
lea ecx, [ecx + 0x330]
call fcn.0048df40
mov esi, dword [ebp - 0x5f0]
mov edi, dword [ebp - 0x5fc]
mov eax, dword [ebp - 0x5e8]
cmp eax, 1
je 0x4f9423
cmp eax, 4
jne 0x4f942d
push dword [esi - 4]
mov ecx, dword [edi]
call fcn.004f9af0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x30]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x30]
call fcn.0044bf40
add esi, 0x70
mov dword [ebp - 0x5f0], esi
lea eax, [esi - 0x20]
cmp eax, dword [ebp - 0x5f4]
jne 0x4f91f0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x608]
mov dword [ebp - 4], 0xffffffff
call fcn.004f9e40
jmp 0x4f9120
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005176b3
int3