joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468880
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x5296dc]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x468a19
cmp dword [ebp + 0x1d4], ebx
jne 0x4689d3
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp + 0x3d4c]
push 0x526974
mov dword [ebp + 0x3cf8], ebx
mov dword [ebp + 0x3d40], ebx
push ecx
mov dword [ebp + 0x3d30], ebx
mov dword [ebp + 0x3d28], ebx
mov dword [ebp + 0x3cfc], ebx
mov dword [ebp + 0x3d44], ebx
mov dword [ebp + 0x3d48], ebx
mov dword [ebp + 0x15ffc], ebx
mov dword [ebp + 0x14f98], ebx
mov dword [ebp + 0x14f9c], ebx
mov dword [ebp + 0x14fa0], ebx
mov byte [ebp + 0x14fa4], bl
mov dword [ebp + 0x16800], ebx
mov dword [ebp + 0x16804], ebx
mov dword [ebp + 0x1680c], ebx
mov dword [ebp + 0x3d14], ebx
mov dword [ebp + 0x3d18], ebx
mov dword [ebp + 0x3d1c], ebx
call esi
mov edx, dword [esp + 0x14]
lea eax, [ebp + 0x14fac]
push edx
push eax
call esi
call fcn.00462250
test eax, eax
je 0x468949
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
ret
cmp dword [ebp + 0x54], ebx
jne 0x468956
cmp dword [ebp + 0x4ee4], ebx
je 0x468969
lea esi, [ebp + 0x15fac]
lea edi, [ebp + 0x15fd0]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x14fac]
lea esi, [ebp + 0x157ac]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4689a1
mov eax, dword [ebp + 0x15fc0]
mov ecx, dword [ebp + 0x15fe4]
cmp eax, ecx
jne 0x4689a1
mov ecx, dword [ebp + 0x15fc8]
mov eax, dword [ebp + 0x15fec]
cmp ecx, eax
je 0x4689d3
push ebp
mov dword [ebp + 0x4e14], ebx
call fcn.00462fd0
add esp, 4
mov dword [ebp + 0x3d08], ebx
mov ecx, 9
xor eax, eax
lea edi, [ebp + 0x15fd0]
mov dword [ebp + 0x4e7c], ebx
mov dword [ebp + 0x3d0c], ebx
mov byte [esi], bl
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0xa0]
add edx, 4
push edx
call fcn.004adbfa
mov dword [ebp + 0x14f90], eax
mov eax, dword [ebp + 0xa4]
inc eax
push eax
call fcn.004adbfa
mov ecx, dword [ebp + 0x14f90]
add esp, 8
cmp ecx, ebx
mov dword [ebp + 0x15ff4], eax
mov dword [ebp + 0x15ffc], eax
je 0x468a19
cmp eax, ebx
je 0x468a19
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
ret
Function at 0x469080
Capabilities:
Get thread local storage value
Read file on windows

Disassembly:
mov eax, dword [0x5296dc]
sub esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4690c7
mov eax, dword [eax + 0x3d10]
lea ecx, [esp]
push 0
push ecx
lea edx, [esp + 0xc]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4690c7
mov eax, dword [esp]
test eax, eax
je 0x4690c7
mov eax, dword [esp + 4]
and eax, 0xff
add esp, 8
ret
or eax, 0xffffffff
add esp, 8
ret
Function at 0x4690d0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x5296dc]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x4692c7
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x4692be
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x4692be
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x46911d
mov edi, dword [esi + 0x90]
mov ecx, dword [esi + 0x70]
mov ebx, dword [esi + 0x94]
mov eax, dword [esi + 0x74]
add edi, ecx
jmp 0x469137
mov edi, dword [esi + 0x4558]
mov ecx, dword [esi + 0x90]
mov ebx, dword [esi + 0x455c]
mov eax, dword [esi + 0x94]
add edi, ecx
mov edx, dword [esp + 0x18]
mov ecx, edi
adc ebx, eax
add ecx, 0x3e8
mov eax, ebx
adc eax, 0
cmp edx, eax
mov eax, dword [esp + 0x14]
jl 0x469165
jg 0x469158
cmp eax, ecx
jbe 0x469165
mov dword [esi], 1
mov dword [esi + 0x24], 1
mov ebp, dword [esi + 0x28]
test ebp, ebp
jne 0x46917a
mov ecx, dword [esi + 0x460c]
test ecx, ecx
je 0x4692c7
mov ecx, edi
or ecx, ebx
jne 0x469188
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x4691be
push 0
push 0x64
push edx
push eax
call fcn.004b56d0
push ebx
push edi
push edx
push eax
call fcn.004b5a40
mov edi, eax
add edi, 1
adc edx, 0
mov dword [esp + 0x18], edx
js 0x4691be
jg 0x4691b1
cmp edi, 0x64
jbe 0x4691be
mov edi, 0x64
mov dword [esp + 0x18], 0
mov eax, edi
cdq
mov dword [esi + 0x3cf8], eax
mov dword [esi + 0x3cfc], edx
test ebp, ebp
je 0x469269
lea edx, [esi + 0x3d4c]
lea eax, [esi + 0x1e4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esi + 0x1e0]
lea ecx, [esi + 0x344]
mov dword [esi + 0x34c], eax
mov dword [esi + 0x348], 0x164
mov dword [eax], edi
mov eax, dword [esi + 0x1dc]
cmp eax, 0xc8
mov dword [ecx], 1
jl 0x46924c
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46924c
push ecx
mov ecx, dword [esi + 0x30]
push 0
push 0x4a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4692be
push esi
mov dword [esi], 1
call fcn.0046b980
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esi + 0x30]
push ecx
push 0
push 0x4a
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call fcn.0046b980
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
cmp dword [esi + 0x1dc], 0xc8
jl 0x4692a9
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4692a9
mov eax, dword [esi + 0x4610]
lea ecx, [esi + 0x3d4c]
push eax
push edi
push ecx
call dword [esi + 0x460c]
test eax, eax
je 0x4692be
push esi
mov dword [esi], 1
call fcn.0046b980
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esi + 0x4610]
lea eax, [esi + 0x3d4c]
push edx
push edi
push eax
call dword [esi + 0x460c]
push esi
call fcn.0046b980
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4692d0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x5296dc]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4692e7
pop esi
pop ebx
ret
mov ebx, dword [esi + 0x28]
test ebx, ebx
jne 0x4692fd
mov eax, dword [esi + 0x4560]
test eax, eax
jne 0x4692fd
pop esi
xor eax, eax
pop ebx
ret
mov ecx, dword [esp + 0x10]
push ebp
test ecx, ecx
push edi
jne 0x46930b
xor edi, edi
jmp 0x46933e
cmp ecx, 0x186a0
jle 0x46932c
mov eax, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, dword [esp + 0x1c]
sar ecx, 5
mov edx, ecx
shr edx, 0x1f
add ecx, edx
jmp 0x469339
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
mov edi, eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
cmp edi, 0x64
mov ebp, eax
jle 0x469353
mov edi, 0x64
test ebx, ebx
mov dword [esi + 0x3d48], edi
je 0x4693ec
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x1e4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esi + 0x1e0]
lea eax, [esi + 0x344]
mov dword [esi + 0x34c], ecx
push eax
mov dword [ecx], edi
mov ecx, dword [esi + 0x1dc]
cmp ecx, 0xc8
push 0
mov dword [eax], 0
mov dword [esi + 0x348], 0x164
push 0x4a
jl 0x4693d2
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x46946b
push esi
mov dword [esi], 1
call fcn.0046b980
add esp, 4
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
ret
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call fcn.0046b980
add esp, 4
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
ret
mov eax, dword [esi + 0x1dc]
cmp eax, 0x12c
jg 0x46942a
je 0x46944f
sub eax, 0x64
je 0x469407
sub eax, 0x64
je 0x46944f
jmp 0x469436
mov edx, dword [esi + 0x4564]
mov eax, dword [esp + 0x14]
push edx
push edi
push eax
call dword [esi + 0x4560]
push esi
call fcn.0046b980
add esp, 4
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
ret
sub eax, 0x190
je 0x46944f
sub eax, 0x64
je 0x46944f
mov ecx, dword [esi + 0x4564]
mov edx, dword [esp + 0x14]
push ecx
push edi
push edx
call dword [esi + 0x4560]
test eax, eax
je 0x46946b
jmp 0x469466
mov eax, dword [esi + 0x4564]
mov ecx, dword [esp + 0x14]
push eax
push edi
push ecx
call dword [esi + 0x4560]
test eax, eax
je 0x46946b
mov ebp, 1
push esi
call fcn.0046b980
add esp, 4
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
ret
Function at 0x469df0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
test eax, eax
jl 0x469e58
mov esi, dword [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
test eax, eax
jne 0x469e3f
push edi
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push esi
mov esi, dword [esp + 0x1c]
push esi
call edi
lea ecx, [esp + 0x14]
push 0
push ecx
push 2
push 0x51ce1c
push esi
call edi
pop edi
mov eax, 1
pop esi
ret
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
push 0
push edx
push 5
push str.____r_n
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
pop esi
ret
Function at 0x469e60
Capabilities:
Get common file path
Get thread local storage value
Write file on windows

Disassembly:
mov eax, 0x1004
call fcn.004ad6f0
mov eax, dword [0x5296dc]
push ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46a059
mov ecx, dword [eax + 0x4574]
test ecx, ecx
je 0x46a059
push 0x800
push 0
push 0x65
call fcn.0046cff0
add esp, 8
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 0xc]
push 0x3a
push edx
mov byte [esp + 0x813], 0
call fcn.0046d140
lea ecx, [esp + 0xd]
cmp eax, ecx
je 0x469f1f
lea edx, [esp + 0xc]
push 0x51ce38
push edx
call fcn.0046d0f0
lea ecx, [esp + 0xc]
cmp eax, ecx
je 0x469f1f
lea edx, [esp + 0x80c]
push 0x800
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov al, byte [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp al, 0x5c
je 0x469f0e
lea eax, [esp + 0x80c]
push 0x51cdf4
push eax
call esi
lea ecx, [esp + 0xc]
lea edx, [esp + 0x80c]
push ecx
push edx
call esi
jmp 0x469f32
lea eax, [esp + 0xc]
lea ecx, [esp + 0x80c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [esp + 0x1010]
push 1
lea edx, [esi + 0xf]
push edx
call fcn.0046cff0
add esp, 8
push eax
push esi
push 0
push 0x43
call fcn.0046cff0
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push eax
lea eax, [esp + 0x18]
push str._s__d__s__r_n
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x80c]
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x46a059
push ebx
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x18]
push edx
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call edi
mov edx, dword [esp + 0x101c]
mov eax, dword [edx + 0x4c]
push eax
push 0
push 0x4a
call fcn.0046cff0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call ebx
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call edi
lea edx, [esp + 0x10]
push 0
push edx
push 2
push 0x51ce1c
push esi
call edi
mov eax, dword [esp + 0x101c]
mov ecx, dword [eax + 0x50]
push ecx
push 0
push 0x4b
call fcn.0046cff0
add esp, 8
lea edx, [esp + 0x18]
push eax
push str._s__lx__r_n
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call ebx
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x1004
ret
Function at 0x46a070
Capabilities:
Get common file path
Get thread local storage value
Write file on windows

Disassembly:
mov eax, 0x1004
call fcn.004ad6f0
mov eax, dword [0x5296dc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46a1c2
mov ecx, dword [eax + 0x4574]
test ecx, ecx
je 0x46a1c2
push 0x800
push 0
push 0x65
call fcn.0046cff0
add esp, 8
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 8]
push 0x3a
push edx
mov byte [esp + 0x80f], 0
call fcn.0046d140
lea ecx, [esp + 9]
cmp eax, ecx
je 0x46a12e
lea edx, [esp + 8]
push 0x51ce38
push edx
call fcn.0046d0f0
lea ecx, [esp + 8]
cmp eax, ecx
je 0x46a12e
lea edx, [esp + 0x808]
push 0x800
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov al, byte [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp al, 0x5c
je 0x46a11d
lea eax, [esp + 0x808]
push 0x51cdf4
push eax
call esi
lea ecx, [esp + 8]
lea edx, [esp + 0x808]
push ecx
push edx
call esi
jmp 0x46a141
lea eax, [esp + 8]
lea ecx, [esp + 0x808]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0x80
push 4
push 0
push 3
lea edx, [esp + 0x81c]
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x46a1c2
push ebx
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0xc]
push 0
push eax
push 2
push 0x51ce1c
push esi
call edi
mov ebx, dword [esp + 0x1014]
lea ecx, [esp + 0xc]
push 0
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push esi
call edi
lea edx, [esp + 0xc]
push 0
push edx
push 2
push 0x51ce1c
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
add esp, 0x1004
ret
Function at 0x46ac60
Capabilities:
Get common file path
Get thread local storage value
Write file on windows

Disassembly:
mov eax, 0x1004
call fcn.004ad6f0
mov eax, dword [0x5296dc]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x46adad
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46adad
cmp dword [esi + 0x20], 0xffffffff
jne 0x46ad66
push 0x800
push 0
push 0x8f
call fcn.0046cff0
add esp, 8
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 0xc]
push 0x3a
push edx
mov byte [esp + 0x813], 0
call fcn.0046d140
lea ecx, [esp + 0xd]
cmp eax, ecx
je 0x46ad2b
lea edx, [esp + 0xc]
push 0x51ce38
push edx
call fcn.0046d0f0
lea ecx, [esp + 0xc]
cmp eax, ecx
je 0x46ad2b
lea edx, [esp + 0x80c]
push 0x800
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov al, byte [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp al, 0x5c
je 0x46ad1a
lea eax, [esp + 0x80c]
push 0x51cdf4
push eax
call edi
lea ecx, [esp + 0xc]
lea edx, [esp + 0x80c]
push ecx
push edx
call edi
jmp 0x46ad3e
lea eax, [esp + 0xc]
lea ecx, [esp + 0x80c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0x80
push 4
push 0
push 3
lea edx, [esp + 0x820]
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x20], eax
je 0x46adad
mov eax, dword [esi + 0x20]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esp + 0x1010]
lea ecx, [esp + 8]
push 0
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esi + 0x20]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edx
call edi
mov ecx, dword [esi + 0x20]
lea eax, [esp + 8]
push 0
push eax
push 2
push 0x51ce1c
push ecx
call edi
pop edi
pop esi
add esp, 0x1004
ret

Function at 0x46adc0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x5296dc]
sub esp, 8
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x46adec
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x1894c], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 8]
mov dword [esp + 8], ecx
push eax
push 0x46ae40
mov dword [esp + 0x14], edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [0x52697c]
push eax
push 0x65
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test esi, esi
mov edi, eax
je 0x46ae33
mov esi, dword [esi + 0x1894c]
test esi, esi
je 0x46ae33
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, edi
pop edi
pop esi
add esp, 8
ret
Function at 0x46b230
Capabilities:
Create process on windows
Enumerate gui resources
Get thread local storage value

Disassembly:
sub esp, 0x860
mov al, byte [0x526974]
push ebp
push esi
push edi
mov byte [esp + 0x6c], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x6d]
rep stosd dword es:[edi], eax
mov ecx, dword [0x5296dc]
stosw word es:[edi], ax
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x46b354
cmp dword [esi + 0x54], ebp
jne 0x46b354
cmp dword [esi + 0x50], ebp
jne 0x46b354
push ebx
mov ebx, dword [esp + 0x874]
mov eax, ebx
lea edx, [esi + 0xa8]
neg eax
sbb eax, eax
push edx
and al, 0xf5
lea ecx, [esp + 0x74]
add eax, 0x6e
push eax
push str.dzprog32___c__u__T_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esi + 0x34], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x28], ebp
rep stosd dword es:[edi], eax
mov eax, 1
add esp, 0x10
mov word [esp + 0x5c], ax
mov dword [esp + 0x58], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x2c]
push edx
push eax
push ebp
push ebp
push 0x20
push ebp
push ebp
lea ecx, [esp + 0x8c]
push ebp
push ecx
push ebp
mov dword [esp + 0x54], 0x44
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x46b347
mov edx, dword [esp + 0x1c]
push 0x2710
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
push edx
push 0x46b1f0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x46b347
mov edi, 1
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], ebx
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x860
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x860
ret

Function at 0x46b360
Capabilities:
Check for time delay via gettickcount
Get thread local storage value

Disassembly:
mov eax, dword [0x5296dc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x46b3e1
mov eax, dword [esi + 0x30]
test eax, eax
je 0x46b3e1
push ebx
push ebp
push edi
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, dword [esi + 0x30]
mov ebp, eax
push ecx
xor edi, edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46b3cf
test edi, edi
jne 0x46b3cf
push esi
call fcn.0046b980
add esp, 4
call ebx
sub eax, ebp
cmp eax, 0x1388
jbe 0x46b3c1
mov edi, 1
mov edx, dword [esi + 0x30]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x46b3a4
xor eax, eax
pop edi
pop ebp
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], eax
pop ebx
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x46b9e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x82c
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
mov esi, dword [esp + 0x840]
push edi
mov dword [esp + 0xc], 2
mov ecx, dword [esi + 0x4578]
mov eax, 7
test ecx, ecx
je 0x46ba48
lea eax, [esi + 0xb50]
lea edi, [esi + 0x350]
push eax
push edi
call ebp
mov ecx, dword [esi + 0x457c]
mov eax, dword [esp + 0x840]
lea edx, [esi + 0x1814b]
push ecx
push edx
push edi
mov edi, dword [esp + 0x848]
push eax
push edi
push 3
push 0xf
call dword [esi + 0x4578]
jmp 0x46ba4f
mov edi, dword [esp + 0x83c]
sub eax, 2
je 0x46bbd6
sub eax, 4
je 0x46bbab
test edi, edi
jne 0x46ba73
lea ecx, [esp + 0x14]
push str..zip
push ecx
call ebp
jmp 0x46ba98
cmp edi, 0x64
push edi
jl 0x46ba85
lea edx, [esp + 0x18]
push str..zip._03d
push edx
jmp 0x46ba8f
lea eax, [esp + 0x18]
push str..zip.z_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esi + 0xb50]
push ebx
lea ecx, [esp + 0x38]
push eax
push ecx
call ebp
lea edx, [esp + 0x38]
lea edi, [esi + 0x350]
push edx
push edi
call ebp
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
lea ecx, [esp + 0x38]
push str..zip
push ecx
call fcn.0046d0f0
mov ebx, eax
test ebx, ebx
je 0x46baf4
lea ecx, [esp + 0x38]
lea edx, [esp + 0x18]
sub eax, ecx
push edx
lea edx, [eax + esi + 0x350]
push edx
call ebp
mov dword [esp + 0x14], 1
jmp 0x46bb08
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [esp + 0x14], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [esp + 0x840]
test ecx, ecx
je 0x46bb8a
cmp eax, 0xffffffff
jne 0x46bb8a
cmp ecx, 0x64
push ecx
jl 0x46bb31
lea ecx, [esp + 0x1c]
push str.._03d
push ecx
jmp 0x46bb3b
lea edx, [esp + 0x1c]
push str..z_02d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
lea eax, [esp + 0x18]
push eax
je 0x46bb63
lea ecx, [esp + 0x3c]
sub ebx, ecx
lea edx, [ebx + esi + 0x350]
push edx
call ebp
jmp 0x46bb6a
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edi
call ebx
cmp eax, 0xffffffff
jne 0x46bb8a
lea eax, [esi + 0xb50]
push eax
push edi
call ebp
push edi
call ebx
cmp eax, 0xffffffff
je 0x46bb9c
add esi, 0x14fac
push edi
push esi
mov dword [esp + 0x18], 1
call ebp
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x82c
ret
lea edi, [esi + 0x350]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x46bbd6
add esi, 0x14fac
push edi
push esi
call ebp
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x82c
ret
pop edi
pop esi
mov eax, 2
pop ebp
add esp, 0x82c
ret
Function at 0x46c630
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x5296dc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x46c64c
mov eax, 1
pop esi
pop ecx
ret
lea ecx, [esp + 4]
push esi
push ecx
mov dword [esi + 0x16818], 0
mov dword [esi + 0x16824], 0
mov dword [esi + 0x16820], 0
call fcn.0046c6c0
add esp, 8
test eax, eax
jne 0x46c6b8
mov eax, dword [esi + 0x1680c]
test eax, eax
jne 0x46c6a8
cmp dword [esi], 0
jne 0x46c6a8
mov eax, dword [esp + 4]
test eax, eax
jne 0x46c6a8
lea edx, [esp + 4]
push esi
push edx
call fcn.0046c6c0
add esp, 8
test eax, eax
je 0x46c67c
pop esi
pop ecx
ret
mov eax, dword [esi + 0x16818]
push esi
push eax
call fcn.0046c190
add esp, 8
pop esi
pop ecx
ret