Function at 0x445820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e350
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push ecx
push str.CreatePrinterSettingInfo::MakeDefaultShareName
lea ecx, [ebp - 0x854]
mov dword [ebp - 0x880], ebx
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4458af
test byte [ecx + 0x1c], 1
je 0x4458af
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cbda4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x3a
call fcn.00401840
add esp, 0xc
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.00403af0
add eax, 0x10
mov dword [ebp - 0x858], eax
mov byte [ebp - 4], 1
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x44645d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x874], esi
mov byte [ebp - 4], 2
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x446467
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x87c], edi
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 3
call fcn.0055b16f
mov byte [ebp - 4], 4
lea ebx, [esi - 0x10]
mov eax, dword [0x5ca5dc]
mov dword [ebp - 0x18], eax
mov eax, dword [0x5ca5e0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x858]
lea edx, [eax - 0x10]
cmp edx, ebx
je 0x44598d
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x445978
mov ecx, dword [edx]
cmp ecx, dword [ebx]
jne 0x445978
mov ecx, edx
call fcn.00403af0
mov dword [ebp - 0x860], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x44596d
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x860]
lea esi, [eax + 0x10]
mov dword [ebp - 0x874], esi
jmp 0x44598d
push dword [eax - 0xc]
lea ecx, [ebp - 0x874]
push eax
call fcn.00403bb0
mov esi, dword [ebp - 0x874]
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x894]
push eax
mov ecx, dword [ecx + 8]
call fcn.004db970
xor edx, edx
mov dword [ebp - 0x870], eax
mov dword [ebp - 0x86c], edx
test eax, eax
jle 0x445b9f
mov ecx, dword [ebp - 0x858]
nop
test edx, edx
js 0x446485
cmp edx, dword [ebp - 0x88c]
jge 0x446485
mov eax, dword [ebp - 0x890]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x860], eax
lea ebx, [eax - 0x10]
mov dword [ebp - 0x85c], ebx
lea ebx, [edi - 0x10]
cmp dword [ebp - 0x85c], ebx
je 0x445a63
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x445a42
mov ecx, dword [ebp - 0x85c]
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x445a3c
call fcn.00403af0
mov dword [ebp - 0x860], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x445a31
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x860]
lea edi, [eax + 0x10]
mov dword [ebp - 0x87c], edi
jmp 0x445a57
mov eax, dword [ebp - 0x860]
push dword [eax - 0xc]
lea ecx, [ebp - 0x87c]
push eax
call fcn.00403bb0
mov edi, dword [ebp - 0x87c]
mov edx, dword [ebp - 0x86c]
mov ecx, dword [ebp - 0x858]
test edi, edi
je 0x445b8c
cmp dword [ecx - 0xc], 0
jl 0x445b8c
push edi
push ecx
call fcn.00570be3
mov ecx, dword [ebp - 0x858]
mov edx, eax
add esp, 8
test edx, edx
je 0x445b86
sub edx, ecx
sar edx, 1
cmp edx, 0xffffffff
je 0x445b86
mov eax, dword [edi - 0xc]
xor ebx, ebx
test edx, edx
cmovns ebx, edx
xor edx, edx
test eax, eax
mov dword [ebp - 0x868], ebx
mov ebx, dword [ecx - 0xc]
cmovns edx, eax
mov eax, closesocket
sub eax, edx
mov dword [ebp - 0x860], edx
cmp eax, dword [ebp - 0x868]
jl 0x44647b
mov eax, dword [ebp - 0x868]
add eax, edx
cmp eax, ebx
mov eax, dword [ebp - 0x868]
jle 0x445aeb
mov edx, ebx
sub edx, eax
mov dword [ebp - 0x860], edx
mov dword [ebp - 0x85c], ebx
sub dword [ebp - 0x85c], eax
test edx, edx
jle 0x445b86
mov eax, dword [ebp - 0x85c]
sub ebx, edx
sub eax, edx
cmp dword [ecx - 4], 1
mov dword [ebp - 0x85c], eax
jle 0x445b29
push dword [ecx - 0xc]
lea ecx, [ebp - 0x858]
call fcn.00403e30
mov eax, dword [ebp - 0x85c]
mov ecx, dword [ebp - 0x858]
lea edx, [eax*2 + 2]
mov eax, dword [ebp - 0x860]
add eax, dword [ebp - 0x868]
push edx
lea eax, [ecx + eax*2]
push eax
mov eax, dword [ebp - 0x868]
push edx
lea eax, [ecx + eax*2]
push eax
call fcn.004013c0
add esp, 0x10
test ebx, ebx
js 0x446471
mov eax, dword [ebp - 0x858]
cmp ebx, dword [eax - 8]
jg 0x446471
mov dword [eax - 0xc], ebx
xor ecx, ecx
mov eax, dword [ebp - 0x858]
mov word [eax + ebx*2], cx
mov ecx, dword [ebp - 0x858]
mov edx, dword [ebp - 0x86c]
inc edx
mov dword [ebp - 0x86c], edx
cmp edx, dword [ebp - 0x870]
jl 0x4459c0
mov dword [ebp - 0x86c], 0
nop dword [eax]
lea ecx, [ebp - 0x858]
call fcn.004038c0
mov ecx, eax
call fcn.00403810
mov edx, dword [ebp - 0x858]
mov ebx, dword [edx - 0xc]
mov dword [ebp - 0x868], ebx
test ebx, ebx
js 0x446471
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x445bfc
push ebx
lea ecx, [ebp - 0x858]
call fcn.00403b50
mov edx, dword [ebp - 0x858]
lea eax, [edx + ebx*2]
mov ecx, edx
mov dword [ebp - 0x85c], eax
cmp edx, eax
jae 0x445c62
mov ebx, eax
nop dword [eax]
cmp word [edx], 0x2f
lea eax, [edx + 2]
mov dword [ebp - 0x860], eax
je 0x445c56
lea eax, [ecx + 2]
xor ebx, ebx
mov dword [ebp - 0x870], eax
cmp ecx, eax
je 0x445c4a
nop
cmp ebx, 1
jae 0x445c4a
mov ax, word [edx]
inc ebx
mov word [ecx], ax
add edx, 2
add ecx, 2
cmp ecx, dword [ebp - 0x870]
jne 0x445c30
mov ebx, dword [ebp - 0x85c]
mov eax, dword [ebp - 0x860]
mov edx, eax
cmp eax, ebx
jb 0x445c10
mov ebx, dword [ebp - 0x868]
sub edx, ecx
xor eax, eax
sar edx, 1
sub ebx, edx
mov word [ecx], ax
js 0x446471
mov eax, dword [ebp - 0x858]
cmp ebx, dword [eax - 8]
jg 0x446471
mov dword [eax - 0xc], ebx
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x858]
xor ecx, ecx
mov word [eax + ebx*2], cx
xor ebx, ebx
mov dword [ebp - 0x868], ebx
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x445ca0
sub edx, ecx
sar edx, 1
mov dword [ebp - 0x864], edx
test edx, edx
jle 0x445dbe
nop dword [eax]
movzx eax, word [ebp + ebx*2 - 0x18]
mov dword [ebp - 0x870], eax
mov eax, dword [ebp - 0x858]
mov ebx, dword [eax - 0xc]
mov dword [ebp - 0x878], ebx
test ebx, ebx
js 0x446471
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, ebx
or ecx, edx
jge 0x445d05
push ebx
lea ecx, [ebp - 0x858]
call fcn.00403b50
mov eax, dword [ebp - 0x858]
lea ecx, [eax + ebx*2]
mov edx, eax
mov dword [ebp - 0x85c], ecx
cmp eax, ecx
jae 0x445d78
mov esi, dword [ebp - 0x870]
mov ebx, ecx
nop dword [eax]
lea ecx, [eax + 2]
mov dword [ebp - 0x860], ecx
cmp word [eax], si
je 0x445d66
lea ecx, [edx + 2]
xor ebx, ebx
mov dword [ebp - 0x870], ecx
cmp edx, ecx
je 0x445d5a
nop dword [eax]
cmp ebx, 1
jae 0x445d5a
mov cx, word [eax]
inc ebx
mov word [edx], cx
add eax, 2
add edx, 2
cmp edx, dword [ebp - 0x870]
jne 0x445d40
mov ebx, dword [ebp - 0x85c]
mov ecx, dword [ebp - 0x860]
mov eax, ecx
cmp ecx, ebx
jb 0x445d20
mov esi, dword [ebp - 0x874]
mov ebx, dword [ebp - 0x878]
sub eax, edx
xor ecx, ecx
sar eax, 1
sub ebx, eax
mov word [edx], cx
js 0x446471
mov eax, dword [ebp - 0x858]
cmp ebx, dword [eax - 8]
jg 0x446471
mov dword [eax - 0xc], ebx
mov eax, dword [ebp - 0x858]
mov word [eax + ebx*2], cx
mov ebx, dword [ebp - 0x868]
inc ebx
mov dword [ebp - 0x868], ebx
cmp ebx, dword [ebp - 0x864]
jl 0x445cc0
mov eax, dword [ebp - 0x858]
cmp dword [eax - 0xc], 0
jne 0x445f60
cmp dword [ebp - 0x86c], 0
jne 0x445e3b
lea ecx, [esi - 0x10]
lea ebx, [eax - 0x10]
cmp ecx, ebx
je 0x445f4a
cmp dword [ebx + 0xc], 0
jl 0x445e27
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x445e27
call fcn.00403af0
mov dword [ebp - 0x864], eax
lea edx, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x445e19
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x864]
add eax, 0x10
mov dword [ebp - 0x858], eax
jmp 0x445f4a
push dword [esi - 0xc]
lea ecx, [ebp - 0x858]
push esi
call fcn.00403bb0
jmp 0x445f4a
push 0x460
call fcn.00551063
mov ebx, eax
mov dword [ebp - 0x878], ebx
test ebx, ebx
je 0x445f4a
push 6
push 0x47
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x864], eax
test eax, eax
je 0x445f4a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x445f4a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x445f4a
push dword [ebp - 0x864]
push dword [ebp - 0x878]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + ebx]
cmp ebx, ecx
jae 0x445f4a
movzx eax, word [ebx]
test ax, ax
je 0x445f4a
mov dword [ebp - 0x85c], eax
mov edx, 1
mov eax, dword [ebp - 0x858]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
movzx eax, word [ebx]
sub ecx, dword [ebp - 0x85c]
or ecx, edx
mov dword [ebp - 0x860], eax
mov eax, dword [ebp - 0x858]
jge 0x445f08
push dword [ebp - 0x85c]
lea ecx, [ebp - 0x858]
call fcn.00403b50
movzx eax, word [ebx]
mov dword [ebp - 0x860], eax
mov eax, dword [ebp - 0x858]
mov ecx, dword [ebp - 0x860]
movzx edx, cx
lea ecx, [ebx + 2]
mov ebx, dword [ebp - 0x85c]
push edx
push ecx
push ebx
push eax
call fcn.0057455e
push eax
call fcn.004012e0
mov eax, dword [ebp - 0x858]
add esp, 0x14
cmp ebx, dword [eax - 8]
jg 0x446471
mov dword [eax - 0xc], ebx
xor ecx, ecx
mov eax, dword [ebp - 0x858]
mov word [eax + ebx*2], cx
mov eax, dword [ebp - 0x86c]
inc eax
mov dword [ebp - 0x86c], eax
cmp eax, 2
jl 0x445bb0
mov eax, dword [ebp - 0x858]
cmp dword [eax - 0xc], 0x50
jle 0x44603b
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x445f80
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x445f8c
call fcn.00550b4e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push 0x50
push dword [ebp - 0x858]
lea ecx, [ebp - 0x864]
call fcn.00403d50
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x864]
mov edx, dword [ebp - 0x858]
add edx, 0xfffffff0
mov dword [ebp - 0x870], edx
lea ebx, [eax - 0x10]
cmp ebx, edx
je 0x446022
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x878], ecx
jl 0x446013
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x446013
mov ecx, ebx
call fcn.00403af0
mov edx, dword [ebp - 0x878]
or ecx, 0xffffffff
mov dword [ebp - 0x860], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x446008
mov eax, dword [ebp - 0x870]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x860]
add eax, 0x10
mov dword [ebp - 0x858], eax
jmp 0x446022
push dword [eax - 0xc]
lea ecx, [ebp - 0x858]
push eax
call fcn.00403bb0
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x44603b
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x85c]
call fcn.00430700
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x800
lea eax, [ebp - 0x81c]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.00571c00
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x81c]
add esp, 0xc
mov ecx, dword [ecx + 0x1c]
push eax
push str.PortSelectCount
call fcn.004f65f0
lea eax, [ebp - 0x81c]
push eax
call fcn.00577bb7
add esp, 4
lea ecx, [ebp - 0x1c]
dec eax
push ecx
push eax
lea ecx, [ebp - 0x85c]
call fcn.00434ef0
mov eax, dword [ebp - 0x858]
lea edx, [esi - 0x10]
mov ebx, 2
mov dword [ebp - 0x878], edx
mov dword [ebp - 0x868], ebx
lea ecx, [eax - 0x10]
mov dword [ebp - 0x864], ecx
cmp ecx, edx
je 0x44613c
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x446121
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x446121
mov ecx, dword [ebp - 0x864]
call fcn.00403af0
mov dword [ebp - 0x864], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x446116
mov esi, dword [ebp - 0x878]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x864]
lea esi, [eax + 0x10]
mov dword [ebp - 0x874], esi
jmp 0x446136
push dword [eax - 0xc]
lea ecx, [ebp - 0x874]
push eax
call fcn.00403bb0
mov esi, dword [ebp - 0x874]
mov eax, dword [ebp - 0x858]
or edi, 0xffffffff
nop
push 0
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x85c]
call fcn.00434d50
test eax, eax
jne 0x446295
push ebx
push esi
lea eax, [ebp - 0x858]
push str._s._d
push eax
call fcn.00408a60
mov eax, dword [ebp - 0x858]
add esp, 0x10
mov edx, dword [eax - 0xc]
cmp edx, 0x50
jle 0x446289
mov eax, dword [esi - 0xc]
lea ebx, [esi - 0x10]
sub eax, edx
xor edx, edx
add eax, 0x50
cmovns edx, eax
mov dword [ebp - 0x864], edx
cmp edx, dword [esi - 0xc]
jl 0x4461af
mov ecx, ebx
call fcn.00403af0
add eax, 0x10
mov dword [ebp - 0x860], eax
jmp 0x4461e3
mov ecx, dword [ebx]
test ecx, ecx
je 0x4461be
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x4461ca
call fcn.00550b4e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push dword [ebp - 0x864]
lea ecx, [ebp - 0x860]
push esi
call fcn.00403d50
mov eax, dword [ebp - 0x860]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 8
mov dword [ebp - 0x86c], edx
cmp edx, ebx
je 0x44624f
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x446234
mov ecx, dword [edx]
cmp ecx, dword [ebx]
jne 0x446234
mov ecx, edx
call fcn.00403af0
mov dword [ebp - 0x864], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x446229
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x864]
lea esi, [eax + 0x10]
mov dword [ebp - 0x874], esi
jmp 0x446249
push dword [eax - 0xc]
lea ecx, [ebp - 0x874]
push eax
call fcn.00403bb0
mov esi, dword [ebp - 0x874]
mov edx, dword [ebp - 0x86c]
mov byte [ebp - 4], 7
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446267
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x868]
lea eax, [ebp - 0x858]
push ebx
push esi
push str._s._d
push eax
call fcn.00408a60
mov eax, dword [ebp - 0x858]
add esp, 0x10
inc ebx
mov dword [ebp - 0x868], ebx
jmp 0x446140
mov edx, dword [ebp - 0x880]
mov ecx, dword [ebp - 0x858]
mov ebx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov edi, dword [ebp - 0x87c]
mov edx, dword [edx]
sub edx, 0x10
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x864], ecx
mov dword [ebp - 0x870], edx
cmp ecx, edx
je 0x446333
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
mov dword [ebp - 0x878], eax
mov eax, dword [ebp - 0x858]
jl 0x446324
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x446324
mov ecx, dword [ebp - 0x864]
call fcn.00403af0
mov dword [ebp - 0x864], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x878]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x446311
mov eax, dword [ebp - 0x870]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x880]
mov eax, dword [ebp - 0x864]
add eax, 0x10
mov dword [ecx], eax
jmp 0x446333
push dword [eax - 0xc]
mov ecx, dword [ebp - 0x880]
push eax
call fcn.00403bb0
mov byte [ebp - 0x850], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x44637a
test byte [ecx + 0x1c], 1
je 0x44637a
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cbda4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x3b
call fcn.00401840
add esp, 0xc
mov byte [ebp - 4], 6
test ebx, ebx
je 0x4463c6
mov ecx, dword [ebp - 0x14]
mov eax, 0x7d8c42b3
sub ecx, ebx
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x414
mov eax, ebx
cmp ecx, 0x1000
jb 0x4463bc
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44648a
push ecx
push ebx
call fcn.0056deb6
add esp, 8
lea ecx, [ebp - 0x85c]
call fcn.004307d0
lea ecx, [ebp - 0x894]
call fcn.0055b186
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4463fa
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x446415
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x858]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x446434
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x854]
call fcn.0040a570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004013a0
push 0x80004005
call fcn.004013a0
push 0x80070057
call fcn.004013a0
push 0x80070216
call fcn.004013a0
call fcn.005511b9
call fcn.00574908
int3