Function at 0x4b75b0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4f6770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov edx, dword [0x50a0e0]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0xe4]
mov dword [esp + 0x70], 0
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x4b77fd
mov eax, dword [ebp + 0xdc]
test eax, eax
jne 0x4b77fd
mov ebx, dword [ebp + 0xd4]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov dword [esp + 0x48], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x4b7643
mov eax, dword [edx - 0xc]
test eax, eax
jl 0x4b7635
lea ecx, [esp + 0x10]
call fcn.004020f0
jmp 0x4b7643
push 0x51d42c
lea ecx, [esp + 0x14]
call fcn.00406d00
mov esi, 0x100
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x5c], esi
call fcn.004562d0
xor edi, edi
mov dword [esp + 0x54], eax
cmp eax, edi
je 0x4b769b
mov edi, dword [0x4f94a0]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
lea eax, [esp + 0x40]
push eax
push ecx
push 0x1073
push edx
call edi
lea ecx, [esi - 1]
cmp eax, ecx
jl 0x4b7699
add esi, esi
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x5c], esi
call fcn.004562d0
test eax, eax
mov dword [esp + 0x54], eax
jne 0x4b7666
xor edi, edi
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00407070
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], edi
jle 0x4b77fd
mov dword [esp + 0x1c], edi
lea edx, [esp + 0x18]
push edi
push edx
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x80], 1
call fcn.0040b9c0
mov ecx, ebp
call fcn.004a9c50
cmp eax, edi
je 0x4b77e6
push 0x51d42c
lea ecx, [esp + 0x34]
mov word [esp + 0x34], di
call fcn.004067a0
push str.updatetime
lea ecx, [esp + 0x24]
mov word [esp + 0x24], di
call fcn.004067a0
lea ecx, [esp + 0x14]
mov ebx, 3
push ecx
push str.setAttribute
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], bl
call fcn.004b1e30
cmp eax, edi
jl 0x4b7744
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
push edi
lea eax, [esp + 0x24]
push edx
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004068c0
mov esi, dword [0x4f936c]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x1c], eax
call esi
lea eax, [esp + 0x30]
push eax
call esi
mov word [esp + 0x20], bx
mov ebx, 1
mov dword [esp + 0x28], ebx
push str.needup
lea ecx, [esp + 0x34]
mov word [esp + 0x34], di
call fcn.004067a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 5
push ecx
push str.setAttribute
lea ecx, [esp + 0x24]
call fcn.004b1e30
cmp eax, edi
jl 0x4b77b2
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edi
lea eax, [esp + 0x34]
push edx
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004068c0
lea edx, [esp + 0x30]
mov dword [esp + 0x18], eax
push edx
call esi
lea eax, [esp + 0x20]
push eax
call esi
mov ecx, dword [ebp + 0xe0]
mov dword [ebp + 0xdc], ebx
push ecx
call dword [0x4f92a8]
push ebp
push edi
push 0x4a9830
call fcn.004ddc20
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x70], 0
cmp eax, edi
je 0x4b77f9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x50a0e4]
lea eax, [edx - 0xc]
cmp eax, ecx
je 0x4b7828
add edx, 0xfffffff4
push edx
call dword [0x4f9320]
test eax, eax
jg 0x4b7828
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff4
push ecx
call fcn.004dcaa6
add esp, 4
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret