joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10079cec
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10079eb1
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x10079ea3
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0x1d
jmp 0x10079d3a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xfffffffb
jg 0x10079ea1
mov dword [ebp - 0x20], 0x71af
mov dword [ebp - 0x34], 0x1000fb78
cmp dword [ebp - 0x20], 0x756b
jle 0x10079e15
and dword [ebp - 8], 0
jmp 0x10079d6e
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x6c59
jge 0x10079e15
and dword [ebp - 0xc], 0
jmp 0x10079d88
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3919
jge 0x10079e10
and dword [ebp - 0x10], 0
jmp 0x10079d9e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x5461
jge 0x10079e0b
and dword [ebp - 0x14], 0
jmp 0x10079db4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x54df
jge 0x10079e09
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0xc]
imul edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x14]
mov eax, edx
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
lea ecx, [ebp - 0x68]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x68]
call fcn.100252df
jmp 0x10079dad
jmp 0x10079d97
jmp 0x10079d81
jmp 0x10079d67
mov dword [ebp - 0x18], 0x506d4441
cmp dword [ebp - 0x20], 0x6ffe
jge 0x10079e2e
push dword [ebp - 0x34]
call fcn.1008287d
pop ecx
mov dword [ebp - 0x18], 0
jmp 0x10079e3e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x10
je 0x10079e9c
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x1c], 0xfa5fef9d
mov dword [ebp - 0x1c], 0
jmp 0x10079e77
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jg 0x10079e9a
push 0
push 0x3088
push 0x65e5
push 0x57af
push 1
call fcn.100775a8
add esp, 0x14
jmp 0x10079e70
jmp 0x10079e37
jmp 0x10079d2f
jmp 0x10079eaf
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetRegionData]
jmp 0x10079ec5
push 0
push 0x115
push 0x1089
call fcn.1004dfd1
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1007a9c6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100913e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1007ab9f
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1007ab86
push 2
lea ecx, [ebp - 0x60]
call fcn.100254f9
and dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x20], 0x6559
mov dword [ebp - 0x30], 0x1000fce0
cmp dword [ebp - 0x20], 0x6735
jle 0x1007aad8
and dword [ebp - 0x14], 0
jmp 0x1007aa4b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x7ebb
jge 0x1007aad8
and dword [ebp - 0x18], 0
jmp 0x1007aa65
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3336
jge 0x1007aad3
and dword [ebp - 0x1c], 0
jmp 0x1007aa7b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x18f
jge 0x1007aad1
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x50]
push dword [ebp - 0x54]
lea ecx, [ebp - 0x88]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x88]
call fcn.100252df
jmp 0x1007aa74
jmp 0x1007aa5e
jmp 0x1007aa44
mov dword [ebp - 0x38], 1
cmp dword [ebp - 0x20], 0x64a3
jge 0x1007aaf1
push dword [ebp - 0x30]
call fcn.1008287d
pop ecx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x715d
push 0x76b2
push 1
push 0xbd1
push 0x4a61
push 0x37b0
push 0x4bff
push 0x1ef3
push 1
call fcn.100771cd
add esp, 0x2c
mov dword [ebp - 0x10], 0
jmp 0x1007ab38
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x1007ab4b
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x70], 0xfffffff6
jmp 0x1007ab31
push 0x2c1f
lea eax, [ebp - 0x34]
push eax
push 0x33b
lea eax, [ebp - 0x38]
push eax
push 1
push 0x563
push 1
push 0x7b25
push 0x6f70
call fcn.10077cb3
add esp, 0x24
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.1002557b
jmp 0x1007ab9d
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x1007abb1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
push 1
push dword [ebp - 0x44]
call fcn.1005170f
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1007bdae
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov dword [ebp - 8], 0x752d
mov esi, ecx
cmp dword [ebp - 8], 0x7625
push edi
mov dword [ebp - 0xc], esi
jle 0x1007be18
xor edi, edi
mov ebx, edi
mov esi, 0x2ae
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x28]
mov eax, ebx
cdq
push edx
push eax
call fcn.1001147b
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1007bdf5
mov eax, dword [eax]
push eax
call fcn.1008287d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10025af4
dec ebx
dec esi
jne 0x1007bdd5
inc edi
cmp edi, 0x6dd5
jl 0x1007bdce
mov esi, dword [ebp - 0xc]
cmp byte [ebp + 0xc], 0
je 0x1007be40
mov dword [esi], 0
cmp dword [esi], 3
jge 0x1007be54
mov edx, dword [ebp + 0x18]
mov ecx, dword [esi]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x8bc0d133
inc dword [esi]
cmp dword [esi], 3
jl 0x1007be2c
jmp 0x1007be54
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x1007be54
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [ebp - 8], 0x736a
jge 0x1007be68
push 0x1000fea8
call fcn.1008287d
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1007c241
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov dword [ebp - 4], 0x223a
mov ebx, edx
cmp dword [ebp - 4], 0x237d
push esi
push edi
jle 0x1007c2a7
xor esi, esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x20]
mov eax, edi
xor eax, esi
cdq
push edx
push eax
call fcn.1001147b
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1007c282
mov eax, dword [eax]
push eax
call fcn.1008287d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.10025af4
inc edi
cmp edi, 0x1afa
jl 0x1007c260
inc esi
cmp esi, 0x1264
jl 0x1007c25e
cmp dword [ebp - 4], 0x1f05
jge 0x1007c2bb
push 0x10010058
call fcn.1008287d
pop ecx
cmp byte [ebp + 0xc], 0
je 0x1007c2e5
cmp byte [ebx], 0
je 0x1007c308
push 0x145c
push ecx
push 0x769a
mov edx, 0x141f
mov ecx, 0x4cc9
call fcn.1007d1f3
add esp, 0xc
jmp 0x1007c308
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x1007c308
mov esi, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x49c4b05e
inc dword [edx]
cmp dword [edx], 2
jl 0x1007c2f6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007cf93
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov dword [ebp - 0xc], 0x68e
cmp dword [ebp - 0xc], 0x918
push esi
push edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
jle 0x1007d01d
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [ebp - 8], ecx
add eax, ebx
sar eax, cl
cdq
mov edi, eax
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
push edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], eax
call fcn.1001147b
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1007cfe4
mov eax, dword [eax]
push eax
call fcn.1008287d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.10025af4
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, 0x2728
jl 0x1007cfbe
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x2df1
jl 0x1007cfb9
inc ebx
cmp ebx, 0x33af
jl 0x1007cfb4
cmp dword [ebp - 0xc], 0x324
jge 0x1007d031
push 0x100102f0
call fcn.1008287d
pop ecx
mov dword [ebp - 4], 0x797a
cmp dword [ebp - 4], 0x7d00
jle 0x1007d0bf
xor ebx, ebx
mov dword [ebp - 8], ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
and dword [ebp - 0x10], 0
mov eax, ebx
cdq
idiv ecx
mov ebx, dword [ebp - 0x10]
mov eax, edx
mov dword [ebp - 0x14], eax
mov ecx, ebx
shl eax, cl
cdq
mov edi, eax
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], eax
call fcn.1001147b
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1007d082
mov eax, dword [eax]
push eax
call fcn.1008287d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.10025af4
mov eax, dword [ebp - 0x14]
inc ebx
cmp ebx, 0xd9d
jl 0x1007d05c
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, 0x5c55
jl 0x1007d04b
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, 0x5be
jl 0x1007d046
cmp dword [ebp - 4], 0x78c3
jge 0x1007d0d3
push 0x10010334
call fcn.1008287d
pop ecx
cmp byte [ebp + 0x24], 0
je 0x1007d0e3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
jmp 0x1007d11b
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x28]
cmp dword [edx], 0
jne 0x1007d0fe
mov eax, dword [ecx]
mov eax, dword [ecx]
mov eax, dword [edx]
mov eax, dword [ebp + 0x1c]
cmp dword [eax], 1
jge 0x1007d0fe
mov eax, dword [edx]
mov eax, dword [edx]
mov edx, dword [edx]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x38]
mov dword [eax], edx
mov eax, dword [ecx]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp + 0x10]
setge cl
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007d342
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
mov dword [ebp - 0x14], 0x3772
mov ebx, edx
cmp dword [ebp - 0x14], 0x3ad5
push esi
push edi
mov dword [ebp - 0x18], ebx
jle 0x1007d3dc
xor edi, edi
xor esi, esi
mov dword [ebp - 0x10], esi
and dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x43ec
mov esi, dword [ebp - 0xc]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x1c], eax
mov ecx, ebx
mov eax, esi
shl eax, cl
lea ecx, [ebp - 0x40]
and eax, edi
cdq
push edx
push eax
call fcn.1001147b
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1007d39d
mov eax, dword [eax]
push eax
call fcn.1008287d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.10025af4
inc ebx
cmp ebx, 0x28e7
jl 0x1007d377
mov esi, dword [ebp - 0x10]
add dword [ebp - 0xc], esi
dec dword [ebp - 8]
jne 0x1007d372
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 0x29a1
jl 0x1007d367
inc edi
cmp edi, 0x54d
jl 0x1007d362
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x35b3
jge 0x1007d3f0
push 0x100103fc
call fcn.1008287d
pop ecx
cmp byte [ebp + 8], 0
je 0x1007d4e9
mov dword [ebp - 8], 0xfffffff7
mov dword [ebp - 8], 0
jmp 0x1007d418
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x28], 1
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x1007d40a
mov dword [ebp - 8], 0
jmp 0x1007d4dd
mov dword [ebp - 0xc], 7
mov dword [ebp - 0xc], 2
cmp dword [ebp - 0xc], 0
jl 0x1007d4da
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
je 0x1007d4d1
mov dword [ebp - 0x14], 0x310a
cmp dword [ebp - 0x14], 0x33b8
jle 0x1007d4b7
xor esi, esi
xor edi, edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x58]
lea eax, [edi + esi]
or eax, ebx
cdq
push edx
push eax
call fcn.1001147b
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1007d489
mov eax, dword [eax]
push eax
call fcn.1008287d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.10025af4
inc ebx
cmp ebx, 0x6cea
jl 0x1007d466
inc edi
cmp edi, 0x16b3
jl 0x1007d464
inc esi
cmp esi, 0x2e1a
jl 0x1007d462
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp - 0x14], 0x2dbf
jge 0x1007d4d1
push 0x10010418
call fcn.1008287d
pop ecx
dec dword [ebp - 0xc]
jns 0x1007d442
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jle 0x1007d42a
jmp 0x1007d4f0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
add dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007da88
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov byte [ebp - 4], cl
push esi
mov dword [ebp - 0xc], 0x3f77
mov esi, edx
cmp dword [ebp - 0xc], 0x42df
push edi
jle 0x1007daf4
xor edi, edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x28]
mov eax, edi
cdq
idiv ebx
mov eax, edx
cdq
push edx
push eax
call fcn.1001147b
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1007dacf
mov eax, dword [eax]
push eax
call fcn.1008287d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10025af4
inc ebx
cmp ebx, 0x7c35
jl 0x1007daaa
inc edi
cmp edi, 0x7c43
jl 0x1007daa8
cmp dword [ebp - 0xc], 0x3f02
jge 0x1007db08
push 0x10010588
call fcn.1008287d
pop ecx
cmp byte [ebp - 4], 0
je 0x1007db2f
push 0x4509
push ecx
push 1
push 0x6f17
lea edx, [ebp - 5]
mov byte [ebp - 5], 0
call fcn.1007c241
add esp, 0x10
jmp 0x1007dbbe
mov dword [ebp - 0xc], 0x1975
cmp dword [ebp - 0xc], 0x1d25
jle 0x1007db8a
xor edi, edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x40]
mov eax, ebx
xor eax, edi
cdq
push edx
push eax
call fcn.1001147b
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1007db65
mov eax, dword [eax]
push eax
call fcn.1008287d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.10025af4
inc ebx
cmp ebx, 0x2de
jl 0x1007db43
inc edi
cmp edi, 0x373d
jl 0x1007db41
cmp dword [ebp - 0xc], 0x190e
jge 0x1007db9e
push 0x100105e8
call fcn.1008287d
pop ecx
mov dword [esi], 0
cmp dword [esi], 1
jge 0x1007dbbe
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x785734cb
inc dword [esi]
cmp dword [esi], 1
jl 0x1007dbac
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10081340
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1008135b
push 0
call fcn.100814cb
pop ecx
jmp 0x100814c7
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10081489
mov dword [ebp - 0x1c], 0x7755
mov dword [ebp - 0x2c], 0x10010d98
cmp dword [ebp - 0x1c], 0x79b5
jle 0x1008142a
and dword [ebp - 0x14], 0
jmp 0x100813a9
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x427e
jge 0x1008142a
and dword [ebp - 0xc], 0
jmp 0x100813bf
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2fcb
jge 0x10081425
and dword [ebp - 0x10], 0
jmp 0x100813d5
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x5889
jge 0x10081423
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x68]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x68]
call fcn.100252df
jmp 0x100813ce
jmp 0x100813b8
jmp 0x100813a2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x1c], 0x7584
jge 0x10081442
push dword [ebp - 0x2c]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1008146a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jge 0x10081487
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x3c]
call fcn.10025597
mov dword [eax], 0xade2167
jmp 0x1008145f
jmp 0x100814c7
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x100814ab
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x12
jg 0x100814c7
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100814c5
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x100814a0
mov esp, ebp
pop ebp
ret
Function at 0x1008d3a6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10094410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10086b11
mov dword [ebp - 0x14], eax
cmp dword [0x10096258], esi
jne 0x1008d499
push 0x800
push esi
push 0x10006270
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1008d426
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1008d579
push esi
push esi
push 0x10006270
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1008d579
push 0x10006288
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008d579
push eax
call ebx
push 0x10006294
push edi
mov dword [0x10096258], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100062a4
push edi
mov dword [0x1009625c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100062b8
push edi
mov dword [0x10096260], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10096268], eax
test eax, eax
je 0x1008d496
push 0x100062d4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10096264], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1008d4be
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1008d4b1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1008d4d3
push 4
pop eax
jmp 0x1008d57b
cmp dword [ebp - 0x14], esi
je 0x1008d4d3
push dword [0x10096258]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1008d4b8
mov eax, dword [0x10096264]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1008d531
cmp dword [0x10096268], edi
je 0x1008d531
push eax
call ebx
push dword [0x10096268]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1008d531
test eax, eax
je 0x1008d531
call ecx
test eax, eax
je 0x1008d526
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1008d526
test byte [ebp - 8], 1
jne 0x1008d531
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1008d561
mov eax, dword [0x1009625c]
cmp eax, edi
je 0x1008d55e
push eax
call ebx
test eax, eax
je 0x1008d55e
call eax
mov esi, eax
test esi, esi
je 0x1008d55e
mov eax, dword [0x10096260]
cmp eax, edi
je 0x1008d55e
push eax
call ebx
test eax, eax
je 0x1008d55e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10096258]
call ebx
test eax, eax
je 0x1008d579
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1008d57b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10082e76
mov esp, ebp
pop ebp
ret
Function at 0x40bc10
Capabilities:
Terminate process

Disassembly:
push 0
call fcn.00409de0
add esp, 4
jmp 0x41b290
call fcn.004179b0
cmp eax, 1
push 0
push 0
jle 0x41b2b4
call fcn.004179e0
push eax
push str.Server_has_shut_down:__s_n
call fcn.004306b0
add esp, 8
push eax
jmp 0x41b2b9
push str.Server_has_shut_down_n
call fcn.00440db0
add esp, 0xc
call fcn.0040bbe0
mov eax, dword [0x893f84]
test eax, eax
je 0x41b2e2
push eax
call fcn.0045208d
add esp, 4
mov dword [0x893f84], 0
jmp 0x447660
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
call fcn.0040bbe0
call fcn.0041cc10
mov eax, dword [0x8c66dc]
test eax, eax
je 0x447684
push 0x8cc580
push 2
call eax
mov eax, dword [0x8c66d8]
test eax, eax
je 0x447694
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4123a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov ecx, dword [ebp + 8]
mov al, byte [ecx]
test al, al
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0xc], edi
je 0x412458
push ebx
push esi
jmp 0x4123c4
mov edi, dword [ebp + 0xc]
xor ebx, ebx
test al, al
je 0x4123e7
lea ebx, [ebx]
cmp al, 0xa
je 0x4123e4
mov byte [ebp + ebx - 0x400], al
mov al, byte [ecx + 1]
inc ebx
inc ecx
test al, al
jne 0x4123d0
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0x14]
test eax, eax
mov byte [ebp + ebx - 0x400], 0
je 0x41240a
lea edx, [ebx*8]
sub eax, edx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, edi
jmp 0x41240c
mov esi, edi
xor edi, edi
test ebx, ebx
jle 0x412439
movsx eax, byte [ebp + edi - 0x400]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
xor eax, edx
push eax
push ecx
push esi
call dword [0x8c7274]
add esp, 0xc
add esi, 8
inc edi
cmp edi, ebx
jl 0x412412
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0
je 0x412456
mov esi, dword [ebp + 0x10]
mov al, byte [ecx + 1]
inc ecx
add esi, 8
test al, al
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], esi
jne 0x4123c1
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret