Function at 0x4dea10
Capabilities:
Connect network resource
Enumerate files on windows
Get disk information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5666a2
mov eax, dword fs:[0]
push eax
mov eax, 0x13cc
call fcn.00540b00
mov eax, dword [0x5b7b5c]
xor eax, esp
mov dword [esp + 0x13c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7b5c]
xor eax, esp
push eax
lea eax, [esp + 0x13e0]
mov dword fs:[0], eax
mov edi, dword [esp + 0x13f0]
mov esi, ecx
mov dword [esp + 0x24], edi
mov dword [esi + 0x8a8], 1
call fcn.0050b420
mov ecx, dword [eax + 4]
call fcn.00506b09
cmp dword [esi + 0xb4], 0
mov dword [esp + 0x13e8], 0
je 0x4dee33
mov eax, dword [esi + 0x3f0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff0000
push 0
push 0x1101
push eax
call ebx
mov ecx, dword [esi + 0x444]
push 0
push 0
push 0x184
push ecx
call ebx
call fcn.005089db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4dead2
push 0x80004005
call fcn.00401340
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x54f0
mov byte [esp + 0x13ec], 1
call fcn.00508953
test eax, eax
je 0x4deb07
push 0x54f0
push eax
lea ecx, [esp + 0x24]
call fcn.00401d70
mov ecx, dword [esp + 0x1c]
push 0x1f4
push 0
push 0
push ecx
lea edi, [esi + 0x3d0]
push edi
call fcn.0044be50
mov edx, dword [esi + 0x3f0]
add esp, 0x14
mov ebp, eax
push ebp
push 9
push 0x110b
push edx
call ebx
mov eax, dword [esi + 0x928]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x22
push eax
mov ecx, edi
call fcn.00513892
push 0
push 0
push 0
push 1
push 1
push 0
push 0x22
push ebp
mov ecx, edi
mov dword [esi + 0x928], ebp
call fcn.00513892
push 0x208
lea eax, [esp + 0x7b0]
push eax
push 2
call fcn.00412ad0
lea ecx, [esp + 0x7b8]
push 0
push ecx
call fcn.0044f4e0
add esp, 0x14
mov ebp, eax
push 0x5421
mov dword [esp + 0x38], ebp
call fcn.00508953
test eax, eax
je 0x4debb8
push 0x5421
push eax
lea ecx, [esp + 0x24]
call fcn.00401d70
push 1
push str.Count
push str.Project
push ebp
call fcn.0044d880
add esp, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], 0
test eax, eax
jle 0x4decb3
mov ebp, dword [esp + 0x30]
mov edx, dword [str._s_d]
push ebp
push str.Project
push edx
lea eax, [esp + 0x6f0]
push eax
call fcn.00411cd0
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x48]
push str.Name
lea edx, [esp + 0x6fc]
push edx
lea eax, [esp + 0x48]
push eax
push ecx
call fcn.0044d7a0
mov edx, dword [esp + 0x50]
push ebp
push 0
push 0
push edx
push edi
call fcn.0044be50
add esp, 0x38
cmp dword [esi + 0x8b4], 0
mov ebp, eax
jne 0x4dec93
mov eax, dword [esp + 0x30]
cmp eax, dword [0x5ba504]
jne 0x4dec93
mov ecx, dword [esi + 0x3f0]
push ebp
push 9
push 0x110b
push ecx
call ebx
mov eax, dword [esi + 0x928]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x22
push eax
mov ecx, edi
call fcn.00513892
push 0
push 0
push 0
push 1
push 1
push 0
push 0x22
push ebp
mov ecx, edi
mov dword [esi + 0x928], ebp
call fcn.00513892
mov edx, dword [esp + 0x2c]
push edx
call fcn.004ff96a
mov eax, dword [esp + 0x34]
inc eax
add esp, 4
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
jl 0x4debe1
mov eax, dword [esp + 0x34]
push 0xffffffffffffffff
push 0
push eax
call fcn.0044f9c0
add esp, 0xc
cmp dword [esi + 0x8b4], 0
je 0x4ded73
mov eax, dword [0x5b4cd4]
test eax, eax
jle 0x4ded6a
xor ebp, ebp
mov dword [esp + 0x24], eax
xor edi, edi
cmp dword [esi + 0xb4], edi
je 0x4ded5c
cmp dword [esi + 0x8b4], edi
je 0x4ded5c
mov ecx, dword [0x5b4cd0]
mov ecx, dword [ecx + ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 0x144]
call eax
test eax, eax
je 0x4ded1e
mov edi, dword [eax + 0x24]
test edi, edi
je 0x4ded1b
xor ecx, ecx
cmp cx, word [edi]
jne 0x4ded1e
mov edi, dword [eax + 0x20]
cmp dword [0x5ed710], 0
jne 0x4ded32
push edi
call fcn.0044b7b0
add esp, 4
mov edi, eax
mov edx, dword [esi + 0x444]
push edi
push 0
push 0x180
push edx
call ebx
mov ecx, dword [0x5b4cd0]
mov ecx, dword [ecx + ebp]
mov edx, dword [esi + 0x444]
push ecx
push eax
push 0x19a
push edx
call ebx
add ebp, 0xc
sub dword [esp + 0x24], 1
jne 0x4dece4
mov ecx, esi
call fcn.004d85f0
jmp 0x4dedda
mov eax, dword [0x5b3490]
xor ebp, ebp
mov dword [esp + 0x24], eax
test eax, eax
jle 0x4dedda
mov eax, dword [0x5b348c]
mov ecx, dword [eax + ebp*4]
mov edx, dword [esi + 0x8e4]
mov eax, dword [esi + 0x900]
mov edi, dword [ecx]
push edx
push eax
lea eax, [esi + 0x37c]
push eax
push edi
call fcn.004d94d0
add esp, 0x10
test eax, eax
je 0x4dedd3
mov ecx, dword [esi + 0x444]
push edi
push 0
push 0x180
push ecx
call ebx
test eax, eax
jl 0x4dedd3
mov edx, dword [esi + 0x444]
push ebp
push eax
push 0x19a
push edx
call ebx
inc ebp
cmp ebp, dword [esp + 0x24]
jl 0x4ded82
mov eax, dword [esi + 0x348]
push 0
push 0
push 0x146
push eax
call ebx
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x4dee20
mov ecx, dword [esi + 0x348]
push 0
push edi
push 0x150
push ecx
call ebx
cmp eax, 3
jne 0x4dee1b
mov edx, dword [esi + 0x348]
push 0
push edi
push 0x14e
push edx
call ebx
inc edi
cmp edi, ebp
jl 0x4dedf4
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x8a8], 0
jmp 0x4dfba6
call fcn.005089db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4dee4d
push 0x80004005
call fcn.00401340
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push edi
mov byte [esp + 0x13f4], 2
call fcn.00407210
add esp, 0xc
test eax, eax
jne 0x4dee85
or ecx, 0xffffffff
mov dword [esp + 0x28], ecx
jmp 0x4dee89
mov ecx, dword [esp + 0x28]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, ebx
imul eax, eax, 0x3e8
sub ecx, eax
xor eax, eax
lea ebp, [esi + 0x478]
push ebp
mov dword [esp + 0x40], ecx
lea edx, [esp + 0xfd0]
lea ecx, [esp + 0xbc0]
push 0x208
mov dword [esp + 0x64], eax
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], ecx
call fcn.0053fe1c
add esp, 0xc
cmp dword [esp + 0x13f4], 0
jne 0x4def87
cmp dword [esp + 0x28], 0
jge 0x4def92
push edi
push 0x208
push ebp
call fcn.0053fe1c
add esp, 0xc
mov edi, ebp
mov dword [esp + 0x20], ebp
xor eax, eax
cmp dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], eax
jl 0x4df441
mov edi, dword [esp + 0x3c]
mov ecx, dword [ebx*4 + 0x5b9068]
imul edi, edi, 0x1ee8
cmp dword [edi + ecx + 0xd0], 0
lea eax, [edi + ecx]
jle 0x4df3d6
push 0xffffffffffffffff
push 0
push 0x54e9
call fcn.0050c4d3
lea ecx, [esp + 0x18]
mov dword [esi + 0x8a8], 0
call fcn.00401b40
jmp 0x4dfbca
cmp dword [esp + 0x28], 0
jl 0x4df0fe
mov edi, dword [esp + 0x3c]
mov eax, dword [ebx*4 + 0x5b9068]
imul edi, edi, 0x1ee8
add eax, edi
cmp dword [eax + 0xd0], 0
jle 0x4defcb
push 0xffffffffffffffff
push 0
push 0x54e9
call fcn.0050c4d3
mov dword [esi + 0x8a8], 0
jmp 0x4dfba2
mov ecx, 1
add dword [eax + 0xcc], ecx
cmp dword [esp + 0x13f8], 0
je 0x4df041
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.00402940
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x4df0e4
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jne 0x4df093
cmp dword [esp + 0x13fc], 0
jne 0x4df093
mov ecx, dword [ebx*4 + 0x5b9068]
mov eax, dword [ecx + edi + 0x78]
add ecx, edi
test eax, eax
je 0x4df093
mov edx, 0x2f
cmp dx, word [eax]
jne 0x4df047
push eax
lea ecx, [esp + 0x1c]
call fcn.00402230
jmp 0x4df093
mov dword [esp + 0x20], ecx
jmp 0x4deffe
add ecx, 0xd8
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402230
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
test eax, eax
jle 0x4df07e
dec eax
push eax
lea ecx, [esp + 0x1c]
call fcn.004132f0
cmp ax, 0x2f
je 0x4df07e
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.00406090
mov ecx, dword [ebx*4 + 0x5b9068]
mov edx, dword [edi + ecx + 0x78]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402270
mov ecx, dword [esp + 0x18]
push 0
push 0x208
lea eax, [esp + 0x7b4]
push eax
push ecx
mov ecx, dword [ebx*4 + 0x5b9068]
add ecx, edi
call fcn.00443a60
test eax, eax
je 0x4df0ca
lea edx, [esp + 0x7ac]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402230
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push 1
push eax
push ecx
push 0x208
push ebp
call fcn.004032c0
add esp, 0x14
mov edx, dword [ebx*4 + 0x5b9068]
dec dword [edi + edx + 0xcc]
lea edi, [edi + edx + 0xcc]
jmp 0x4df340
push edi
call fcn.00412410
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4df31b
push 2
push edi
lea eax, [esp + 0x2c8]
push 0xa
push eax
call fcn.0044c530
add esp, 0x10
lea ecx, [esp + 0x2c0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x4df14d
cmp eax, 1
je 0x4df14d
mov edx, 0x5c
cmp dx, word [edi]
jne 0x4df347
mov eax, 0x5c
cmp ax, word [edi]
jne 0x4df269
mov ecx, edi
mov eax, 0x586d48
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4df188
test dx, dx
je 0x4df184
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4df188
add eax, 4
add ecx, 4
test dx, dx
jne 0x4df162
xor eax, eax
jmp 0x4df18d
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
sete cl
mov ebp, ecx
mov dword [esp + 0x2c], ebp
test ebp, ebp
je 0x4df223
lea ecx, [esp + 0x1c]
call fcn.00401d10
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x13f0], 3
call fcn.004de900
add esp, 8
cmp eax, 1
jne 0x4df1e3
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0xbc0]
xor ebp, ebp
push edx
mov dword [esp + 0x34], ebp
call fcn.00409bd0
jmp 0x4df20d
cmp eax, 2
jne 0x4df210
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xbc0]
push ecx
mov dword [esp + 0x28], 1
call fcn.00409bd0
lea edi, [esp + 0xbc4]
mov dword [esp + 0x2c], edi
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13e8], 2
call fcn.00401b40
jmp 0x4df234
lea edx, [esp + 0xbbc]
push edi
push edx
call fcn.00409bd0
add esp, 8
test ebp, ebp
jne 0x4df314
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ebp, 1
push ebp
push ebp
push 2
call sub.MPR.dll_WNetOpenEnumW
test eax, eax
jne 0x4df314
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], ebp
jmp 0x4df31b
xor edx, edx
xor eax, eax
lea ecx, [esp + 0x40]
mov word [esp + 0x2c4], dx
push ecx
lea edx, [esp + 0x7b0]
mov word [esp + 0x7b0], ax
push edx
lea eax, [esp + 0x2c8]
push eax
mov dword [esp + 0x4c], 0x200
call sub.MPR.dll_WNetGetConnectionW
cmp word [esp + 0x7ac], 0
je 0x4df347
xor eax, eax
push eax
push 0x57bc10
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
push 0x57bc10
lea eax, [esp + 0x54]
lea ecx, [esp + 0x2cc]
lea edx, [esp + 0x7b8]
push eax
mov dword [esp + 0x5c], 1
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
call sub.MPR.dll_WNetAddConnection2W
test eax, eax
jne 0x4df347
push edi
call fcn.00412410
add esp, 4
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
je 0x4df347
mov ecx, dword [0x5ba378]
push edi
call fcn.004161b0
mov ecx, dword [0x5ba378]
push 0
push 0x208
lea ebp, [esi + 0x478]
push ebp
call fcn.00412560
cmp dword [esp + 0x20], 0
jne 0x4df3ad
mov ecx, dword [esp + 0x28]
test ecx, ecx
jl 0x4df390
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
imul edx, edx, 0x3e8
sub ecx, edx
imul ecx, ecx, 0x1ee8
add ecx, dword [eax*4 + 0x5b9068]
push 0x5401
call fcn.0043ce10
mov dword [esi + 0x8a8], 0
jmp 0x4dfba2
push 0xffffffffffffffff
push 0
push 0x5469
call fcn.0050c4d3
mov dword [esi + 0x8a8], 0
jmp 0x4dfba2
mov ecx, dword [0x5ba378]
push 1
push ebp
call fcn.00415d30
cmp dword [esp + 0x34], 0
je 0x4def25
lea edi, [esp + 0xbbc]
mov dword [esp + 0x20], edi
jmp 0x4def2b
inc dword [eax + 0xcc]
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, dword [ebx*4 + 0x5b9068]
add ecx, edi
call fcn.00443cc0
mov edx, dword [ebx*4 + 0x5b9068]
dec dword [edi + edx + 0xcc]
lea ecx, [edi + edx + 0xcc]
test eax, eax
jne 0x4df4bf
mov ecx, dword [ebx*4 + 0x5b9068]
push 0x5477
add ecx, edi
call fcn.0043ce10
lea eax, [esp + 0xfcc]
push eax
push ebp
call fcn.00409bd0
add esp, 8
jmp 0x4def6f
cmp dword [esp + 0x34], eax
jne 0x4df4c3
push edi
lea ecx, [esp + 0x2d8]
push 0x208
push ecx
call fcn.0053fe1c
lea edx, [esp + 0x2e0]
push edx
call fcn.00410df0
mov ecx, 0x208
push 0x5752d4
sub ecx, eax
push ecx
lea edx, [esp + eax*2 + 0x2ec]
push edx
call fcn.0053fe1c
add esp, 0x1c
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x2d8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x68], eax
cmp eax, 0xffffffff
jne 0x4df4c3
mov edx, dword [esp + 0x24]
push 0
push edx
push 0
push 0x5477
call fcn.0044ef40
add esp, 0x10
jmp 0x4def6f
mov edi, dword [esp + 0x20]
cmp dword [0x5e3ecc], 0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x40], 0
jne 0x4df4e3
cmp dword [0x5ed73c], 0
je 0x4df523
mov eax, dword [esi + 0x3f0]
push 0
push 9
push 0x110a
push eax
call ebx
test eax, eax
je 0x4df50e
push 0x20
push eax
lea ecx, [esi + 0x3d0]
call fcn.0051380e
and eax, 0x20
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x3f0]
push 0xffff0000
push 0
push 0x1101
push ecx
call ebx
mov edx, dword [esi + 0x444]
push 0
push 0
push 0x184
push edx
call ebx
mov ebp, dword [esp + 0x28]
test ebp, ebp
jl 0x4df59c
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx]
add ebp, 0x64
test ax, ax
je 0x4df575
lea esp, [esp]
cmp ax, 0x3a
je 0x4df564
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4df550
jmp 0x4df571
cmp word [ecx], 0
mov dword [esp + 0x20], ecx
je 0x4df575
add ecx, 2
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x13f4], 0
je 0x4df5c2
mov eax, dword [esp + 0x30]
cmp eax, dword [esi + 0x904]
je 0x4df5c2
mov ecx, eax
mov dword [esi + 0x904], ecx
mov ecx, esi
call fcn.004de360
jmp 0x4df5c2
mov edx, 0x5c
cmp dx, word [edi]
jne 0x4df5ab
lea ebp, [edx - 0x5a]
jmp 0x4df5c2
mov eax, dword [esp + 0x24]
movzx cx, byte [eax]
movzx edx, cx
push edx
call fcn.00421ca0
add esp, 4
movzx ebp, ax
mov eax, dword [esi + 0x348]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push eax
call edi
mov ecx, dword [esi + 0x348]
push 0
push eax
push 0x150
push ecx
call edi
cmp ebp, eax
je 0x4df651
mov edx, dword [esi + 0x348]
push 0
push 0
push 0x146
push edx
call edi
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x4df651
lea esp, [esp]
mov eax, dword [esi + 0x348]
push 0
push edi
push 0x150
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebp, eax
je 0x4df630
inc edi
cmp edi, ebx
jl 0x4df610
jmp 0x4df651
mov ecx, dword [esi + 0x348]
push 0
push edi
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x8f4], edi
mov dword [esi + 0x8f0], edi
xor edx, edx
xor edi, edi
xor eax, eax
cmp dword [esp + 0x28], edx
mov dword [esp + 0x1c], edx
lea ebp, [edi + 1]
jl 0x4df792
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x30]
imul ecx, ecx, 0x1ee8
mov ebx, dword [ebx*4 + 0x5b9068]
cmp dword [ebx + ecx + 0xc8], 3
jne 0x4df792
mov ebx, dword [esp + 0x20]
cmp word [ebx], dx
je 0x4df717
jmp 0x4df6a0
movzx ecx, word [ebx + edi*2]
cmp cx, 0x5d
je 0x4df717
test cx, cx
je 0x4df6cf
nop
cmp cx, 0x2e
je 0x4df6cf
cmp cx, 0x5d
je 0x4df6cf
inc edi
mov word [esp + eax*2 + 0x2d4], cx
movzx ecx, word [ebx + edi*2]
inc eax
test cx, cx
jne 0x4df6b0
test eax, eax
jle 0x4df70f
test ebp, ebp
je 0x4df6e7
mov ecx, 0x5d
mov word [esp + eax*2 + 0x2d4], cx
inc eax
xor ebp, ebp
push 1
xor ecx, ecx
push edx
lea edx, [esp + 0x2dc]
mov word [esp + eax*2 + 0x2dc], cx
push edx
mov ecx, esi
call fcn.004db050
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
xor eax, eax
jmp 0x4df710
inc edi
cmp word [ebx + edi*2], 0
jne 0x4df6a0
cmp dword [esp + 0x28], 0
jl 0x4df8a3
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
imul ebx, ebx, 0x1ee8
mov eax, dword [edx*4 + 0x5b9068]
mov edx, dword [esp + 0x28]
push 1
lea ecx, [ebx + eax + 0x4e8]
push ecx
push edx
lea eax, [esi + 0x478]
push 0x208
push eax
call fcn.004032c0
xor ebp, ebp
add esp, 0x14
cmp dword [esp + 0x44], ebp
jle 0x4df872
xor edi, edi
mov eax, dword [esp + 0x38]
add eax, edi
test dword [eax + 0x410], 0x4000
je 0x4df835
mov ecx, dword [esp + 0x1c]
push 1
push ecx
push eax
mov ecx, esi
call fcn.004db050
jmp 0x4df861
mov edi, dword [esp + 0x20]
jmp 0x4df7a0
movzx ecx, word [edi]
mov ebx, 0x5c
cmp bx, cx
je 0x4df7c7
mov ebx, 0x2f
cmp bx, cx
je 0x4df7c7
test cx, cx
je 0x4df7c7
mov word [esp + eax*2 + 0x2d4], cx
inc eax
jmp 0x4df823
test ebp, ebp
je 0x4df7f1
mov word [esp + eax*2 + 0x2d4], cx
mov ecx, 0x5c
inc eax
xor ebp, ebp
cmp cx, word [edi + 2]
jne 0x4df7f1
mov cx, word [edi + 2]
add edi, 2
mov word [esp + eax*2 + 0x2d4], cx
inc eax
xor ecx, ecx
mov word [esp + eax*2 + 0x2d4], cx
test eax, eax
jle 0x4df823
xor eax, eax
cmp dword [esp + 0x28], eax
lea ecx, [esp + 0x2d4]
setge al
push eax
push edx
push ecx
mov ecx, esi
call fcn.004db050
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp word [edi], 0
je 0x4df717
add edi, 2
jmp 0x4df7a0
push eax
mov ecx, esi
call fcn.004d9890
cmp eax, 0xffffffff
je 0x4df861
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + edx + 0x410]
push ecx
push eax
mov eax, dword [esi + 0x444]
push 0x19a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
inc ebp
add edi, 0x444
cmp ebp, dword [esp + 0x44]
jl 0x4df768
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004ff96a
add esp, 4
cmp dword [0x5ed794], 0
je 0x4df949
mov edx, dword [esp + 0x30]
mov ecx, dword [edx*4 + 0x5b9068]
add ecx, ebx
call fcn.0043fa10
jmp 0x4df949
cmp dword [esp + 0x34], 0
je 0x4df8c6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push eax
push edx
mov edx, dword [esp + 0x74]
push ecx
push edx
mov ecx, esi
call fcn.004dc470
jmp 0x4df949
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [esp + 0x68]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
test byte [esp + 0x70], 0x10
je 0x4df8f5
mov eax, dword [esp + 0x1c]
push 0
push eax
lea ecx, [esp + 0xa4]
push ecx
mov ecx, esi
call fcn.004db050
jmp 0x4df936
mov edx, dword [esi + 0x8e4]
mov eax, dword [esi + 0x900]
push edx
push eax
lea ecx, [esi + 0x37c]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.004d94d0
add esp, 0x10
test eax, eax
je 0x4df936
mov ecx, dword [esi + 0x444]
lea eax, [esp + 0x9c]
push eax
push 0
push 0x180
push ecx
call ebp
lea edx, [esp + 0x70]
push edx
push edi
call ebx
test eax, eax
jne 0x4df8d6
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.005089db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4df963
push 0x80004005
call fcn.00401340
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x13e8], 4
call fcn.005089db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4df995
push 0x80004005
call fcn.00401340
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x13f0], 5
call fcn.004dad80
add esp, 8
test eax, eax
je 0x4dfab2
lea eax, [esi + 0x478]
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.004073e0
add esp, 8
test eax, eax
je 0x4dfab2
mov eax, dword [0x5edeb4]
mov edx, dword [0x5b4cd0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*4 + 4]
push eax
mov eax, dword [esi + 0x444]
push 0
push 0x18f
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x4dfab8
mov edx, dword [esi + 0x444]
lea ecx, [esp + 0x2c0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x444]
push 0
push 0
push 0x1a1
push eax
call ebx
mov ecx, eax
mov eax, dword [esp + 0x2cc]
sub eax, dword [esp + 0x2c4]
cdq
sub eax, edx
sar eax, 1
cdq
idiv ecx
mov ecx, edi
sub ecx, eax
jns 0x4dfa60
xor ecx, ecx
jmp 0x4dfa8e
mov edx, dword [esi + 0x444]
push 0
push 0
push 0x1a1
push edx
call ebx
mov ecx, eax
mov eax, dword [esp + 0x2cc]
sub eax, dword [esp + 0x2c4]
cdq
sub eax, edx
sar eax, 1
cdq
idiv ecx
mov ecx, edi
sub ecx, eax
mov eax, dword [esi + 0x444]
push 0
push ecx
push 0x197
push eax
call ebx
mov ecx, dword [esi + 0x444]
push edi
push 1
push 0x185
push ecx
call ebx
jmp 0x4dfab8
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x5ed73c], 0
jne 0x4dfae4
mov edx, dword [esi + 0x3f0]
push 0
push 0
push 0x110a
push edx
call ebx
mov ebp, dword [esp + 0x1c]
cmp eax, ebp
je 0x4dfae8
cmp dword [esp + 0x40], 0
je 0x4dfaf9
jmp 0x4dfae8
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x3f0]
push ebp
push 2
push 0x1102
push eax
call ebx
mov ecx, dword [esi + 0x3f0]
push ebp
push 9
push 0x110b
push ecx
call ebx
mov eax, dword [esi + 0x928]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x22
lea edi, [esi + 0x3d0]
push eax
mov ecx, edi
call fcn.00513892
push 0
push 0
push 0
push 1
push 1
push 0
push 0x22
push ebp
mov ecx, edi
mov dword [esi + 0x928], ebp
call fcn.00513892
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esi + 0x8a8], 0
mov byte [esp + 0x13e8], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4dfb7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x13e8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4dfba2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x13e8], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4dfbca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x17]
mov dword [esp + 0x13e8], 0xffffffff
call fcn.0040adf0
mov ecx, dword [esp + 0x13e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x13c8]
xor ecx, esp
call fcn.0053f73f
add esp, 0x13d8
ret 0x10