joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a310
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4be5e8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x46a349
inc eax
mov dword [esi + 0x10], eax
jmp 0x46a45c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x46a35d
mov eax, 0xffffffc7
jmp 0x46a45e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x46a36e
cmp dword [esi + 8], eax
jne 0x46a35d
cmp dword [esi + 8], eax
jne 0x46a387
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x46a387
mov eax, 0xffffffc7
jmp 0x46a45e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x46a39b
push eax
mov ecx, ebx
call fcn.00469b40
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0043a0d0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x46a3cc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0043a0f0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004692b0
test eax, eax
mov dword [esp + 0x38], eax
je 0x46a3ff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c73f0
call fcn.0043a2d0
mov eax, dword [esp + 0x38]
jmp 0x46a45e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0046a170
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x46a443
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0046a190
mov esi, eax
test esi, esi
jne 0x46a473
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0046a170
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x46a415
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c73f0
call fcn.0043a2d0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c73f0
call fcn.0043a2d0
mov eax, esi
jmp 0x46a45e

Function at 0x46d5a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x46d600
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x46d600
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x46d600
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x46d600
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x46d640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x472a90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4bec18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004b544e
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00472430
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004b537c
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004b1b62
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004b1b62
push 1
push 0
push 0
mov ecx, esi
call fcn.004b1b0a
push 1
push 0
push 1
mov ecx, esi
call fcn.004b1b0a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004b54c0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x472c10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4bec38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004b544e
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00472430
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004b537c
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x472cd4
cmp dword [esp + 0x40], 1
jne 0x472cd2
cmp ecx, eax
jge 0x472cd4
mov eax, ecx
cmp eax, 0xc8
jge 0x472ce0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00472a90
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004b54c0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x473450
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4beca3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004aff7d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004b56f6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004b6c4e
test eax, eax
je 0x47356c
mov ecx, dword [esp + 0x3c]
call fcn.004b5723
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x473530
push edi
mov ecx, esi
call fcn.004b2cdd
mov ecx, esi
call fcn.004736d0
cmp dword [esp + 0x38], 1
jne 0x473565
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004b2e47
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x475fa0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x475fd3
push esi
call fcn.004790b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x475fcc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x476059
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x476042
mov eax, dword [esi + 8]
test eax, eax
je 0x475ff7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47603e
cmp eax, 2
je 0x476042
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x475fea
cmp eax, 3
je 0x47601d
cmp eax, 1
jne 0x475fea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x475fea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x475fea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00476080
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x476068
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00476080
add esp, 4
pop esi
ret
Function at 0x484670
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4846ba
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x4846e9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x48472b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x490500
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x4ed3dc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x490513
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x490554
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x4ed484]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x490586
mov bl, byte [esp + ecx + 0x4c]
jmp 0x49058a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x49057b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4905a8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4905ac
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x49059d
xor ecx, ecx
mov eax, 0x4ed3ec
xor ebx, ebx
mov bl, byte [ecx + 0x4ed494]
cmp byte [esp + ebx + 0x14], 0
je 0x4905d7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x4ed4ac]
cmp byte [esp + ebx + 0x14], 0
je 0x4905ee
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4905be
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x490547
lea edx, [esp + 0x84]
push edx
call fcn.00490630
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x492630
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x492696
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x492696
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x492677
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x492a20
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x492a58
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x493680
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4936c9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x493b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bf550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004936f0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00493770
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00493770
lea ecx, [esi + 0xc]
call fcn.004ae8e4
lea ecx, [esi + 0x10]
call fcn.004ae8e4
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00494d00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00494d00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00494d00
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004ae959
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004ae959
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b0d73
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b0dab
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004aee00
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004aedd8
jmp 0x4b0db7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b2466
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b24a8
call fcn.004b8410
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b24a8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b249f
xor eax, eax
jmp 0x4b24b0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b24b6
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b8940
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b896e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b898c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b88a6
jmp 0x4b898c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b898c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b88a6
test edi, edi
mov eax, edi
jne 0x4b8976
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10019160
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 1
cmp dword [0x1019aa88], esi
jne 0x1001918b
call fcn.100185a0
cmp eax, dword [0x1019aa84]
jle 0x100191af
cmp dword [0x1019aa90], esi
jne 0x100191f9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1019aa8c]
sub eax, dword [0x101a34bc]
imul ecx, ecx, 0xea60
cmp eax, ecx
jbe 0x100191f9
cmp dword [0xe7b5c0], esi
jne 0x100191cd
call fcn.1003a6c0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086738
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [0x101a46e8]
mov eax, dword [0x100eaf2c]
add edx, 0x52
push edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.10016860
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086738
mov esp, ebp
pop ebp
ret 0x10
push ebx
push edi
mov edi, dword [0x2f98458]
xor ebx, ebx
xor esi, esi
call fcn.10006a60
test eax, eax
je 0x10019231
add edi, 0x53c
mov eax, dword [edi]
test eax, eax
je 0x10019224
cmp dword [eax + 0x334], 1
jne 0x10019224
inc ebx
inc esi
add edi, 4
call fcn.10006a60
cmp esi, eax
jb 0x10019214
cmp ebx, dword [0x1019a9e8]
pop edi
pop ebx
mov esi, 1
jge 0x10019248
cmp dword [0x1019a9ec], esi
je 0x1001926c
cmp dword [0x1019a9f0], esi
jne 0x10019295
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1019a9f4]
sub eax, dword [0x101a34b4]
imul ecx, ecx, 0xea60
cmp eax, ecx
jb 0x10019295
cmp dword [0xe7b5c0], esi
je 0x100191b7
mov edx, dword [0x101a46e8]
mov eax, dword [0x100eaf2c]
add edx, 0x52
push edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x10097790
jmp 0x100192fc
push 0x32
lea ecx, [ebp - 0x38]
push ecx
mov ecx, 0x1019a9f8
call sub.mfc100.dll_Ordinal_6969
mov edx, 0x10097788
lea ecx, [ebp - 0x38]
lea ecx, [ecx]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100192d0
test al, al
je 0x100192cc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100192d0
add ecx, 2
add edx, 2
test al, al
jne 0x100192b0
xor eax, eax
jmp 0x100192d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001930e
cmp dword [0xe7b5c0], eax
jne 0x1001930e
mov edx, dword [0x101a46e8]
mov eax, dword [0x100eaf2c]
add edx, 0x52
push edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x1009777c
call fcn.10008080
push 0x10097774
call fcn.10019000
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10086738
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10019320
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1012d3e4]
push edi
mov edi, ecx
cmp eax, 1
je 0x10019498
cmp eax, 3
je 0x10019498
push ebx
push 1
call sub.mfc100.dll_Ordinal_13219
push 0xa
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x300]
call sub.mfc100.dll_Ordinal_6969
mov ecx, 0x100977b4
lea eax, [ebp - 0x2c]
jmp 0x10019370
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10019390
test dl, dl
je 0x1001938c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10019390
add eax, 2
add ecx, 2
test dl, dl
jne 0x10019370
xor eax, eax
jmp 0x10019395
sbb eax, eax
sbb eax, 0xffffffff
push esi
test eax, eax
jne 0x10019427
mov ecx, 0x101917c0
mov dword [0x1012d3e4], 2
call fcn.1000b100
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 0x10097788
lea ecx, [edi + 0x300]
mov dword [0x101a34b4], eax
call sub.mfc100.dll_Ordinal_12868
push 0
lea ecx, [edi + 0x264]
call sub.mfc100.dll_Ordinal_3970
call fcn.1003a6c0
call esi
push 0
push 0
push 0
push 0
mov dword [0x101a34bc], eax
call fcn.10019160
mov ecx, dword [0x101a46e8]
mov edx, dword [0x100eaf2c]
push fcn.10019160
push 0x1388
add ecx, 0x52
push ecx
push edx
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086738
mov esp, ebp
pop ebp
ret
push 0x100977b4
lea ecx, [edi + 0x300]
mov dword [0x1012d3e4], 0
call sub.mfc100.dll_Ordinal_12868
mov eax, dword [0x101a46e8]
mov ecx, dword [0x100eaf2c]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
add eax, 0x52
push eax
push ecx
call esi
mov edx, dword [0x101a46e8]
mov eax, dword [0x100eaf2c]
add edx, 0x44
push edx
push eax
call esi
push 1
lea ecx, [edi + 0x264]
call sub.mfc100.dll_Ordinal_3970
call fcn.1003a6c0
pop esi
pop ebx
mov dword [0x1011d17c], 0
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086738
mov esp, ebp
pop ebp
ret
push 8
push 0x1009779c
call fcn.1003ae80
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
call fcn.10086738
mov esp, ebp
pop ebp
ret
Function at 0x1001bb00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d63c
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x100ae8c8]
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
push 0x1f4
mov esi, ecx
call sub.mfc100.dll_Ordinal_265
push 0x1011c4d0
mov edi, eax
push str._sCollect__
push edi
mov dword [ebp - 0x15c], edi
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [esi + 0x3e8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10
push 0
push 0
push 0x14b
push eax
call ebx
push edi
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0x10097d18
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x158]
push edx
mov dword [ebp - 4], 0
call fcn.1001a710
add esp, 0xc
lea ecx, [ebp - 0x150]
push ecx
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x158]
mov edi, eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea eax, [ebp - 0x124]
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001bbd0
sub eax, ecx
mov byte [ebp + eax - 0x128], dl
mov eax, dword [esi + 0x3e8]
lea edx, [ebp - 0x124]
push edx
push 0
push 0x143
push eax
call ebx
lea ecx, [ebp - 0x150]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1001bc59
lea esp, [esp]
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001bc20
sub eax, edx
lea edx, [ebp - 0x124]
push edx
push 0
mov byte [ebp + eax - 0x128], cl
mov eax, dword [esi + 0x3e8]
push 0x143
push eax
call ebx
lea ecx, [ebp - 0x150]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001bc10
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x15c]
push edx
call sub.mfc100.dll_Ordinal_1296
add esp, 4
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_901]
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.10086738
mov esp, ebp
pop ebp
ret