joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003c30e
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x2feacec], 0
je 0x1003c41c
push ebx
mov ebx, 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1019a27c], ebx
jne 0x1003c236
call edi
sub eax, dword [0x1011cd7c]
cmp eax, 0x7530
jbe 0x1003c236
call fcn.1003c010
cmp dword [0x10199550], ebx
jne 0x1003c274
cmp dword [0x1012d3e4], ebx
jne 0x1003c274
mov eax, dword [0x2feacec]
cmp dword [eax + 0x2640], 0
jne 0x1003c261
cmp dword [0x1011cd68], 2
jne 0x1003c274
push 3
jmp 0x1003c26c
cmp dword [0x1011cd68], 2
je 0x1003c274
push 4
call fcn.1003ba30
add esp, 4
cmp dword [0x10192e88], ebx
jne case.default.0x1003c2ec
call edi
sub eax, dword [0x1012d210]
cmp eax, 0xbb8
jb case.default.0x1003c2ec
call edi
sub eax, dword [0x1012d238]
cmp eax, 0x7d0
jb case.default.0x1003c2ec
mov eax, dword [0x10191a04]
cmp eax, ebx
jne 0x1003c2c9
cmp dword [0x1011cd68], 2
jne case.default.0x1003c2ec
mov ecx, dword [0x2feacec]
cmp dword [ecx + 0x298c], 0
je 0x1003c2db
jmp case.default.0x1003c2ec
test eax, eax
jne case.default.0x1003c2ec
mov edx, dword [0x2feacec]
cmp dword [edx + 0x298c], eax
jne case.default.0x1003c2ec
call edi
mov dword [0x1012d210], eax
mov eax, dword [0x10192fcc]
cmp eax, 4
ja case.default.0x1003c2ec
jmp dword [eax*4 + 0x1003c420]
push 0
push 0x92c0d
jmp 0x1003c31e
push 0
push 0x92c0e
jmp 0x1003c31e
push 0
push 0x92c0f
jmp 0x1003c31e
push 0
push 0xf468d
jmp 0x1003c31e
push 0
push 0xf468e
call fcn.1003a1e0
add esp, 8
mov eax, dword [0x2feacec]
cmp dword [eax + 0x298c], 0
jle 0x1003c3fd
push 0x1009e680
call fcn.10006d70
add esp, 4
test eax, eax
jne 0x1003c3fd
push 0x1009e678
call fcn.10006d70
add esp, 4
test eax, eax
jne 0x1003c3fd
push 0x1009e698
call fcn.10006d70
add esp, 4
test eax, eax
jne 0x1003c3fd
push 0x1009e688
call fcn.10006d70
add esp, 4
test eax, eax
jne 0x1003c3fd
push 0x1009e668
call fcn.10006d70
add esp, 4
test eax, eax
jne 0x1003c3fd
cmp dword [0x1012d3e4], ebx
jne 0x1003c3fd
cmp dword [0x3505b88], eax
jle 0x1003c3fd
call edi
sub eax, dword [0x101b8990]
cmp eax, 0x4e20
jb 0x1003c404
mov ecx, dword [0x2feacec]
mov eax, dword [ecx + 0x298c]
push 0
cmp eax, 6
jne 0x1003c3da
push 0xf468e
call fcn.1003a1e0
add esp, 8
jmp 0x1003c404
cmp eax, 7
jne 0x1003c3ee
push 0xf468d
call fcn.1003a1e0
add esp, 8
jmp 0x1003c404
push 0x92c0d
call fcn.1003a1e0
add esp, 8
jmp 0x1003c404
call edi
mov dword [0x101b8990], eax
cmp dword [0x10199428], ebx
pop edi
pop ebx
jne 0x1003c41c
cmp dword [0x350d6c0], 0
jne 0x1003c41c
jmp fcn.1003a3d0
ret
Function at 0x1003c317
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x2feacec], 0
je 0x1003c41c
push ebx
mov ebx, 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1019a27c], ebx
jne 0x1003c236
call edi
sub eax, dword [0x1011cd7c]
cmp eax, 0x7530
jbe 0x1003c236
call fcn.1003c010
cmp dword [0x10199550], ebx
jne 0x1003c274
cmp dword [0x1012d3e4], ebx
jne 0x1003c274
mov eax, dword [0x2feacec]
cmp dword [eax + 0x2640], 0
jne 0x1003c261
cmp dword [0x1011cd68], 2
jne 0x1003c274
push 3
jmp 0x1003c26c
cmp dword [0x1011cd68], 2
je 0x1003c274
push 4
call fcn.1003ba30
add esp, 4
cmp dword [0x10192e88], ebx
jne case.default.0x1003c2ec
call edi
sub eax, dword [0x1012d210]
cmp eax, 0xbb8
jb case.default.0x1003c2ec
call edi
sub eax, dword [0x1012d238]
cmp eax, 0x7d0
jb case.default.0x1003c2ec
mov eax, dword [0x10191a04]
cmp eax, ebx
jne 0x1003c2c9
cmp dword [0x1011cd68], 2
jne case.default.0x1003c2ec
mov ecx, dword [0x2feacec]
cmp dword [ecx + 0x298c], 0
je 0x1003c2db
jmp case.default.0x1003c2ec
test eax, eax
jne case.default.0x1003c2ec
mov edx, dword [0x2feacec]
cmp dword [edx + 0x298c], eax
jne case.default.0x1003c2ec
call edi
mov dword [0x1012d210], eax
mov eax, dword [0x10192fcc]
cmp eax, 4
ja case.default.0x1003c2ec
jmp dword [eax*4 + 0x1003c420]
push 0
push 0x92c0d
jmp 0x1003c31e
push 0
push 0x92c0e
jmp 0x1003c31e
push 0
push 0x92c0f
jmp 0x1003c31e
push 0
push 0xf468d
jmp 0x1003c31e
push 0
push 0xf468e
call fcn.1003a1e0
add esp, 8
mov eax, dword [0x2feacec]
cmp dword [eax + 0x298c], 0
jle 0x1003c3fd
push 0x1009e680
call fcn.10006d70
add esp, 4
test eax, eax
jne 0x1003c3fd
push 0x1009e678
call fcn.10006d70
add esp, 4
test eax, eax
jne 0x1003c3fd
push 0x1009e698
call fcn.10006d70
add esp, 4
test eax, eax
jne 0x1003c3fd
push 0x1009e688
call fcn.10006d70
add esp, 4
test eax, eax
jne 0x1003c3fd
push 0x1009e668
call fcn.10006d70
add esp, 4
test eax, eax
jne 0x1003c3fd
cmp dword [0x1012d3e4], ebx
jne 0x1003c3fd
cmp dword [0x3505b88], eax
jle 0x1003c3fd
call edi
sub eax, dword [0x101b8990]
cmp eax, 0x4e20
jb 0x1003c404
mov ecx, dword [0x2feacec]
mov eax, dword [ecx + 0x298c]
push 0
cmp eax, 6
jne 0x1003c3da
push 0xf468e
call fcn.1003a1e0
add esp, 8
jmp 0x1003c404
cmp eax, 7
jne 0x1003c3ee
push 0xf468d
call fcn.1003a1e0
add esp, 8
jmp 0x1003c404
push 0x92c0d
call fcn.1003a1e0
add esp, 8
jmp 0x1003c404
call edi
mov dword [0x101b8990], eax
cmp dword [0x10199428], ebx
pop edi
pop ebx
jne 0x1003c41c
cmp dword [0x350d6c0], 0
jne 0x1003c41c
jmp fcn.1003a3d0
ret
Function at 0x1003c630
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, 1
cmp dword [0x101961a8], ebx
jne 0x1003c66b
mov eax, dword [0x1012d384]
cmp eax, dword [0x101961b4]
jl 0x1003c66b
push 0x1009e774
call fcn.10008110
add esp, 4
mov dword [0x1011d17c], 0
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x101961ac], ebx
jne 0x1003c692
mov eax, dword [0x101961b8]
cdq
cmp dword [0x1012d2a4], edx
jl 0x1003c692
jg 0x1003c68b
cmp dword [0x1012d2a0], eax
jb 0x1003c692
push 0x1009e750
jmp 0x1003c654
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x101961a4], ebx
jne 0x1003c6f8
mov eax, dword [0xea7b80]
cmp dword [eax + 0x30], 0xffffffff
je 0x1003c6bb
cmp byte [0x1012d410], bl
jne 0x1003c6d2
push 0x1009e744
call fcn.10008110
mov ecx, dword [0x100fe7b4]
add esp, 4
push ebx
push ecx
call esi
call edi
sub eax, dword [0x1012d22c]
cmp eax, 0x1d4c0
jb 0x1003c6f8
push 0x1009e744
call fcn.10008110
mov edx, dword [0x100fe7b4]
add esp, 4
push ebx
push edx
call esi
cmp dword [0x101961a0], ebx
jne 0x1003c771
cmp byte [0x1012d3ff], bl
jne 0x1003c71d
mov byte [0x1012d3ff], 0
call edi
pop edi
pop esi
mov dword [0x1011d204], eax
pop ebx
mov esp, ebp
pop ebp
ret
call edi
mov ecx, eax
sub ecx, dword [0x1011d204]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov eax, 0x88888889
mul edx
shr edx, 5
mov dword [ebp - 4], edx
fild dword [ebp - 4]
test edx, edx
jns 0x1003c74b
fadd dword [0x1009e740]
fild dword [0x101961b0]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1003c771
push 0x1009e744
call fcn.10008110
mov edx, dword [0x100fe7b4]
add esp, 4
push ebx
push edx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003f640
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1012d417], 0
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
jne 0x1003f816
push ebx
push eax
push 0xbb8
push esi
push 0x10092e4c
push str.qhlb
mov byte [0x1011b6a8], 0
push str.config
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, dword [sym.imp.MSVCR100.dll_strtok]
push 0x1009e968
push esi
call ebx
mov esi, eax
add esp, 8
mov dword [ebp - 0x198], esi
test esi, esi
je 0x1003f815
push edi
jmp 0x1003f6b8
mov esi, dword [ebp - 0x198]
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003f6c0
sub eax, edx
push 0x1009e9c8
push esi
mov dword [ebp - 0x19c], eax
xor edi, edi
call ebx
add esp, 8
test eax, eax
je 0x1003f7f1
lea esi, [ebp - 0x194]
lea ebx, [ebx]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1003f6f4
push 0x1009e9c8
push 0
inc edi
add esi, 0x32
call ebx
add esp, 8
test eax, eax
jne 0x1003f6f0
cmp edi, 8
jne 0x1003f7eb
movzx edx, byte [0x1011b6a8]
lea ecx, [ebp - 0x194]
lea edx, [edx*4 + 0x1011aed8]
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x1003f730
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x162]
push eax
call esi
movzx ecx, byte [0x1011b6a8]
lea edx, [ebp - 0x130]
push edx
mov byte [ecx + 0x1011b658], al
call esi
movzx ecx, byte [0x1011b6a8]
lea edx, [ebp - 0xfe]
push edx
mov byte [ecx + 0x1011afa0], al
call esi
movzx ecx, byte [0x1011b6a8]
lea edx, [ebp - 0xcc]
push edx
mov byte [ecx + 0x1011af78], al
call esi
movzx ecx, byte [0x1011b6a8]
lea edx, [ebp - 0x9a]
push edx
mov byte [ecx + 0x1011aff0], al
call esi
movzx ecx, byte [0x1011b6a8]
mov byte [ecx + 0x1011afc8], al
movzx eax, byte [0x1011b6a8]
lea edx, [eax + eax*4]
add esp, 0x14
lea ecx, [ebp - 0x68]
lea edx, [edx*4 + 0x1011b018]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x1003f7c5
lea edx, [ebp - 0x36]
push edx
call esi
movzx ecx, byte [0x1011b6a8]
add esp, 4
mov byte [ecx + 0x1011b680], al
inc byte [0x1011b6a8]
mov esi, dword [ebp - 0x198]
mov edx, dword [ebp - 0x19c]
lea eax, [edx + esi + 1]
push 0x1009e968
push eax
call ebx
add esp, 8
mov dword [ebp - 0x198], eax
test eax, eax
jne 0x1003f6b2
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10086786
mov esp, ebp
pop ebp
ret
Function at 0x1003f830
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, 0x1019fdd4
call fcn.10001040
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0xbb8
push esi
push 0x10092e4c
push str.ZYWP
push str.config
mov byte [esi], 0
call ebx
push 0x1009e968
push esi
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
call esi
add esp, 8
test eax, eax
je 0x1003f8bb
lea esp, [esp]
push eax
mov ecx, 0x1019fdd4
call fcn.10001150
push 0x1009e968
push 0
call esi
add esp, 8
test eax, eax
jne 0x1003f8a0
push edi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b88
push str.D38CHECK1
push str.config
call ebx
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
lea edx, [ebp - 0x68]
push edx
call esi
add esp, 4
push edi
push 0x64
mov dword [0x1019cd08], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b88
push str.D38CHECK3
push str.config
call ebx
lea ecx, [ebp - 0x68]
push ecx
call esi
add esp, 4
push edi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b88
push str.D38EDIT2
push str.config
mov dword [0x1019cd0c], eax
call ebx
lea eax, [ebp - 0x68]
push eax
call esi
add esp, 4
push edi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b88
push str.D38EDIT3
push str.config
mov dword [0x1019cd04], eax
call ebx
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.MSVCR100.dll__atoi64]
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
mov dword [0x1019cd10], eax
mov dword [0x1019cd14], edx
pop ebx
call fcn.10086786
mov esp, ebp
pop ebp
ret
Function at 0x1003fc50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b88
push str.D7CHECK1
push str.config
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x101956bc], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b88
push str.D7CHECK2
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b88
push str.D7CHECK3
push str.config
mov dword [0x101956c0], eax
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b88
push str.D7CHECK4
push str.config
mov dword [0x101956c4], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x101956d0], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b88
push str.D7CHECK5
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
mov dword [0x101956dc], eax
push edx
push 0x10094b88
push str.D7CHECK6
push str.config
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b88
push str.D7EDIT1
push str.config
mov dword [0x1019588c], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x101956c8], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b88
push str.D7EDIT2
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b88
push str.D7EDIT3
push str.config
mov dword [0x101956cc], eax
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b88
push str.D7EDIT4
push str.config
mov dword [0x101956d4], eax
call edi
lea edx, [ebp - 0x68]
push edx
mov ecx, 0x101956e0
call sub.mfc100.dll_Ordinal_12868
push esi
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x10094b88
push str.D7COMBO1
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b88
push str.D7COMBO2
push str.config
mov dword [0x101956d8], eax
call edi
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x10195890
call sub.mfc100.dll_Ordinal_12868
push 0
mov ecx, 0x10195628
call sub.mfc100.dll_Ordinal_13219
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10086786
mov esp, ebp
pop ebp
ret
Function at 0x1003fe70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b88
push str.D13CHECK1
push str.config
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10199550], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b88
push str.D13CHECK3
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b88
push str.D13CHECK4
push str.config
mov dword [0x10199424], eax
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b88
push str.D13COMBO3
push str.config
mov dword [0x10199428], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push 0
mov ecx, 0x10199390
mov dword [0x1019954c], eax
call sub.mfc100.dll_Ordinal_13219
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10086786
mov esp, ebp
pop ebp
ret
Function at 0x10046130
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1006ef40
push 0x32
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x10194088
call sub.mfc100.dll_Ordinal_6969
push 0x32
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, 0x10194134
call sub.mfc100.dll_Ordinal_6969
lea edx, [ebp - 0x38]
push edx
push 0x1009edd0
push 0x1012d4d8
call dword [sym.imp.MSVCR100.dll_sprintf]
mov edi, 1
add esp, 0xc
cmp dword [0x101971b0], edi
jne 0x10046197
lea eax, [ebp - 0x38]
push eax
jmp 0x10046290
push 0x1012d4d8
call fcn.10006cf0
add esp, 4
test eax, eax
je 0x100461b8
push edi
push 0x1012d4d8
call fcn.10006a70
jmp 0x1004629b
mov ecx, 0x1009edc8
lea eax, [ebp - 0x6c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100461e0
test dl, dl
je 0x100461dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100461e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100461c0
xor eax, eax
jmp 0x100461e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1004627a
mov esi, dword [0x2fcc3b0]
push ebx
xor ebx, ebx
xor edi, edi
call fcn.10006a40
test eax, eax
je 0x1004624f
add esi, 0x53c
mov eax, dword [esi]
test eax, eax
je 0x1004623e
lea ecx, [eax + 0x64]
mov eax, 0x1009d684
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10046235
test dl, dl
je 0x10046231
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10046235
add eax, 2
add ecx, 2
test dl, dl
jne 0x10046215
xor eax, eax
jmp 0x1004623a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1004624d
inc edi
add esi, 4
call fcn.10006a40
cmp edi, eax
jb 0x10046207
jmp 0x1004624f
mov ebx, edi
mov ecx, dword [0x10194154]
push ebx
push 0
push 0
push 0x147
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
add eax, 9
push eax
call fcn.10039b50
add esp, 8
mov edi, 1
pop ebx
jmp 0x1004629e
push edi
push 0x100943ec
call fcn.10006a70
add esp, 8
test al, al
jne 0x1004629e
lea edx, [ebp - 0x38]
push edx
call fcn.10007980
push eax
call fcn.1003b0b0
add esp, 8
cmp dword [0x10190e2c], edi
jne 0x10046333
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x110], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, 2
cmp dword [ebp - 0x100], esi
jne 0x10046329
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x114]
push ecx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [ebp - 0x11c]
push edx
push str.SeShutdownPrivilege
push 0
mov dword [ebp - 0x7c], edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
push 0
push 0
push 0
lea edx, [ebp - 0x7c]
push edx
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 8
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10086786
mov esp, ebp
pop ebp
ret
Function at 0x10047630
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101b8cdc]
cmp eax, 0x64
ja 0x10047668
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086786
mov esp, ebp
pop ebp
ret
push ebx
push edi
call esi
mov dword [0x101b8cdc], eax
xor eax, eax
mov ecx, 0x46
mov edi, 0x101a4968
rep stosd dword es:[edi], eax
mov eax, dword [0x2fcc3b4]
xor edi, edi
mov byte [ebp - 0x25d], 0
lea ebx, [eax + 0x53c]
mov dword [ebp - 0x264], edi
lea esp, [esp]
cmp dword [edi*4 + 0x1011cd30], 1
jne 0x1004780d
mov al, byte [ebp + 8]
cmp al, 1
jne 0x1004774b
mov esi, dword [ebx]
push 0xc8
lea eax, [ebp - 0x194]
push 0
push eax
call sub.MSVCR100.dll_memset
push 0x64
lea ecx, [ebp - 0x68]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0x18
test esi, esi
jle 0x10047709
lea edx, [ebp - 0x68]
push edx
push esi
call fcn.1000d160
lea eax, [ebp - 0x68]
push eax
add esi, 0x64
push esi
lea ecx, [ebp - 0x194]
push 0x10095644
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
mov esi, dword [ebp - 0x264]
lea esi, [esi + 0x1011bcf8]
mov ecx, esi
lea eax, [ebp - 0x194]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100477e0
test dl, dl
je 0x10047744
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100477e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047720
xor eax, eax
jmp 0x100477e5
test al, al
jne 0x1004780d
mov esi, dword [ebx]
push 0xc8
lea edx, [ebp - 0x25c]
push 0
push edx
call sub.MSVCR100.dll_memset
push 0x64
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x18
test esi, esi
jle 0x100477ac
lea ecx, [ebp - 0xcc]
push ecx
push esi
call fcn.1000d160
lea edx, [ebp - 0xcc]
push edx
add esi, 0x64
push esi
lea eax, [ebp - 0x25c]
push 0x10095644
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
mov esi, dword [ebp - 0x264]
lea esi, [esi + 0x1011b780]
mov ecx, esi
lea eax, [ebp - 0x25c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100477e0
test dl, dl
je 0x100477dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100477e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100477c0
xor eax, eax
jmp 0x100477e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1004780d
push esi
call fcn.10047550
add esp, 4
test eax, eax
js 0x1004780d
push 1
push 1
push 0
push edi
push eax
call fcn.1003a110
mov byte [ebp - 0x25d], 1
add esp, 0x14
add dword [ebp - 0x264], 0x64
inc edi
add ebx, 4
cmp edi, 0xe
jl 0x100476a0
cmp byte [ebp - 0x25d], 1
mov ecx, dword [ebp - 4]
pop edi
sete al
pop ebx
xor ecx, ebp
pop esi
call fcn.10086786
mov esp, ebp
pop ebp
ret
Function at 0x10047840
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1b0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x100478a9
mov eax, dword [ebp - 0x1b0]
cmp al, 1
jne 0x100479ec
shr eax, 8
cmp al, 1
jne 0x100479ec
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x100478bc
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086786
mov esp, ebp
pop ebp
ret
push edi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx]
mov edx, dword [ebp + 0xc]
mov ecx, 2
push edx
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x20], cx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
push 0x10
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10047920
lea eax, [ebx + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047904
sub eax, edx
push 0
add eax, 4
push eax
push ebx
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10047941
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086786
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1b4]
cmp eax, 0x3a980
jb 0x10047983
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
mov eax, 0x14
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086786
mov esp, ebp
pop ebp
ret
push 0
push 0xa
lea ecx, [ebp - 0x10]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, 0x1009ca80
lea eax, [ebp - 0x10]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100479c0
test dl, dl
je 0x100479bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100479c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100479a0
xor eax, eax
jmp 0x100479c5
sbb eax, eax
sbb eax, 0xffffffff
push edi
test eax, eax
jne 0x10047961
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086786
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 0xfffffffe
pop ebx
call fcn.10086786
mov esp, ebp
pop ebp
ret