Function at 0x4dee60
Capabilities:
Connect network resource
Enumerate files on windows
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x566742
mov eax, dword fs:[0]
push eax
mov eax, 0x13cc
call fcn.00541260
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x13c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
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 + 0x7ec], 1
call fcn.0050ad42
mov ecx, dword [eax + 4]
call fcn.00506417
cmp dword [esi + 0xb4], 0
mov dword [esp + 0x13e8], 0
je 0x4df283
mov eax, dword [esi + 0x32c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff0000
push 0
push 0x1101
push eax
call ebx
mov ecx, dword [esi + 0x380]
push 0
push 0
push 0x184
push ecx
call ebx
call fcn.0050830c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4def22
push 0x80004005
call fcn.00401350
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.00508284
test eax, eax
je 0x4def57
push 0x54f0
push eax
lea ecx, [esp + 0x24]
call fcn.00401da0
mov ecx, dword [esp + 0x1c]
push 0x1f4
push 0
push 0
push ecx
lea edi, [esi + 0x30c]
push edi
call fcn.0044e000
mov edx, dword [esi + 0x32c]
add esp, 0x14
mov ebp, eax
push ebp
push 9
push 0x110b
push edx
call ebx
mov eax, dword [esi + 0x860]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x22
push eax
mov ecx, edi
call fcn.0051321e
push 0
push 0
push 0
push 1
push 1
push 0
push 0x22
push ebp
mov ecx, edi
mov dword [esi + 0x860], ebp
call fcn.0051321e
push 0x208
lea eax, [esp + 0x7b0]
push eax
push 2
call fcn.00412940
lea ecx, [esp + 0x7b8]
push 0
push ecx
call fcn.00450b40
add esp, 0x14
mov ebp, eax
push 0x5421
mov dword [esp + 0x38], ebp
call fcn.00508284
test eax, eax
je 0x4df008
push 0x5421
push eax
lea ecx, [esp + 0x24]
call fcn.00401da0
push 1
push str.Count
push str.Project
push ebp
call fcn.0044f120
add esp, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], 0
test eax, eax
jle 0x4df103
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.00411b30
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.0044f010
mov edx, dword [esp + 0x50]
push ebp
push 0
push 0
push edx
push edi
call fcn.0044e000
add esp, 0x38
cmp dword [esi + 0x7f8], 0
mov ebp, eax
jne 0x4df0e3
mov eax, dword [esp + 0x30]
cmp eax, dword [0x5ba438]
jne 0x4df0e3
mov ecx, dword [esi + 0x32c]
push ebp
push 9
push 0x110b
push ecx
call ebx
mov eax, dword [esi + 0x860]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x22
push eax
mov ecx, edi
call fcn.0051321e
push 0
push 0
push 0
push 1
push 1
push 0
push 0x22
push ebp
mov ecx, edi
mov dword [esi + 0x860], ebp
call fcn.0051321e
mov edx, dword [esp + 0x2c]
push edx
call fcn.004ff267
mov eax, dword [esp + 0x34]
inc eax
add esp, 4
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
jl 0x4df031
mov eax, dword [esp + 0x34]
push 0xffffffffffffffff
push 0
push eax
call fcn.004510d0
add esp, 0xc
cmp dword [esi + 0x7f8], 0
je 0x4df1c3
mov eax, dword [0x5b4bbc]
test eax, eax
jle 0x4df1ba
xor ebp, ebp
mov dword [esp + 0x24], eax
xor edi, edi
cmp dword [esi + 0xb4], edi
je 0x4df1ac
cmp dword [esi + 0x7f8], edi
je 0x4df1ac
mov ecx, dword [0x5b4bb8]
mov ecx, dword [ecx + ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 0x144]
call eax
test eax, eax
je 0x4df16e
mov edi, dword [eax + 0x24]
test edi, edi
je 0x4df16b
xor ecx, ecx
cmp cx, word [edi]
jne 0x4df16e
mov edi, dword [eax + 0x20]
cmp dword [0x5ed6a0], 0
jne 0x4df182
push edi
call fcn.0044d6f0
add esp, 4
mov edi, eax
mov edx, dword [esi + 0x380]
push edi
push 0
push 0x180
push edx
call ebx
mov ecx, dword [0x5b4bb8]
mov ecx, dword [ecx + ebp]
mov edx, dword [esi + 0x380]
push ecx
push eax
push 0x19a
push edx
call ebx
add ebp, 0xc
sub dword [esp + 0x24], 1
jne 0x4df134
mov ecx, esi
call fcn.004d8ab0
jmp 0x4df22a
mov eax, dword [0x5b3470]
xor ebp, ebp
mov dword [esp + 0x24], eax
test eax, eax
jle 0x4df22a
mov eax, dword [0x5b346c]
mov ecx, dword [eax + ebp*4]
mov edx, dword [esi + 0x828]
mov eax, dword [esi + 0x83c]
mov edi, dword [ecx]
push edx
push eax
lea eax, [esi + 0x2b8]
push eax
push edi
call fcn.004d9ac0
add esp, 0x10
test eax, eax
je 0x4df223
mov ecx, dword [esi + 0x380]
push edi
push 0
push 0x180
push ecx
call ebx
test eax, eax
jl 0x4df223
mov edx, dword [esi + 0x380]
push ebp
push eax
push 0x19a
push edx
call ebx
inc ebp
cmp ebp, dword [esp + 0x24]
jl 0x4df1d2
mov eax, dword [esi + 0x284]
push 0
push 0
push 0x146
push eax
call ebx
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x4df270
mov ecx, dword [esi + 0x284]
push 0
push edi
push 0x150
push ecx
call ebx
cmp eax, 3
jne 0x4df26b
mov edx, dword [esi + 0x284]
push 0
push edi
push 0x14e
push edx
call ebx
inc edi
cmp edi, ebp
jl 0x4df244
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x7ec], 0
jmp 0x4e0006
call fcn.0050830c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4df29d
push 0x80004005
call fcn.00401350
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.004070f0
add esp, 0xc
test eax, eax
jne 0x4df2d5
or ecx, 0xffffffff
mov dword [esp + 0x28], ecx
jmp 0x4df2d9
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 + 0x3b4]
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.0054013c
add esp, 0xc
cmp dword [esp + 0x13f4], 0
jne 0x4df3d7
cmp dword [esp + 0x28], 0
jge 0x4df3e2
push edi
push 0x208
push ebp
call fcn.0054013c
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 0x4df8a0
mov edi, dword [esp + 0x3c]
mov ecx, dword [ebx*4 + 0x5b8fa8]
imul edi, edi, 0x1ef8
cmp dword [edi + ecx + 0xe4], 0
lea eax, [edi + ecx]
jle 0x4df835
push 0xffffffffffffffff
push 0
push 0x54e9
call fcn.0050bdf5
lea ecx, [esp + 0x18]
mov dword [esi + 0x7ec], 0
call fcn.00401b70
jmp 0x4e002a
cmp dword [esp + 0x28], 0
jl 0x4df558
mov edi, dword [esp + 0x3c]
mov eax, dword [ebx*4 + 0x5b8fa8]
imul edi, edi, 0x1ef8
add eax, edi
cmp dword [eax + 0xe4], 0
jle 0x4df41b
push 0xffffffffffffffff
push 0
push 0x54e9
call fcn.0050bdf5
mov dword [esi + 0x7ec], 0
jmp 0x4e0002
mov ecx, 1
add dword [eax + 0xe0], ecx
cmp dword [esp + 0x13f8], 0
je 0x4df498
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.00402970
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x4df53e
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jne 0x4df4ed
cmp dword [esp + 0x13fc], 0
jne 0x4df4ed
mov ecx, dword [ebx*4 + 0x5b8fa8]
mov eax, dword [ecx + edi + 0x8c]
add ecx, edi
test eax, eax
je 0x4df4ed
mov edx, 0x2f
cmp dx, word [eax]
jne 0x4df49e
push eax
lea ecx, [esp + 0x1c]
call fcn.00402260
jmp 0x4df4ed
mov dword [esp + 0x20], ecx
jmp 0x4df44e
add ecx, 0xec
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402260
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
test eax, eax
jle 0x4df4d5
dec eax
push eax
lea ecx, [esp + 0x1c]
call fcn.00413190
cmp ax, 0x2f
je 0x4df4d5
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.00405f80
mov ecx, dword [ebx*4 + 0x5b8fa8]
mov edx, dword [edi + ecx + 0x8c]
push edx
lea ecx, [esp + 0x1c]
call fcn.004022a0
mov ecx, dword [esp + 0x18]
push 0
push 0x208
lea eax, [esp + 0x7b4]
push eax
push ecx
mov ecx, dword [ebx*4 + 0x5b8fa8]
add ecx, edi
call fcn.004444c0
test eax, eax
je 0x4df524
lea edx, [esp + 0x7ac]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402260
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push 1
push eax
push ecx
push 0x208
push ebp
call fcn.004031d0
add esp, 0x14
mov edx, dword [ebx*4 + 0x5b8fa8]
dec dword [edi + edx + 0xe0]
lea edi, [edi + edx + 0xe0]
jmp 0x4df79f
push edi
call fcn.00412280
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4df77a
mov eax, dword [edi]
lea edx, [esp + 0x2c0]
xor ecx, ecx
push edx
mov dword [esp + 0x2c4], eax
mov word [esp + 0x2c8], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x4df5a5
cmp eax, 1
je 0x4df5a5
mov eax, 0x5c
cmp ax, word [edi]
jne 0x4df7a6
mov ecx, 0x5c
cmp cx, word [edi]
jne 0x4df6c7
mov ecx, edi
mov eax, 0x586b9c
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4df5e6
test dx, dx
je 0x4df5e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4df5e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4df5c0
xor eax, eax
jmp 0x4df5eb
sbb eax, eax
sbb eax, 0xffffffff
xor edx, edx
test eax, eax
sete dl
mov ebp, edx
mov dword [esp + 0x2c], ebp
test ebp, ebp
je 0x4df681
lea ecx, [esp + 0x1c]
call fcn.00401d40
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x13f0], 3
call fcn.004ded10
add esp, 8
cmp eax, 1
jne 0x4df641
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0xbc0]
xor ebp, ebp
push eax
mov dword [esp + 0x34], ebp
call fcn.00409b00
jmp 0x4df66b
cmp eax, 2
jne 0x4df66e
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0xbc0]
push edx
mov dword [esp + 0x28], 1
call fcn.00409b00
lea edi, [esp + 0xbc4]
mov dword [esp + 0x2c], edi
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13e8], 2
call fcn.00401b70
jmp 0x4df692
lea eax, [esp + 0xbbc]
push edi
push eax
call fcn.00409b00
add esp, 8
test ebp, ebp
jne 0x4df773
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x4c]
push edx
mov ebp, 1
push ebp
push ebp
push 2
call sub.MPR.dll_WNetOpenEnumW
test eax, eax
jne 0x4df773
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], ebp
jmp 0x4df77a
xor eax, eax
xor ecx, ecx
lea edx, [esp + 0x40]
mov word [esp + 0x2c4], ax
push edx
lea eax, [esp + 0x7b0]
mov word [esp + 0x7b0], cx
push eax
lea ecx, [esp + 0x2c8]
push ecx
mov dword [esp + 0x4c], 0x200
call sub.MPR.dll_WNetGetConnectionW
cmp word [esp + 0x7ac], 0
je 0x4df7a6
xor eax, eax
push 0
push 0x57bd68
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 0x57bd68
lea ecx, [esp + 0x54]
lea edx, [esp + 0x2cc]
lea eax, [esp + 0x7b8]
push ecx
mov dword [esp + 0x5c], 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call sub.MPR.dll_WNetAddConnection2W
test eax, eax
jne 0x4df7a6
push edi
call fcn.00412280
add esp, 4
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
je 0x4df7a6
mov ecx, dword [0x5ba2a8]
push edi
call fcn.004160a0
mov ecx, dword [0x5ba2a8]
push 0
push 0x208
lea ebp, [esi + 0x3b4]
push ebp
call fcn.004123d0
cmp dword [esp + 0x20], 0
jne 0x4df80c
mov ecx, dword [esp + 0x28]
test ecx, ecx
jl 0x4df7ef
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, 0x1ef8
add ecx, dword [eax*4 + 0x5b8fa8]
push 0x5401
call fcn.0043d6e0
mov dword [esi + 0x7ec], 0
jmp 0x4e0002
push 0xffffffffffffffff
push 0
push 0x5469
call fcn.0050bdf5
mov dword [esi + 0x7ec], 0
jmp 0x4e0002
mov ecx, dword [0x5ba2a8]
push 1
push ebp
call fcn.00415c20
cmp dword [esp + 0x34], 0
je 0x4df375
lea edi, [esp + 0xbbc]
mov dword [esp + 0x20], edi
jmp 0x4df37b
inc dword [eax + 0xe0]
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 + 0x5b8fa8]
add ecx, edi
call fcn.00444720
mov edx, dword [ebx*4 + 0x5b8fa8]
dec dword [edi + edx + 0xe0]
lea ecx, [edi + edx + 0xe0]
test eax, eax
jne 0x4df91e
mov ecx, dword [ebx*4 + 0x5b8fa8]
push 0x5477
add ecx, edi
call fcn.0043d6e0
lea eax, [esp + 0xfcc]
push eax
push ebp
call fcn.00409b00
add esp, 8
jmp 0x4df3bf
cmp dword [esp + 0x34], eax
jne 0x4df922
push edi
lea ecx, [esp + 0x2d8]
push 0x208
push ecx
call fcn.0054013c
lea edx, [esp + 0x2e0]
push edx
call fcn.00410c70
mov ecx, 0x208
push 0x575240
sub ecx, eax
push ecx
lea edx, [esp + eax*2 + 0x2ec]
push edx
call fcn.0054013c
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 0x4df922
mov edx, dword [esp + 0x24]
push 0
push edx
push 0
push 0x5477
call fcn.00450540
add esp, 0x10
jmp 0x4df3bf
mov edi, dword [esp + 0x20]
cmp dword [0x5e3e4c], 0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x40], 0
jne 0x4df942
cmp dword [0x5ed6c8], 0
je 0x4df982
mov eax, dword [esi + 0x32c]
push 0
push 9
push 0x110a
push eax
call ebx
test eax, eax
je 0x4df96d
push 0x20
push eax
lea ecx, [esi + 0x30c]
call fcn.0051319a
and eax, 0x20
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x32c]
push 0xffff0000
push 0
push 0x1101
push ecx
call ebx
mov edx, dword [esi + 0x380]
push 0
push 0
push 0x184
push edx
call ebx
mov ebp, dword [esp + 0x28]
test ebp, ebp
jl 0x4df9fc
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx]
add ebp, 0x64
test ax, ax
je 0x4df9d5
jmp 0x4df9b0
cmp ax, 0x3a
je 0x4df9c4
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4df9b0
jmp 0x4df9d1
cmp word [ecx], 0
mov dword [esp + 0x20], ecx
je 0x4df9d5
add ecx, 2
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x13f4], 0
je 0x4dfa22
mov eax, dword [esp + 0x30]
cmp eax, dword [esi + 0x840]
je 0x4dfa22
mov ecx, eax
mov dword [esi + 0x840], ecx
mov ecx, esi
call fcn.004de750
jmp 0x4dfa22
mov edx, 0x5c
cmp dx, word [edi]
jne 0x4dfa0b
lea ebp, [edx - 0x5a]
jmp 0x4dfa22
mov eax, dword [esp + 0x24]
movzx cx, byte [eax]
movzx edx, cx
push edx
call fcn.00421c50
add esp, 4
movzx ebp, ax
mov eax, dword [esi + 0x284]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push eax
call edi
mov ecx, dword [esi + 0x284]
push 0
push eax
push 0x150
push ecx
call edi
cmp ebp, eax
je 0x4dfab1
mov edx, dword [esi + 0x284]
push 0
push 0
push 0x146
push edx
call edi
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x4dfab1
lea esp, [esp]
mov eax, dword [esi + 0x284]
push 0
push edi
push 0x150
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebp, eax
je 0x4dfa90
inc edi
cmp edi, ebx
jl 0x4dfa70
jmp 0x4dfab1
mov ecx, dword [esi + 0x284]
push 0
push edi
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x838], edi
mov dword [esi + 0x834], 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 0x4dfbf2
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x30]
imul ecx, ecx, 0x1ef8
mov ebx, dword [ebx*4 + 0x5b8fa8]
cmp dword [ebx + ecx + 0xdc], 3
jne 0x4dfbf2
mov ebx, dword [esp + 0x20]
cmp word [ebx], dx
je 0x4dfb77
jmp 0x4dfb00
movzx ecx, word [ebx + edi*2]
cmp cx, 0x5d
je 0x4dfb77
test cx, cx
je 0x4dfb2f
nop
cmp cx, 0x2e
je 0x4dfb2f
cmp cx, 0x5d
je 0x4dfb2f
inc edi
mov word [esp + eax*2 + 0x2d4], cx
movzx ecx, word [ebx + edi*2]
inc eax
test cx, cx
jne 0x4dfb10
test eax, eax
jle 0x4dfb6f
test ebp, ebp
je 0x4dfb47
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.004db410
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
xor eax, eax
jmp 0x4dfb70
inc edi
cmp word [ebx + edi*2], 0
jne 0x4dfb00
cmp dword [esp + 0x28], 0
jl 0x4dfd03
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
imul ebx, ebx, 0x1ef8
mov eax, dword [edx*4 + 0x5b8fa8]
mov edx, dword [esp + 0x28]
push 1
lea ecx, [ebx + eax + 0x4fc]
push ecx
push edx
lea eax, [esi + 0x3b4]
push 0x208
push eax
call fcn.004031d0
xor ebp, ebp
add esp, 0x14
cmp dword [esp + 0x44], ebp
jle 0x4dfcd2
xor edi, edi
mov eax, dword [esp + 0x38]
add eax, edi
test dword [eax + 0x410], 0x4000
je 0x4dfc95
mov ecx, dword [esp + 0x1c]
push 1
push ecx
push eax
mov ecx, esi
call fcn.004db410
jmp 0x4dfcc1
mov edi, dword [esp + 0x20]
jmp 0x4dfc00
movzx ecx, word [edi]
mov ebx, 0x5c
cmp bx, cx
je 0x4dfc27
mov ebx, 0x2f
cmp bx, cx
je 0x4dfc27
test cx, cx
je 0x4dfc27
mov word [esp + eax*2 + 0x2d4], cx
inc eax
jmp 0x4dfc83
test ebp, ebp
je 0x4dfc51
mov word [esp + eax*2 + 0x2d4], cx
mov ecx, 0x5c
inc eax
xor ebp, ebp
cmp cx, word [edi + 2]
jne 0x4dfc51
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 0x4dfc83
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.004db410
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp word [edi], 0
je 0x4dfb77
add edi, 2
jmp 0x4dfc00
push eax
mov ecx, esi
call fcn.004d9e70
cmp eax, 0xffffffff
je 0x4dfcc1
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + edx + 0x410]
push ecx
push eax
mov eax, dword [esi + 0x380]
push 0x19a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
inc ebp
add edi, 0x444
cmp ebp, dword [esp + 0x44]
jl 0x4dfbc8
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004ff267
add esp, 4
cmp dword [0x5ed724], 0
je 0x4dfda9
mov edx, dword [esp + 0x30]
mov ecx, dword [edx*4 + 0x5b8fa8]
add ecx, ebx
call fcn.004401f0
jmp 0x4dfda9
cmp dword [esp + 0x34], 0
je 0x4dfd26
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.004dc830
jmp 0x4dfda9
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 0x4dfd55
mov eax, dword [esp + 0x1c]
push 0
push eax
lea ecx, [esp + 0xa4]
push ecx
mov ecx, esi
call fcn.004db410
jmp 0x4dfd96
mov edx, dword [esi + 0x828]
mov eax, dword [esi + 0x83c]
push edx
push eax
lea ecx, [esi + 0x2b8]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.004d9ac0
add esp, 0x10
test eax, eax
je 0x4dfd96
mov ecx, dword [esi + 0x380]
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 0x4dfd36
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0050830c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4dfdc3
push 0x80004005
call fcn.00401350
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.0050830c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4dfdf5
push 0x80004005
call fcn.00401350
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.004db150
add esp, 8
test eax, eax
je 0x4dff12
lea eax, [esi + 0x3b4]
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.004072c0
add esp, 8
test eax, eax
je 0x4dff12
mov eax, dword [0x5ede44]
mov edx, dword [0x5b4bb8]
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 + 0x380]
push 0
push 0x18f
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x4dff18
mov edx, dword [esi + 0x380]
lea ecx, [esp + 0x2c0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x380]
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 0x4dfec0
xor ecx, ecx
jmp 0x4dfeee
mov edx, dword [esi + 0x380]
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 + 0x380]
push 0
push ecx
push 0x197
push eax
call ebx
mov ecx, dword [esi + 0x380]
push edi
push 1
push 0x185
push ecx
call ebx
jmp 0x4dff18
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x5ed6c8], 0
jne 0x4dff44
mov edx, dword [esi + 0x32c]
push 0
push 0
push 0x110a
push edx
call ebx
mov ebp, dword [esp + 0x1c]
cmp eax, ebp
je 0x4dff48
cmp dword [esp + 0x40], 0
je 0x4dff59
jmp 0x4dff48
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x32c]
push ebp
push 2
push 0x1102
push eax
call ebx
mov ecx, dword [esi + 0x32c]
push ebp
push 9
push 0x110b
push ecx
call ebx
mov eax, dword [esi + 0x860]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x22
lea edi, [esi + 0x30c]
push eax
mov ecx, edi
call fcn.0051321e
push 0
push 0
push 0
push 1
push 1
push 0
push 0x22
push ebp
mov ecx, edi
mov dword [esi + 0x860], ebp
call fcn.0051321e
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esi + 0x7ec], 0
mov byte [esp + 0x13e8], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4dffda
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 0x4e0002
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 0x4e002a
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.0040abf0
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.0053fa67
add esp, 0x13d8
ret 0x10