Function at 0x478450
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e6f40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x30], esi
call fcn.0041db05
lea ecx, [esp + 0x5c]
call fcn.00440be0
mov eax, dword [0x5192f0]
xor ebx, ebx
cmp eax, ebx
je 0x4784b5
cmp dword [0x5192dc], ebx
jne 0x4784d5
push str.dhcpcsvc.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x4784cd
push str.DhcpNotifyConfigChange
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x5192dc], eax
jne 0x4784d5
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
mov dword [0x5192dc], ebx
jmp 0x4784b5
push 2
mov dword [esp + 0x64], ebx
call fcn.00445f00
add esp, 4
cmp eax, ebx
mov dword [esp + 0x60], eax
je 0x4784ee
mov word [eax], bx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x78], ebx
call fcn.0043f2e0
push 2
call fcn.00445f00
add esp, 8
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x478519
mov word [eax], bx
push 2
call fcn.00445f00
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x47852e
mov word [eax], bx
push 2
call fcn.00445f00
add esp, 4
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x478543
mov word [eax], bx
push 2
call fcn.00445f00
add esp, 4
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x478558
mov word [eax], bx
push 2
call fcn.00445f00
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x47856d
mov word [eax], bx
push 2
call fcn.00445f00
add esp, 4
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x478582
mov word [eax], bx
push 2
mov dword [esp + 0x44], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0xffff0000
call fcn.00445f00
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4785a7
mov word [eax], bx
push 2
call fcn.00445f00
add esp, 4
cmp eax, ebx
mov dword [esp + 0x34], eax
je 0x4785bc
mov byte [eax], 0
push ebp
push edi
push 1
push 0x2c
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x88], 8
call fcn.0045a420
push ebx
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00449370
mov edi, dword [esp + 0x2c]
xor ebp, ebp
add esp, 0xc
cmp word [edi], 0x2a
mov esi, edi
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x11], 1
mov byte [esp + 0x13], 0
mov byte [esp + 0x10], 2
mov byte [esp + 0x16], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x15], 0
mov dword [esp + 0x1c], esi
jne 0x4787ac
push 6
push esi
push str.fresh
call fcn.004403f0
add esp, 0xc
test al, al
je 0x478651
lea eax, [esp + 0x1c]
add esi, 0xc
push eax
mov dword [esp + 0x20], esi
call fcn.0043f2e0
mov byte [esp + 0x15], 1
jmp 0x47879b
push 7
push esi
push str.nfresh
call fcn.004403f0
add esp, 0xc
test al, al
je 0x478680
lea ecx, [esp + 0x1c]
add esi, 0xe
push ecx
mov dword [esp + 0x20], esi
call fcn.0043f2e0
mov byte [esp + 0x15], 0
jmp 0x47879b
push 5
push esi
push str.many
call fcn.004403f0
add esp, 0xc
test al, al
je 0x4786af
lea edx, [esp + 0x1c]
add esi, 0xa
push edx
mov dword [esp + 0x20], esi
call fcn.0043f2e0
mov byte [esp + 0x17], 1
jmp 0x47879b
push 5
push esi
push str.safe
call fcn.004403f0
add esp, 0xc
test al, al
je 0x4786de
lea eax, [esp + 0x1c]
add esi, 0xa
push eax
mov dword [esp + 0x20], esi
call fcn.0043f2e0
mov byte [esp + 0x14], 2
jmp 0x47879b
push 5
push esi
push str.qkos
call fcn.004403f0
add esp, 0xc
test al, al
je 0x47870d
lea ecx, [esp + 0x1c]
add esi, 0xa
push ecx
mov dword [esp + 0x20], esi
call fcn.0043f2e0
mov byte [esp + 0x14], 0
jmp 0x47879b
push 3
push esi
push 0x4f6338
call fcn.004403f0
add esp, 0xc
test al, al
je 0x478739
lea edx, [esp + 0x1c]
add esi, 6
push edx
mov dword [esp + 0x20], esi
call fcn.0043f2e0
mov byte [esp + 0x1a], 2
jmp 0x47879b
push 5
push esi
push str.sfsw
call fcn.004403f0
add esp, 0xc
test al, al
je 0x478765
lea eax, [esp + 0x1c]
add esi, 0xa
push eax
mov dword [esp + 0x20], esi
call fcn.0043f2e0
mov byte [esp + 0x16], 0x10
jmp 0x47879b
push 4
push esi
push str.all
call fcn.004403f0
add esp, 0xc
test al, al
je 0x478791
lea ecx, [esp + 0x1c]
add esi, 8
push ecx
mov dword [esp + 0x20], esi
call fcn.0043f2e0
mov byte [esp + 0x19], 0x40
jmp 0x47879b
lea edx, [esp + 0x1c]
push edx
call fcn.00416791
mov esi, dword [esp + 0x20]
add esp, 4
cmp word [esi], 0x2a
je 0x478622
cmp word [esi], 0x3f
jne 0x4787bb
mov ebp, 1
mov dword [esp + 0x4c], ebp
lea esi, [esi + ebp*2]
mov edi, edi
mov ax, word [esi]
cmp ax, 0x3f
je 0x4787e1
cmp ax, 0x2a
je 0x4787e1
cmp ax, 9
jb 0x4787db
cmp ax, 0xd
jbe 0x4787e1
cmp ax, 0x20
jne 0x4787e6
add esi, 2
jmp 0x4787c0
push esi
lea ecx, [esp + 0x38]
call fcn.004574e0
mov word [edi], bx
mov dword [esp + 0x54], ebx
call fcn.0041f0be
cmp eax, 0x60000
setb al
test al, al
mov byte [esp + 0x17], al
jne 0x478810
mov byte [esp + 0x12], al
mov esi, dword [esp + 0x84]
cmp word [esi], 0x2c
mov dword [esp + 0x50], ebx
mov dword [esp + 0x64], ebx
jne 0x4788d4
push 1
push 0x2c
lea eax, [esp + 0x8c]
add esi, 2
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x90], esi
call fcn.0045a420
push ebx
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.00449370
mov esi, dword [esp + 0x90]
add esp, 0xc
cmp word [esi], 0x2c
jne 0x4788d4
push 1
push 0x2c
lea edx, [esp + 0x8c]
add esi, 2
push edx
lea ecx, [esp + 0x74]
mov dword [esp + 0x90], esi
call fcn.0045a420
push ebx
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.00449370
mov esi, dword [esp + 0x90]
add esp, 0xc
cmp word [esi], 0x2c
jne 0x4788d4
push 1
push 0x2c
lea edx, [esp + 0x8c]
add esi, 2
push edx
lea ecx, [esp + 0x74]
mov dword [esp + 0x90], esi
call fcn.0045a420
push ebx
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.00449370
mov esi, dword [esp + 0x90]
add esp, 0xc
push 2
call fcn.00445f00
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x4788e9
mov word [eax], bx
cmp word [esi], 0x2c
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [esp + 0x7c], 9
jne 0x478aa6
push 2
call fcn.00445f00
add esp, 4
cmp eax, ebx
mov dword [esp + 0x44], eax
je 0x478913
mov word [eax], bx
push 1
push 0x2c
lea edx, [esp + 0x8c]
add esi, 2
push edx
lea ecx, [esp + 0x74]
mov byte [esp + 0x88], 0xa
mov dword [esp + 0x90], esi
call fcn.0045a420
push 0
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.00449370
mov edi, dword [esp + 0x50]
mov esi, edi
add esp, 0xc
mov edx, 0x3f
lea eax, [esp + 0x40]
mov dword [esp + 0x58], esi
mov dword [esp + 0x40], edi
call fcn.00445b70
mov ebx, dword [esp + 0x40]
cmp word [ebx], dx
jne 0x478977
mov word [ebx], 0
add ebx, 2
mov ax, word [edi]
cmp ax, 0x30
mov byte [esp + 0x14], 0
jb 0x478a43
cmp ax, 0x39
ja 0x478a43
push edi
call ebp
cmp eax, 0x11
jge 0x478a43
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.00449a90
mov eax, dword [esp + 0x50]
add esp, 8
test eax, eax
mov byte [esp + 0x14], 1
jge 0x478a3f
lea ecx, [esp + 0x44]
call fcn.0043f290
lea ecx, [esp + 0x1c]
call fcn.0043f290
lea ecx, [esp + 0x3c]
call fcn.0043f290
lea ecx, [esp + 0x18]
call fcn.0043f290
lea ecx, [esp + 0x2c]
call fcn.0043f290
lea ecx, [esp + 0x24]
call fcn.0043f290
lea ecx, [esp + 0x28]
call fcn.0043f290
lea ecx, [esp + 0x30]
call fcn.0043f290
lea ecx, [esp + 0x20]
call fcn.0043f290
lea ecx, [esp + 0x34]
call fcn.0043f290
lea ecx, [esp + 0x68]
call fcn.0043f290
pop edi
pop ebp
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
mov esi, dword [esp + 0x58]
cmp word [esi], 0x2a
jne 0x478a5e
lea esp, [esp]
mov word [esi], 0
add esi, 2
cmp word [esi], 0x2a
je 0x478a50
mov al, byte [esp + 0x14]
test al, al
jne 0x478a70
push esi
lea ecx, [esp + 0x1c]
call fcn.004575a0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x478a82
push ebx
lea ecx, [esp + 0x20]
call fcn.004574e0
mov ecx, dword [0x51927c]
add edi, 0xfffffff8
push edi
push 0
push ecx
mov byte [esp + 0x88], 9
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp + 0x84]
xor ebx, ebx
cmp dword [esp + 0x4c], ebx
jne 0x478af4
cmp word [esi], 0x2c
jne 0x478b63
push 0x2c
lea edx, [esp + 0x60]
push edx
push 1
push 0x2c
lea eax, [esp + 0x94]
add esi, 2
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x98], esi
call fcn.0045a420
push eax
call fcn.00449750
add esp, 0xc
test eax, eax
jle 0x478b63
movzx ecx, word [esp + 0x5c]
mov dword [esp + 0x60], ecx
jmp 0x478b63
cmp word [esi], 0x2c
jne 0x478b63
push ebx
lea edx, [esp + 0x28]
push edx
push 1
push 0x2c
lea eax, [esp + 0x94]
add esi, 2
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x98], esi
call fcn.0045a420
push eax
call fcn.00449370
mov esi, dword [esp + 0x90]
add esp, 0xc
cmp word [esi], 0x2c
jne 0x478b63
push ebx
lea ecx, [esp + 0x30]
push ecx
push 1
push 0x2c
lea edx, [esp + 0x94]
add esi, 2
push edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x98], esi
call fcn.0045a420
push eax
call fcn.00449370
add esp, 0xc
cmp dword [esp + 0x48], ebx
mov esi, dword [esp + 0x18]
jge 0x478b88
cmp word [esi], bx
jne 0x478b88
mov eax, dword [esp + 0x24]
cmp word [eax], bx
jne 0x478b88
mov ecx, dword [esp + 0x2c]
cmp word [ecx], bx
je 0x4789cb
push 0x5194ec
mov dword [esp + 0x5c], 0x5194ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call ebp
dec eax
cmp word [esi], 0x7b
jne 0x478bca
cmp word [esi + eax*2], 0x7d
jne 0x478bca
mov ax, word [esi + 2]
call fcn.00445b40
test al, al
je 0x478bca
mov ax, word [esi + 4]
call fcn.00445b40
test al, al
je 0x478bca
mov bl, 1
jmp 0x478bcc
xor bl, bl
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
call fcn.0041520a
mov edi, dword [esp + 0x2c]
push edi
call ebp
lea esi, [eax + eax + 2]
push esi
call fcn.00445f00
mov ecx, esi
mov edx, ecx
mov esi, edi
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x44], eax
test bl, bl
mov byte [esp + 0x7c], 0xd
mov dword [esp + 0x5c], 0
jne 0x478c29
mov eax, dword [esp + 0x48]
test eax, eax
jge 0x478c45
mov eax, dword [esp + 0x18]
cmp word [eax], 0
jne 0x478c45
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x478c72
mov ecx, dword [esp + 0x24]
cmp word [ecx], 0
jne 0x478c45
mov edx, dword [esp + 0x2c]
cmp word [edx], 0
je 0x478c72
mov cl, byte [esp + 0x10]
xor eax, eax
mov al, byte [esp + 0x15]
or al, cl
lea ecx, [esp + 0x40]
lea edx, [esp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
call fcn.004670c0
add esp, 0x14
mov dword [esp + 0x5c], eax
mov edi, dword [esp + 0x18]
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x48]
call fcn.004461b0
mov ebx, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
call esi
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x478fd9
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x478cb2
mov ecx, dword [esp + 0x38]
push edi
push eax
call fcn.00444550
mov ecx, dword [esp + 0x24]
cmp word [ecx], 0
je 0x478d4e
mov edx, dword [esp + 0x40]
movzx ebx, word [0x51e010]
push edx
call esi
mov ebp, eax
lea edi, [ebp + 2]
lea eax, [edi + edi + 4]
push 0
call fcn.00445f60
mov esi, eax
add esp, 4
test esi, esi
je 0x478cee
mov word [esi + edi*2 + 2], 0
mov eax, dword [esp + 0x40]
push edi
push esi
push ebp
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jge 0x478d07
xor edi, edi
lea eax, [edi + edi + 4]
push esi
mov word [esi + edi*2], 0
call fcn.00445f60
add esp, 4
test eax, eax
mov dword [esp + 0x64], eax
je 0x478d29
mov word [eax + edi*2 + 2], 0
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x84], 0xe
call fcn.00444550
lea ecx, [esp + 0x64]
mov byte [esp + 0x7c], 0xd
call fcn.0043f290
mov eax, dword [esp + 0x2c]
cmp word [eax], 0
je 0x478d67
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
push edx
push eax
call fcn.00444550
push 0xca9
call fcn.00445f00
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x64], esi
je 0x478d81
mov byte [esi], 0
xor eax, eax
mov ecx, 0x32a
mov edi, esi
rep stosd dword es:[edi], eax
lea edi, [esi + 1]
mov byte [esi + 2], al
mov byte [edi], al
mov eax, dword [esp + 0x3c]
mov byte [esi], 0x2a
cmp byte [eax], 0
mov byte [esp + 0x7c], 0xf
lea ebx, [esi + 0x32a]
lea ebp, [esi + 0x654]
je 0x478dc8
mov ecx, dword [esp + 0x3c]
lea eax, [esi + 0x97e]
push eax
push ebp
push ebx
push esi
push ecx
call fcn.004594f0
add esp, 0x14
mov edx, dword [esp + 0x34]
cmp word [edx], 0
je 0x478df3
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x24]
call fcn.00446330
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00444550
mov edx, dword [esp + 0x20]
cmp word [edx], 0
je 0x478e1e
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
call fcn.00446330
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00444550
mov edx, dword [esp + 0x30]
cmp word [edx], 0
je 0x478e49
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x24]
call fcn.00446330
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00444550
mov cl, byte [esi + 0x97e]
test cl, cl
lea eax, [esi + 0x97e]
je 0x478e70
lea esp, [esp]
cmp byte [eax], 0x2c
jne 0x478e68
mov byte [eax], 0x20
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x478e60
mov edx, dword [esp + 0x28]
cmp word [edx], 0
je 0x478ea3
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esi + 0x97e]
push eax
lea ecx, [esp + 0x24]
call fcn.00446330
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push edi
push eax
call fcn.00444550
jmp 0x478ea7
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x5c]
mov ecx, dword [0x51927c]
xor ebx, ebx
test edx, edx
setne bl
add esi, 0xfffffff8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push ecx
dec ebx
and ebx, 0x37
call esi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x478ee2
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x40]
test eax, eax
je 0x478ef8
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push 0
push eax
call esi
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x51927c]
add ecx, 0xfffffff8
push ecx
push 0
push edx
call esi
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
test edi, edi
je 0x478f3c
mov edx, dword [0x51927c]
add edi, 0xfffffff8
push edi
push 0
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
mov edx, dword [esp + 0x24]
mov eax, dword [0x51927c]
add edx, 0xfffffff8
push edx
push 0
push eax
call esi
mov ecx, dword [esp + 0x28]
mov edx, dword [0x51927c]
add ecx, 0xfffffff8
push ecx
push 0
push edx
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
mov edx, dword [esp + 0x20]
mov eax, dword [0x51927c]
add edx, 0xfffffff8
push edx
push 0
push eax
call esi
mov ecx, dword [esp + 0x34]
mov edx, dword [0x51927c]
add ecx, 0xfffffff8
push ecx
push 0
push edx
call esi
mov eax, dword [esp + 0x68]
test eax, eax
je 0x478fc2
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push 0
push eax
call esi
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
mov edi, dword [esp + 0x60]
test edi, edi
jl 0x4790b3
movsx edx, byte [esp + 0x13]
movsx ecx, byte [esp + 0x10]
xor eax, eax
or ecx, edx
test edi, edi
setne al
push eax
push ebx
call fcn.00460530
mov ecx, dword [esp + 0x40]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
push 0
neg esi
call fcn.00460e70
test esi, esi
je 0x47901d
xor esi, esi
jmp 0x479025
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [esp + 0x44]
call fcn.0043f290
lea ecx, [esp + 0x40]
call fcn.0043f290
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x1c]
call fcn.0043f290
lea ecx, [esp + 0x3c]
call fcn.0043f290
lea ecx, [esp + 0x18]
call fcn.0043f290
lea ecx, [esp + 0x2c]
call fcn.0043f290
lea ecx, [esp + 0x24]
call fcn.0043f290
lea ecx, [esp + 0x28]
call fcn.0043f290
lea ecx, [esp + 0x30]
call fcn.0043f290
lea ecx, [esp + 0x20]
call fcn.0043f290
lea ecx, [esp + 0x34]
call fcn.0043f290
lea ecx, [esp + 0x68]
call fcn.0043f290
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
mov edi, dword [esp + 0x34]
cmp word [edi], 0x2d
jne 0x4790cc
mov al, byte [esp + 0x16]
test al, al
jne 0x4790cc
mov ebp, 1
jmp 0x4790ce
xor ebp, ebp
cmp byte [ebx], 0
jne 0x479172
mov al, byte [esp + 0x11]
test al, al
jne 0x479310
lea ecx, [esp + 0x44]
call fcn.0043f290
lea ecx, [esp + 0x40]
call fcn.0043f290
lea ecx, [esp + 0x58]
call fcn.004151a3
lea ecx, [esp + 0x1c]
call fcn.0043f290
lea ecx, [esp + 0x3c]
call fcn.0043f290
lea ecx, [esp + 0x18]
call fcn.0043f290
lea ecx, [esp + 0x2c]
call fcn.0043f290
lea ecx, [esp + 0x24]
call fcn.0043f290
lea ecx, [esp + 0x28]
call fcn.0043f290
lea ecx, [esp + 0x30]
call fcn.0043f290
lea ecx, [esp + 0x20]
call fcn.0043f290
lea ecx, [esp + 0x34]
call fcn.0043f290
lea ecx, [esp + 0x68]
call fcn.0043f290
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
mov ecx, dword [esp + 0x28]
mov dl, 0x2c
call fcn.00442e80
mov dl, 0x3b
mov ecx, edi
call fcn.00442e80
mov ecx, dword [esp + 0x20]
call fcn.00442e80
cmp word [edi], 0
jne 0x4791ad
mov ecx, dword [esp + 0x30]
cmp word [ecx], 0
jne 0x4791ad
mov edx, dword [esp + 0x28]
cmp word [edx], 0
je 0x4792cd
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x4c]
call fcn.0041520a
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x50]
call fcn.0041520a
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x60]
call fcn.0041520a
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
call fcn.0041520a
mov ecx, dword [esp + 0x4c]
push ecx
mov byte [esp + 0x80], 0x13
call esi
add eax, 0xdc
push eax
lea ecx, [esp + 0x50]
call fcn.004460b0
mov edx, dword [esp + 0x48]
push edx
call esi
add eax, 0xdc
push eax
lea ecx, [esp + 0x4c]
call fcn.004460b0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
push eax
push ecx
push edi
push esi
push ebx
call fcn.004594f0
mov cl, byte [esp + 0x24]
mov dword [esp + 0x78], eax
movzx eax, ax
xor edx, edx
add esp, 0x14
test eax, eax
setne dl
test cl, cl
mov dword [esp + 0x50], eax
mov eax, edx
jne 0x479265
mov cl, byte [esp + 0x11]
test cl, cl
jne 0x47928c
cmp dword [esp + 0x50], 1
jne 0x47928c
test ebp, ebp
jne 0x47928c
cmp byte [esi], 0x2a
je 0x479290
movsx eax, byte [esp + 0x12]
push eax
push edi
push esi
push 0
push ebx
call fcn.00459dc0
mov edi, eax
mov al, byte [esi]
add esp, 0x14
cmp al, 0x2d
jne 0x47928a
call fcn.00440860
mov eax, edi
test eax, eax
je 0x47929a
mov dword [esp + 0x54], 0
jmp 0x4792a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x60]
call fcn.0043f290
lea ecx, [esp + 0x5c]
call fcn.0043f290
lea ecx, [esp + 0x4c]
call fcn.0043f290
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 0xd
call fcn.0043f290
mov al, byte [esp + 0x11]
test al, al
jne 0x479310
mov eax, dword [0x5192dc]
test eax, eax
je 0x479310
mov al, byte [esp + 0x17]
test al, al
je 0x479310
test ebp, ebp
jne 0x479310
cmp dword [esp + 0x50], 1
jg 0x479310
cmp dword [esp + 0x64], 0x10000
jl 0x479327
mov ecx, dword [esp + 0x38]
push 0x1f4
call fcn.0041ecf1
call fcn.00440860
jmp 0x479327
movsx edx, byte [esp + 0x13]
movsx ecx, byte [esp + 0x10]
push 0xffffffffffffffff
or ecx, edx
push ebx
call fcn.00460530
add esp, 8
mov ecx, dword [esp + 0x38]
push 0
call fcn.00460e70
lea ecx, [esp + 0x44]
call fcn.0043f290
lea ecx, [esp + 0x40]
call fcn.0043f290
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x1c]
call fcn.0043f290
lea ecx, [esp + 0x3c]
call fcn.0043f290
lea ecx, [esp + 0x18]
call fcn.0043f290
lea ecx, [esp + 0x2c]
call fcn.0043f290
lea ecx, [esp + 0x24]
call fcn.0043f290
lea ecx, [esp + 0x28]
call fcn.0043f290
lea ecx, [esp + 0x30]
call fcn.0043f290
lea ecx, [esp + 0x20]
call fcn.0043f290
lea ecx, [esp + 0x34]
call fcn.0043f290
lea ecx, [esp + 0x68]
call fcn.0043f290
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x54]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 8