Function at 0x402960
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431a57
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x43e040]
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 edi, dword [ebp + 0xc]
push str..936
push 0
mov dword [ebp - 0x28c], 0
call fcn.0041dda9
mov esi, dword [ebp + 8]
add esp, 8
cmp esi, 2
jl 0x402f67
mov eax, dword [0x43f648]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x200
or ecx, edx
jge 0x4029e4
push 0x200
mov ecx, 0x43f648
call fcn.0040a0e0
mov eax, dword [0x43f648]
push 0x200
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
test ecx, ecx
je 0x403eb1
cmp ecx, 0x200
jae 0x403eb1
test ecx, ecx
js 0x403f01
mov eax, dword [0x43f648]
cmp ecx, dword [eax - 8]
jg 0x403f01
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [0x43f648]
push 0x5c
mov word [eax + ecx*2], dx
push dword [0x43f648]
call fcn.0040ec98
mov ecx, dword [0x43f648]
add esp, 8
test eax, eax
jne 0x402a4d
xor edx, edx
jmp 0x402a5c
sub eax, ecx
sar eax, 1
lea edx, [eax + 1]
test edx, edx
js 0x403f01
cmp edx, dword [ecx - 8]
jg 0x403f01
mov dword [ecx - 0xc], edx
lea ebx, [edi + 4]
mov eax, dword [0x43f648]
xor ecx, ecx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x278], ecx
mov word [eax + edx*2], cx
lea eax, [edi + esi*4]
mov dword [ebp - 0x294], eax
call fcn.00401550
mov ecx, eax
test ecx, ecx
je 0x403ee3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x270], esi
mov dword [ebp - 4], 0
call fcn.00401550
mov ecx, eax
test ecx, ecx
je 0x403eed
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x26c], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x274], 0
cmp ebx, dword [ebp - 0x294]
je 0x402f27
mov ebx, dword [ebx]
movzx eax, word [ebx]
cmp eax, 0x2f
je 0x402b01
cmp eax, 0x2d
jne 0x402b91
add ebx, 2
cmp word [ebx], ax
jne 0x402b04
add ebx, 2
push 0xb
push str.BuildExport
push ebx
call fcn.0041ff90
add esp, 0xc
test eax, eax
jne 0x402b91
movzx eax, word [ebx + 0x16]
add ebx, 0x16
cmp eax, 0x3a
je 0x402b3a
cmp eax, 0x3d
je 0x402b3a
cmp eax, 0x20
je 0x402b33
test ax, ax
jne 0x402b91
xor eax, eax
mov word [ebx], ax
jmp 0x402b4a
add ebx, 2
cmp word [ebx], 0x22
jne 0x402b4a
push ebx
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
test ebx, ebx
je 0x402b91
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402b53
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x270]
call fcn.0040a140
mov esi, dword [ebp - 0x270]
cmp dword [esi - 0xc], 0
je 0x402f95
or dword [ebp - 0x278], 1
mov ebx, dword [ebp - 0x264]
jmp 0x402f12
mov ebx, dword [ebp - 0x264]
mov ebx, dword [ebx]
movzx eax, word [ebx]
cmp eax, 0x2f
je 0x402bb2
cmp eax, 0x2d
jne 0x402c42
add ebx, 2
cmp word [ebx], ax
jne 0x402bb5
add ebx, 2
push 0xf
push str.BuildOrdinalMap
push ebx
call fcn.0041ff90
add esp, 0xc
test eax, eax
jne 0x402c42
movzx eax, word [ebx + 0x1e]
add ebx, 0x1e
cmp eax, 0x3a
je 0x402beb
cmp eax, 0x3d
je 0x402beb
cmp eax, 0x20
je 0x402be4
test ax, ax
jne 0x402c42
xor eax, eax
mov word [ebx], ax
jmp 0x402bfb
add ebx, 2
cmp word [ebx], 0x22
jne 0x402bfb
push ebx
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
test ebx, ebx
je 0x402c42
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402c04
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x270]
call fcn.0040a140
mov esi, dword [ebp - 0x270]
cmp dword [esi - 0xc], 0
je 0x402f95
or dword [ebp - 0x278], 2
mov ebx, dword [ebp - 0x264]
jmp 0x402f12
mov ebx, dword [ebp - 0x264]
mov ebx, dword [ebx]
movzx eax, word [ebx]
cmp eax, 0x2f
je 0x402c63
cmp eax, 0x2d
jne 0x402cec
add ebx, 2
cmp word [ebx], ax
jne 0x402c66
add ebx, 2
push 6
push str.OutDir
push ebx
call fcn.0041ff90
add esp, 0xc
test eax, eax
jne 0x402cec
movzx eax, word [ebx + 0xc]
add ebx, 0xc
cmp eax, 0x3a
je 0x402c9c
cmp eax, 0x3d
je 0x402c9c
cmp eax, 0x20
je 0x402c95
test ax, ax
jne 0x402cec
xor eax, eax
mov word [ebx], ax
jmp 0x402cac
add ebx, 2
cmp word [ebx], 0x22
jne 0x402cac
push ebx
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
test ebx, ebx
je 0x402cec
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402cb5
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x26c]
call fcn.0040a140
mov edi, dword [ebp - 0x26c]
cmp dword [edi - 0xc], 0
je 0x402f95
mov ebx, dword [ebp - 0x264]
jmp 0x402f12
mov ebx, dword [ebp - 0x264]
mov ebx, dword [ebx]
movzx eax, word [ebx]
cmp eax, 0x2f
je 0x402d09
cmp eax, 0x2d
jne 0x402d7e
add ebx, 2
cmp word [ebx], ax
jne 0x402d0c
add ebx, 2
push 6
push str.Target
push ebx
call fcn.0041ff90
add esp, 0xc
test eax, eax
jne 0x402d7e
movzx eax, word [ebx + 0xc]
add ebx, 0xc
cmp eax, 0x3a
je 0x402d42
cmp eax, 0x3d
je 0x402d42
cmp eax, 0x20
je 0x402d3b
test ax, ax
jne 0x402d7e
xor eax, eax
mov word [ebx], ax
jmp 0x402d52
add ebx, 2
cmp word [ebx], 0x22
jne 0x402d52
push ebx
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
test ebx, ebx
je 0x402d7e
cmp word [ebx], 0
je 0x402f95
cmp dword [ebp - 0x274], 0
jne 0x402f95
mov dword [ebp - 0x274], ebx
mov ebx, dword [ebp - 0x264]
jmp 0x402f12
mov ebx, dword [ebp - 0x264]
mov ebx, dword [ebx]
movzx eax, word [ebx]
cmp eax, 0x2f
je 0x402d9b
cmp eax, 0x2d
jne 0x402dfa
add ebx, 2
cmp word [ebx], ax
jne 0x402d9e
add ebx, 2
push 0xb
push str.IgnoreReady
push ebx
call fcn.0041ff90
add esp, 0xc
test eax, eax
jne 0x402dfa
movzx eax, word [ebx + 0x16]
add ebx, 0x16
cmp eax, 0x3a
je 0x402dd4
cmp eax, 0x3d
je 0x402dd4
cmp eax, 0x20
je 0x402dcd
test ax, ax
jne 0x402dfa
xor eax, eax
mov word [ebx], ax
jmp 0x402de4
add ebx, 2
cmp word [ebx], 0x22
jne 0x402de4
push ebx
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
test ebx, ebx
je 0x402dfa
mov ebx, dword [ebp - 0x264]
mov byte [0x43f638], 1
jmp 0x402f12
mov ebx, dword [ebp - 0x264]
mov ebx, dword [ebx]
movzx eax, word [ebx]
cmp eax, 0x2f
je 0x402e1b
cmp eax, 0x2d
jne 0x402e8a
add ebx, 2
cmp word [ebx], ax
jne 0x402e1e
add ebx, 2
push 0xa
push str.ReportView
push ebx
call fcn.0041ff90
add esp, 0xc
test eax, eax
jne 0x402e8a
movzx eax, word [ebx + 0x14]
add ebx, 0x14
cmp eax, 0x3a
je 0x402e54
cmp eax, 0x3d
je 0x402e54
cmp eax, 0x20
je 0x402e4d
test ax, ax
jne 0x402e8a
xor eax, eax
mov word [ebx], ax
jmp 0x402e64
add ebx, 2
cmp word [ebx], 0x22
jne 0x402e64
push ebx
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
test ebx, ebx
je 0x402e8a
push str.CheckBox
push ebx
call fcn.00420224
mov ebx, dword [ebp - 0x264]
add esp, 8
test eax, eax
sete byte [0x43f639]
jmp 0x402f12
mov ebx, dword [ebp - 0x264]
push 0x43a638
push dword [ebx]
call fcn.00420224
add esp, 8
test eax, eax
je 0x402f95
push 0x43a640
push dword [ebx]
call fcn.00420224
add esp, 8
test eax, eax
je 0x402f95
push str._help
push dword [ebx]
call fcn.00420224
add esp, 8
test eax, eax
je 0x402f95
cmp dword [esi - 0xc], 0
jne 0x402f95
mov edx, dword [ebx]
test edx, edx
jne 0x402ee9
xor ecx, ecx
jmp 0x402eff
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402ef0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x270]
call fcn.0040a140
mov esi, dword [ebp - 0x270]
add ebx, 4
mov dword [ebp - 0x264], ebx
cmp ebx, dword [ebp - 0x294]
jne 0x402ae6
or ebx, 0xffffffff
cmp dword [esi - 0xc], 0
jne 0x402fa1
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x402f4b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x402f67
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x43a0c8
call fcn.004010c0
add esp, 4
mov eax, 0x80070057
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.0040d660
mov esp, ebp
pop ebp
ret
add edi, 0xfffffff0
mov byte [ebp - 4], 0
or ebx, 0xffffffff
jmp 0x402f37
cmp dword [edi - 0xc], 0
jne 0x403025
mov eax, dword [0x43f648]
lea ecx, [edi - 0x10]
mov dword [ebp - 0x27c], ecx
lea edx, [eax - 0x10]
mov dword [ebp - 0x290], edx
cmp edx, ecx
je 0x403025
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x403010
mov edx, dword [edx]
cmp edx, dword [ecx]
jne 0x403010
mov ecx, dword [ebp - 0x290]
call fcn.0040a000
mov dword [ebp - 0x290], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x403005
mov edi, dword [ebp - 0x27c]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x290]
lea edi, [eax + 0x10]
mov dword [ebp - 0x26c], edi
jmp 0x403025
push dword [eax - 0xc]
lea ecx, [ebp - 0x26c]
push eax
call fcn.0040a140
mov edi, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x278]
test al, 1
je 0x403a1c
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x298], eax
lea ecx, [eax - 1]
test ecx, ecx
js 0x403f01
cmp ecx, eax
jg 0x403f01
cmp word [edi + ecx*2], 0x5c
je 0x4030a9
lea edx, [eax + 1]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
mov dword [ebp - 0x27c], edx
jge 0x403088
push edx
lea ecx, [ebp - 0x26c]
call fcn.0040a0e0
mov edi, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x298]
mov ecx, 0x5c
mov word [edi + eax*2], cx
cmp edx, dword [edi - 8]
jg 0x403f01
xor eax, eax
mov dword [edi - 0xc], edx
mov word [edi + edx*2], ax
lea eax, [ebp - 0x290]
mov dword [ebp - 0x290], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
push 0x1c
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
call fcn.0040d94e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x288], eax
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x403662
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x27c], eax
lea ecx, [eax - 1]
test ecx, ecx
js 0x403f01
cmp ecx, eax
jg 0x403f01
cmp word [esi + ecx*2], 0x5c
je 0x40316f
lea edi, [eax + 1]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x40314e
push edi
lea ecx, [ebp - 0x270]
call fcn.0040a0e0
mov esi, dword [ebp - 0x270]
mov eax, dword [ebp - 0x27c]
mov ecx, 0x5c
mov word [esi + eax*2], cx
cmp edi, dword [esi - 8]
jg 0x403f01
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
push 0xa
push str.DllMap.txt
lea ecx, [ebp - 0x26c]
call fcn.0040a490
push str.System32_
lea edx, [ebp - 0x270]
lea ecx, [ebp - 0x294]
call fcn.00408d90
add esp, 4
mov byte [ebp - 4], 3
push dword [ebp - 0x294]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x40360f
mov eax, dword [ebp - 0x294]
lea edi, [ebp - 0x288]
mov ecx, dword [eax - 0xc]
push ecx
mov dword [0x43f63c], ecx
mov esi, esp
lea ecx, [eax - 0x10]
mov dword [ebp - 0x268], esi
call fcn.0040a000
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00404280
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0
push str.System32_ntdll.dll
lea edx, [ebp - 0x270]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.00408d90
add esp, 8
lea ecx, [ebp - 0x2ac]
push dword [eax]
call fcn.004018f0
mov edx, dword [ebp - 0x27c]
mov esi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x403241
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
js 0x4035fc
call fcn.00401550
mov ecx, eax
test ecx, ecx
je 0x403ef7
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x278], edi
mov byte [ebp - 4], 5
mov ecx, 0x14c
mov eax, dword [ebp - 0x2a8]
movzx eax, word [eax + 4]
cmp ax, cx
jne 0x403287
push 3
push 0x43a6a8
jmp 0x403298
mov ecx, 0x8664
cmp ax, cx
jne 0x4032a9
push 5
push str.amd64
lea ecx, [ebp - 0x278]
call fcn.0040a140
mov edi, dword [ebp - 0x278]
cmp dword [edi - 0xc], 0
je 0x4035e1
push str.winsxs_
lea edx, [ebp - 0x270]
lea ecx, [ebp - 0x29c]
call fcn.00408d90
add esp, 4
mov ecx, 0x43ad00
mov byte [ebp - 4], 6
mov dword [ebp - 0x27c], ecx
nop dword [eax + eax]
mov esi, dword [ecx]
lea eax, [ebp - 0x278]
push eax
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x2a4]
call fcn.00408f20
push 0x43a6d4
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2a0]
call fcn.00408d90
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2b4]
call fcn.00408d90
push 0x43a6cc
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b0]
call fcn.00408d90
add esp, 0x10
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x2b0]
mov ecx, ebx
mov dword [ebp - 0x274], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40336d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, ebx
mov edx, dword [ebp - 0x2b4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40338e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x2a0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4033af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x2a4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4033d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x274]
cmp eax, 0xffffffff
je 0x4035a5
nop
test byte [ebp - 0x260], 0x10
je 0x403582
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x268]
call fcn.00408d90
add esp, 4
mov ebx, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebx]
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x403422
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x403438
call fcn.00401550
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x403ee3
mov eax, dword [ecx]
call dword [eax + 0xc]
or dword [ebp - 0x28c], 1
mov edx, dword [ebx]
mov dword [ebp - 0x264], edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x298], esi
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x280], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x403f01
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x403492
push ebx
lea ecx, [ebp - 0x298]
call fcn.0040a0e0
mov esi, dword [ebp - 0x298]
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x280]
add eax, eax
mov dword [ebp - 0x264], eax
je 0x4034d8
test esi, esi
je 0x4034c2
push eax
test edx, edx
je 0x4034b7
push edx
push esi
call fcn.0040eef0
add esp, 0xc
jmp 0x4034d2
push 0
push esi
call fcn.0040f470
add esp, 0xc
call fcn.0041d095
mov dword [eax], 0x16
call fcn.0041cd18
mov eax, dword [ebp - 0x264]
add eax, esi
jne 0x4034ee
call fcn.0041d095
mov dword [eax], 0x16
call fcn.0041cd18
jmp 0x4034f6
mov ecx, 0x5c
mov word [eax], cx
cmp ebx, dword [esi - 8]
jg 0x403f01
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
mov byte [ebp - 4], 0xc
or ebx, 0xffffffff
mov edx, dword [ebp - 0x268]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40352c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi - 0xc]
add esi, 0xfffffff0
push ecx
mov ebx, esp
mov dword [0x43f63c], eax
mov ecx, esi
mov dword [ebp - 0x280], ebx
call fcn.0040a000
add eax, 0x10
lea ecx, [ebp - 0x288]
mov dword [ebx], eax
call fcn.00404280
and dword [ebp - 0x28c], 0xfffffffe
or ebx, 0xffffffff
add esp, 4
mov byte [ebp - 4], 6
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40357c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x274]
jne 0x4033e0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x27c]
add ecx, 4
mov dword [ebp - 0x27c], ecx
cmp ecx, 0x43ad0c
jne 0x4032e0
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x29c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4035e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4035fc
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x40363b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x40363b
mov eax, dword [esi - 0xc]
push ecx
mov edi, esp
mov dword [0x43f63c], eax
lea ecx, [esi - 0x10]
mov dword [ebp - 0x268], edi
call fcn.0040a000
add eax, 0x10
lea ecx, [ebp - 0x288]
mov dword [edi], eax
call fcn.00404280
add esp, 4
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x294]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4036d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4036d2
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
test edx, edx
jne 0x403673
xor ecx, ecx
jmp 0x40368f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403680
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x26c]
call fcn.0040a490
push 4
push 0x43a6d8
lea ecx, [ebp - 0x26c]
call fcn.0040a490
push ecx
mov edi, esp
lea ecx, [esi - 0x10]
mov dword [ebp - 0x268], edi
call fcn.0040a000
add eax, 0x10
lea ecx, [ebp - 0x288]
mov dword [edi], eax
call fcn.00403f60
add esp, 4
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
call fcn.00401550
mov ecx, eax
test ecx, ecx
je 0x403f0b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x264], edi
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x288]
mov esi, dword [esi]
mov dword [ebp - 0x28c], esi
cmp byte [esi + 0xd], 0
jne 0x4039bf
nop dword [eax + eax]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x268], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x403f01
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x403757
push ebx
lea ecx, [ebp - 0x264]
call fcn.0040a580
mov edi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x268]
mov byte [eax + edi], 0x5b
cmp ebx, dword [edi - 8]
jg 0x403f01
mov dword [edi - 0xc], ebx
lea ecx, [ebp - 0x264]
mov byte [ebx + edi], 0
mov eax, dword [esi + 0x10]
push dword [eax - 0xc]
push eax
call fcn.0040a5e0
mov edi, dword [ebp - 0x264]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x268], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x403f01
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x4037c0
push ebx
lea ecx, [ebp - 0x264]
call fcn.0040a580
mov edi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x268]
mov byte [eax + edi], 0x5d
cmp ebx, dword [edi - 8]
jg 0x403f01
mov dword [edi - 0xc], ebx
mov byte [ebx + edi], 0
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x268], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x403f01
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x403811
push ebx
lea ecx, [ebp - 0x264]
call fcn.0040a580
mov edi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x268]
mov byte [eax + edi], 0xa
cmp ebx, dword [edi - 8]
jg 0x403f01
mov dword [edi - 0xc], ebx
mov byte [ebx + edi], 0
mov esi, dword [esi + 0x14]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x403916
nop word [eax + eax]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
cmp dword [ecx - 0xc], 0
je 0x403864
push ecx
push eax
lea eax, [ebp - 0x264]
push str._d_s
push eax
call fcn.0040a7b0
add esp, 0x10
jmp 0x403879
push eax
lea eax, [ebp - 0x264]
push 0x43a6ec
push eax
call fcn.0040a7b0
add esp, 0xc
mov edi, dword [ebp - 0x264]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x268], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x403f01
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x4038b6
push ebx
lea ecx, [ebp - 0x264]
call fcn.0040a580
mov edi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x268]
mov byte [eax + edi], 0xa
cmp ebx, dword [edi - 8]
jg 0x403f01
mov dword [edi - 0xc], ebx
mov byte [ebx + edi], 0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4038f6
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4038f2
cmp esi, dword [eax + 8]
jne 0x4038f2
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4038e2
mov esi, eax
jmp 0x40390c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x40390c
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x403900
cmp byte [esi + 0xd], 0
je 0x403840
mov ebx, dword [edi - 0xc]
lea esi, [ebx + 1]
test esi, esi
js 0x403f01
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x403947
push esi
lea ecx, [ebp - 0x264]
call fcn.0040a580
mov edi, dword [ebp - 0x264]
mov byte [ebx + edi], 0xa
cmp esi, dword [edi - 8]
jg 0x403f01
mov eax, dword [ebp - 0x28c]
mov dword [edi - 0xc], esi
mov byte [esi + edi], 0
mov esi, dword [eax + 8]
cmp byte [esi + 0xd], 0
je 0x40398b
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x403983
cmp eax, dword [esi + 8]
jne 0x403983
mov eax, esi
mov esi, dword [esi + 4]
cmp byte [esi + 0xd], 0
je 0x403973
mov dword [ebp - 0x28c], esi
jmp 0x4039b2
mov ecx, dword [esi]
mov dword [ebp - 0x28c], esi
cmp byte [ecx + 0xd], 0
jne 0x4039b2
nop dword [eax]
mov eax, dword [ecx]
mov esi, ecx
mov dword [ebp - 0x28c], esi
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4039a0
cmp byte [esi + 0xd], 0
je 0x403720
or ebx, 0xffffffff
push dword [edi - 0xc]
mov ecx, dword [ebp - 0x26c]
mov edx, edi
call fcn.00401870
add esp, 4
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4039ed
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x288]
push dword [eax + 4]
lea eax, [ebp - 0x288]
push eax
mov ecx, eax
call fcn.0040c200
push 0x1c
push dword [ebp - 0x288]
call fcn.0040dce4
mov esi, dword [ebp - 0x270]
jmp 0x403e68
test al, 2
je 0x403a81
push 0xe
push str.OrdinalMap.txt
lea ecx, [ebp - 0x26c]
call fcn.0040a490
push ecx
mov ecx, dword [ebp - 0x26c]
mov edi, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x280], edi
call fcn.0040a000
add eax, 0x10
mov dword [edi], eax
push ecx
mov edi, esp
mov byte [ebp - 4], 0xe
lea ecx, [esi - 0x10]
mov dword [ebp - 0x280], edi
call fcn.0040a000
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 1
call fcn.00407ee0
add esp, 8
mov edi, eax
jmp 0x403e6d
push 0x1c
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
call fcn.0040d94e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x288], eax
push esi
mov byte [ebp - 4], 0xf
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x403bf4
cmp dword [esi - 0xc], 0
je 0x403b27
nop dword [eax]
mov eax, dword [esi - 0xc]
lea edi, [eax - 1]
test edi, edi
js 0x403f01
cmp edi, eax
jg 0x403f01
cmp word [esi + edi*2], 0x5c
jne 0x403b27
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x403b10
push edi
lea ecx, [ebp - 0x270]
call fcn.0040a0e0
mov esi, dword [ebp - 0x270]
cmp edi, dword [esi - 8]
jg 0x403f01
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], eax
jne 0x403ad0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
test edx, edx
jne 0x403b38
xor ecx, ecx
jmp 0x403b4f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403b40
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x26c]
call fcn.0040a490
push 3
push 0x43a710
lea ecx, [ebp - 0x26c]
call fcn.0040a490
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x268], eax
lea edi, [eax + 1]
test edi, edi
js 0x403f01
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x403ba5
push edi
lea ecx, [ebp - 0x270]
call fcn.0040a0e0
mov esi, dword [ebp - 0x270]
mov eax, dword [ebp - 0x268]
mov ecx, 0x5c
mov word [esi + eax*2], cx
cmp edi, dword [esi - 8]
jg 0x403f01
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
mov eax, dword [esi - 0xc]
push ecx
mov edi, esp
mov dword [0x43f63c], eax
lea ecx, [esi - 0x10]
mov dword [ebp - 0x268], edi
call fcn.0040a000
add eax, 0x10
lea ecx, [ebp - 0x288]
mov dword [edi], eax
call fcn.00404b80
jmp 0x403ccf
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x280], eax
lea ecx, [eax - 1]
test ecx, ecx
js 0x403f01
cmp ecx, eax
jg 0x403f01
cmp word [edi + ecx*2], 0x5c
je 0x403c6a
lea edx, [eax + 1]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
mov dword [ebp - 0x268], edx
jge 0x403c49
push edx
lea ecx, [ebp - 0x26c]
call fcn.0040a0e0
mov edi, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x280]
mov ecx, 0x5c
mov word [edi + eax*2], cx
cmp edx, dword [edi - 8]
jg 0x403f01
xor eax, eax
mov dword [edi - 0xc], edx
mov word [edi + edx*2], ax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
test edx, edx
jne 0x403c7b
xor ecx, ecx
jmp 0x403c8f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403c80
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x26c]
call fcn.0040a490
push 3
push 0x43a710
lea ecx, [ebp - 0x26c]
call fcn.0040a490
push ecx
mov edi, esp
lea ecx, [esi - 0x10]
mov dword [ebp - 0x268], edi
call fcn.0040a000
add eax, 0x10
lea ecx, [ebp - 0x288]
mov dword [edi], eax
call fcn.00404480
add esp, 4
push ecx
mov edi, esp
mov dword [ebp - 0x2a4], esp
mov dword [ebp - 0x2a0], edi
call fcn.00401550
mov ecx, eax
test ecx, ecx
je 0x403f15
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp - 0x274]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x403e07
test eax, 0xffff0000
jne 0x403de5
movzx ecx, ax
call fcn.004013f0
mov dword [ebp - 0x268], eax
test eax, eax
je 0x403e12
mov edx, dword [ebp - 0x274]
movzx ecx, dx
shr ecx, 4
push 6
inc ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edx, eax
test edx, edx
je 0x403e12
mov ecx, dword [ebp - 0x274]
movzx eax, cx
mov ecx, dword [ebp - 0x268]
push eax
call fcn.00401380
add esp, 4
mov dword [ebp - 0x280], eax
test eax, eax
je 0x403e12
movzx edx, word [eax]
mov eax, 1
mov ecx, dword [edi]
mov dword [ebp - 0x290], edx
sub eax, dword [ecx - 4]
mov dword [ebp - 0x268], eax
mov eax, dword [ecx - 8]
sub eax, edx
or eax, dword [ebp - 0x268]
jge 0x403da8
push edx
mov ecx, edi
call fcn.0040a0e0
mov edx, dword [ebp - 0x290]
mov eax, dword [ebp - 0x280]
movzx ecx, word [eax]
add eax, 2
push ecx
push eax
push edx
push dword [edi]
call fcn.00410e02
push eax
call fcn.004012b0
mov eax, dword [edi]
add esp, 0x14
mov ecx, dword [ebp - 0x290]
cmp ecx, dword [eax - 8]
jg 0x403f01
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
jmp 0x403e12
mov ecx, eax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403df0
mov eax, dword [ebp - 0x274]
sub ecx, edx
sar ecx, 1
jmp 0x403e09
xor ecx, ecx
push ecx
push eax
mov ecx, edi
call fcn.0040a140
push ecx
mov byte [ebp - 4], 0x11
mov edi, esp
mov dword [ebp - 0x268], edi
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.0040a000
add eax, 0x10
lea ecx, [ebp - 0x288]
mov dword [edi], eax
mov byte [ebp - 4], 0xf
call fcn.00405be0
mov eax, dword [ebp - 0x288]
add esp, 8
push dword [eax + 4]
lea eax, [ebp - 0x288]
push eax
mov ecx, eax
call fcn.0040c1a0
push 0x1c
push dword [ebp - 0x288]
call fcn.0040dce4
add esp, 8
xor edi, edi
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403e8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x403eaa
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x402f79
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x403ec3
call esi
mov esi, eax
jmp 0x403ece
call esi
movzx esi, ax
or esi, 0x80070000
push esi
push 0x43a564
call fcn.004010c0
add esp, 8
mov eax, esi
jmp 0x402f79
push 0x80004005
call fcn.00401290
push 0x80004005
call fcn.00401290
push 0x80004005
call fcn.00401290
push 0x80070057
call fcn.00401290
push 0x80004005
call fcn.00401290
push 0x80004005
call fcn.00401290
int3