joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002931d
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10069410]
xor eax, esp
mov dword [esp + 0x18], eax
cmp dword [0x1006ef44], 5
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
jl 0x1002934c
push str.InitWebServer:_configuring_listening_port
call fcn.1001fbc0
pop ecx
xor ebx, ebx
mov edx, str.AccessKey
push ebx
mov ecx, str.Remote
call fcn.10021906
pop ecx
test eax, eax
je 0x100293e2
push 1
mov edx, str.AllowBasicAuth
mov ecx, str.Remote
call fcn.10021906
mov dword [esp], 0x100
mov edx, str.AccessKeySet
push 0x10070360
mov ecx, str.Remote
mov dword [0x1006a74c], eax
call fcn.10021a06
push 0x100
push 0x10070468
mov edx, str.AccessKeySetSnare1
mov ecx, str.Remote
call fcn.10021a06
push 0x100
push 0x100700e0
mov edx, str.AccessKeySetSnare2
mov ecx, str.Remote
call fcn.10021a06
push 0x100
push 0x10070220
mov edx, str.AccessKeySetSnare3
mov ecx, str.Remote
call fcn.10021a06
add esp, 0x20
mov dword [0x10070460], ebx
test esi, esi
je 0x10029437
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100293f1
sub ecx, edx
je 0x10029437
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 0xffffffffffffffff
test eax, eax
je 0x10029419
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
jmp 0x1002941a
push esi
imul eax, dword [0x10070460], 0x11
push 0x11
add eax, 0x1006f638
push eax
call fcn.10001f89
add esp, 0x10
inc dword [0x10070460]
push 2
pop esi
push edi
mov word [esp + 0x18], si
mov dword [esp + 0x1c], ebx
call dword [sym.imp.WS2_32.dll_htons]
push ebx
push 1
push esi
mov word [esp + 0x22], ax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x1006a744], eax
cmp eax, 0xffffffff
jne 0x1002947f
cmp dword [0x1006ef44], 5
jl 0x10029477
push str.bind___failed:_INVALID_SOCKET
call fcn.1001fbc0
pop ecx
or eax, 0xffffffff
jmp 0x1002954e
push 1
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], bl
push ecx
push 0xffffff7f
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x100294b3
cmp dword [0x1006ef44], 5
jl 0x100294b3
push str.setsockopt_DONTLINGER__failed:_SOCKET_ERROR
call fcn.1001fbc0
pop ecx
mov esi, dword [sym.imp.WS2_32.dll_bind]
lea eax, [esp + 0x14]
push 0x10
push eax
push dword [0x1006a744]
call esi
cmp eax, 0xffffffff
jne 0x1002950a
cmp dword [0x1006ef44], 5
jl 0x100294e1
push str.bind___failed:_SOCKET_ERROR
call fcn.1001fbc0
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100294ef
cmp ebx, 4
je 0x10029534
inc ebx
push 0x3e8
call edi
push 0x10
lea eax, [esp + 0x18]
push eax
push dword [0x1006a744]
call esi
cmp eax, 0xffffffff
je 0x100294e9
push 5
push dword [0x1006a744]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x1002954b
cmp dword [0x1006ef44], 5
jl 0x10029477
push str.listen___failed:_SOCKET_ERROR
jmp 0x10029471
cmp dword [0x1006ef44], 5
jl 0x10029477
push str.bind___failed__unable_to_initialise_web_server
jmp 0x10029471
xor eax, eax
inc eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000adad
mov esp, ebp
pop ebp
ret
Function at 0x10029c23
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
push edi
push 0
push 0x10029c7b
call fcn.10005b82
mov edx, dword [0x1006ef44]
add esp, 0xc
mov esi, eax
cmp edx, 5
jl 0x10029c5a
push edi
push esi
push str.DEBUG:_Starting_thread__d.._event_is__d
call fcn.1001fbc0
mov edx, dword [0x1006ef44]
add esp, 0xc
cmp esi, 0xffffffff
jne 0x10029c74
cmp edx, 5
jl 0x10029c6f
push str.Error_in_HTTPD_thread_creation
call fcn.1001fbc0
pop ecx
or eax, 0xffffffff
jmp 0x10029c77
xor eax, eax
inc eax
pop edi
pop esi
pop ecx
ret

Function at 0x1002a948
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
test esi, esi
jle 0x1002a9cf
add edx, 2
movzx eax, byte [edx - 2]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi], al
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
dec esi
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 1], al
test esi, esi
jle 0x1002a9a6
movzx ecx, byte [edx - 1]
movzx eax, byte [edx]
and ecx, 0xf
shr eax, 6
shl ecx, 2
or ecx, eax
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x1002a9a8
mov al, 0x3d
dec esi
mov byte [edi + 2], al
test esi, esi
jle 0x1002a9be
movzx eax, byte [edx]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x1002a9c0
mov al, 0x3d
mov byte [edi + 3], al
dec esi
add edx, 3
add edi, 4
inc ebx
test esi, esi
jg 0x1002a95c
mov byte [edi], 0
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1002a9d9
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, edx
mov dword [ebp - 0xc], ecx
push edi
mov edi, ecx
mov dword [ebp - 4], eax
mov ecx, eax
xor ebx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a9f3
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.10011a53
mov dword [ebp - 8], eax
mov esi, eax
pop ecx
test eax, eax
jne 0x1002aa16
mov byte [edi], bl
jmp 0x1002ab03
mov edx, dword [ebp - 4]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002aa21
sub ecx, dword [ebp - 4]
push 0xffffffffffffffff
push edx
lea eax, [ecx + 1]
push eax
push dword [ebp - 8]
call fcn.10001f89
mov ecx, dword [ebp - 8]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002aa43
sub ecx, edx
test ecx, ecx
jle 0x1002aaf5
lea edx, [ecx - 1]
shr edx, 2
inc edx
xor edi, edi
xor ecx, ecx
mov al, byte [ecx + esi]
cmp al, 0x3d
jne 0x1002aa69
inc edi
jmp 0x1002aa92
cmp al, 0x2b
jne 0x1002aa73
mov byte [ecx + esi], 0x3e
jmp 0x1002aa92
cmp al, 0x2f
jne 0x1002aa7d
mov byte [ecx + esi], 0x3f
jmp 0x1002aa92
cmp al, 0x39
jg 0x1002aa85
add al, 4
jmp 0x1002aa8f
cmp al, 0x5a
jg 0x1002aa8d
sub al, 0x41
jmp 0x1002aa8f
sub al, 0x47
mov byte [ecx + esi], al
inc ecx
cmp ecx, 4
jl 0x1002aa5f
mov cl, byte [esi]
mov al, byte [esi + 1]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
shl cl, 2
sar al, 4
or cl, al
inc ebx
cmp dword [ebp - 4], 2
mov byte [edi], cl
jge 0x1002aae1
mov cl, byte [esi + 2]
mov al, byte [esi + 1]
sar cl, 2
shl al, 4
or cl, al
inc ebx
cmp dword [ebp - 4], 1
mov byte [edi + 1], cl
jge 0x1002aadb
mov al, byte [esi + 2]
shl al, 6
or al, byte [esi + 3]
inc ebx
mov byte [edi + 2], al
jmp 0x1002aae5
mov byte [edi + 2], 0
jmp 0x1002aae5
mov byte [edi + 1], 0
add edi, 3
add esi, 4
mov dword [ebp - 0xc], edi
dec edx
jne 0x1002aa5b
push dword [ebp - 8]
mov byte [edi], 0
call fcn.100130ba
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002ab66
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x2c
mov eax, 0x100489d1
call fcn.10001cb0
mov esi, ecx
mov ecx, dword [esi + 0x3c]
mov edx, 0x10b
movzx eax, word [ecx + esi + 0x18]
cmp ax, dx
je 0x1002ab93
mov ecx, 0x20b
xor eax, eax
call fcn.10013394
ret
mov ecx, dword [ecx + esi + 0x78]
mov edx, esi
call fcn.1002ab0a
mov edx, esi
lea edi, [esi + eax]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x30], edi
call fcn.1002ab0a
mov ecx, dword [edi + 0x24]
mov edx, esi
lea ebx, [esi + eax]
mov dword [ebp - 0x34], ebx
call fcn.1002ab0a
lea edi, [esi + eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x18]
jmp 0x1002ac23
mov ecx, dword [ebx]
dec eax
mov edx, esi
mov dword [ebp - 0x38], eax
call fcn.1002ab0a
mov edx, str.TEOg9hOEDD
lea ecx, [ebp - 0x2c]
lea ebx, [esi + eax]
call fcn.1000ad15
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x1002abf2
mov eax, dword [eax]
push eax
push ebx
call fcn.1002cf70
test eax, eax
pop ecx
pop ecx
setne bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.100107d6
test bl, bl
jne 0x1002ac2c
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
add ebx, 4
mov dword [ebp - 0x34], ebx
add edi, 2
test eax, eax
jne 0x1002abc9
jmp 0x1002ab8b
mov eax, dword [ebp - 0x30]
mov edx, esi
mov ecx, dword [eax + 0x1c]
call fcn.1002ab0a
movzx ecx, word [edi]
add eax, esi
mov edx, esi
mov ecx, dword [eax + ecx*4]
call fcn.1002ab0a
jmp 0x1002ab8d
Function at 0x1002ac4d
Capabilities:
Resolve function by hash

Disassembly:
push 0x20
push 0x100650c8
call fcn.1002d9d0
mov eax, edx
mov dword [ebp - 0x28], eax
mov edi, ecx
xor esi, esi
and dword [ebp - 0x30], esi
and dword [ebp - 4], esi
test edi, edi
je 0x1002ada9
test eax, eax
je 0x1002ada9
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1002ada9
mov ecx, eax
call fcn.1002ab66
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1002ada9
mov edx, 0x6e1a959c
mov ecx, 0x6a4abc5b
call fcn.1002af35
test eax, eax
je 0x1002ada9
push 0x40
push 0x3000
push ebx
push esi
push edi
call eax
mov dword [ebp + 8], eax
test eax, eax
je 0x1002ada9
mov edx, 0xd83d6aa1
mov ecx, 0x6a4abc5b
call fcn.1002af35
test eax, eax
je 0x1002ada9
push esi
push ebx
push dword [ebp - 0x28]
mov ebx, dword [ebp + 8]
push ebx
push edi
call eax
test eax, eax
je 0x1002ada9
cmp dword [0x10070578], esi
je 0x1002ad32
mov dword [ebp + 8], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov edx, 0x442f2041
mov ecx, 0x3cfa685d
call fcn.1002af35
test eax, eax
je 0x1002ad5e
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 8]
push ecx
push esi
mov ecx, dword [ebp - 0x24]
add ecx, ebx
push ecx
push esi
push esi
push esi
push esi
push esi
push edi
call eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x1002ad5e
jmp 0x1002ada4
mov edx, 0x72bd9cdd
mov ecx, 0x6a4abc5b
call fcn.1002af35
test eax, eax
je 0x1002ad61
lea ecx, [ebp - 0x30]
push ecx
xor esi, esi
push esi
push esi
mov ecx, dword [ebp - 0x24]
add ecx, ebx
push ecx
push 0x100000
push esi
push edi
call eax
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x1002ada9
mov edx, 0xce05d9ad
mov ecx, 0x6a4abc5b
call fcn.1002af35
test eax, eax
je 0x1002ad7d
push 0xffffffffffffffff
push esi
call eax
mov edx, 0xc3b4eb78
mov ecx, 0x6a4abc5b
call fcn.1002af35
test eax, eax
je 0x1002ada9
push 0x8000
push 0
push ebx
push edi
call eax
jmp 0x1002ada9
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.1002da15
ret 8

Function at 0x1002adba
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ecx + 0x14]
push ebx
push esi
mov ebx, edx
lea esi, [ecx + 0x18]
movzx edx, word [ecx + 6]
add esi, eax
push edi
xor edi, edi
test edx, edx
je 0x1002adef
mov ecx, dword [esi + 0xc]
cmp dword [ebp + 8], ecx
jb 0x1002ade7
mov eax, dword [esi + 0x10]
add eax, ecx
cmp dword [ebp + 8], eax
jb 0x1002adf1
add esi, 0x28
inc edi
cmp edi, edx
jb 0x1002add5
xor esi, esi
test esi, esi
je 0x1002ae02
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0xc]
add eax, ebx
add eax, dword [ebp + 8]
jmp 0x1002ae04
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1002b8a4
Capabilities:
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10048b4c
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x10069410]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push esi
mov eax, dword [0x10069410]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0x20]
push 0x40
xor ebx, ebx
push ebx
push eax
call fcn.1002d750
push 0x103
lea eax, [esp + 0x195]
mov dword [esp + 0x2c], 0x44
xorps xmm0, xmm0
mov byte [esp + 0x194], bl
push ebx
push eax
movdqu xmmword [esp + 0x24], xmm0
call fcn.1002d750
push 0xfe
lea eax, [esp + 0x9e]
mov dword [esp + 0x98], 0x66647465
push ebx
push eax
mov word [esp + 0xa4], 0x67
call fcn.1002d750
add esp, 0x24
lea ecx, [esp + 0x64]
mov edx, str.Txk5PEuVyWC15icBN273yR3xIucs9RTVy2HuXeCsXGI82Ovk9tMAv175h1uxvWPSIxJ55YPVyWcgIxXVy2HuXePxXePxXDD
call fcn.1000ad15
mov dword [esp + 0x2a0], ebx
cmp dword [eax + 0x14], 0x10
jb 0x1002b968
mov eax, dword [eax]
lea ecx, [esp + 0x7c]
push ecx
push esi
push eax
lea eax, [esp + 0x190]
push 0xfa
push eax
call fcn.10001d04
add esp, 0x14
or dword [esp + 0x2a0], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.100107d6
mov edx, 0x16b3fe72
mov ecx, 0x6a4abc5b
call fcn.1002af35
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1a4]
push ecx
push ebx
call eax
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.1000adad
mov esp, ebp
pop ebp
ret 4
Function at 0x1002b9f1
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10069410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xf003f
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1002bb48
push ebx
push edi
push 0xf01ff
push 0x100705a4
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push 8
mov ebx, eax
mov dword [ebp - 0x28], esi
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1002bb32
cmp dword [ebp - 0x24], 1
je 0x1002bb04
jmp 0x1002baa0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1002baa6
cmp dword [ebp - 0x24], 1
je 0x1002babb
call edi
sub eax, dword [ebp - 0x2c]
cmp eax, 0x7530
ja 0x1002baa6
cmp dword [ebp - 0x24], 3
je 0x1002ba6f
mov edi, esi
lea eax, [ebp - 0x28]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1002bb00
jmp 0x1002baf5
xor edi, edi
inc edi
jmp 0x1002baa8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1002bb04
cmp dword [ebp - 0x24], 1
je 0x1002bafd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, 0x7530
ja 0x1002bb04
cmp dword [ebp - 0x24], 1
jne 0x1002bac0
jmp 0x1002bb04
xor edi, edi
inc edi
test edi, edi
je 0x1002bb32
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push ecx
push ecx
mov ecx, 0x100705a0
push 0x100705a4
test eax, eax
je 0x1002bb29
push 0x65
push 4
call fcn.1002bb57
xor esi, esi
inc esi
jmp 0x1002bb32
push 0x66
push 1
call fcn.1002bb57
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
je 0x1002bb3f
push ebx
call edi
push dword [ebp - 0x34]
call edi
pop edi
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000adad
mov esp, ebp
pop ebp
ret
Function at 0x1002bbcd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [0x10070464]
push edi
push 2
pop edi
cmp dword [0x1006ef44], edi
jl 0x1002bbf5
push str.Entering_CNTService::ServiceMain__
push esi
call fcn.1002bf9d
pop ecx
pop ecx
push 0x1002bd84
lea eax, [esi + 4]
mov dword [esi + 0x54], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x1002bc1e
push ecx
push ecx
push eax
push 0x67
push 1
mov ecx, esi
call fcn.1002bb57
jmp 0x1002bc6e
mov ecx, esi
call fcn.1002bcb4
xor ebx, ebx
test eax, eax
je 0x1002bc42
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x6c], 1
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
call dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 1
mov ecx, esi
call fcn.1002bc77
cmp dword [0x1006ef44], edi
jl 0x1002bc6e
push str.Leaving_CNTService::ServiceMain__
push esi
call fcn.1002bf9d
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1002bf9d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2058
call fcn.10030170
mov eax, dword [0x10069410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2058]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x20
lea eax, [ebp - 0x44]
mov edi, 0x800
push eax
push str.dd_MM_yyyy
lea eax, [ebp - 0x2058]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
push 0x20
lea eax, [ebp - 0x24]
push eax
push str.HH:mm:ss
lea eax, [ebp - 0x2058]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.4.7.8
lea eax, [esi + 4]
mov edi, 0x2000
push eax
push str.__s__s___lu____s__s_:
push 0xffffffffffffffff
lea eax, [ebp - 0x2048]
push edi
push eax
call fcn.10006991
lea ecx, [ebp - 0x2048]
add esp, 0x24
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c03e
lea eax, [ebp + 0x10]
sub ecx, edx
push eax
push dword [ebp + 0xc]
mov eax, edi
sub eax, ecx
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2048]
add eax, ecx
push eax
call fcn.10010f36
lea eax, [ebp - 0x2048]
push eax
push 0x10054208
push 0xffffffffffffffff
push edi
push eax
call fcn.10006991
add esp, 0x28
lea eax, [ebp - 0x2048]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esi + 0x78], 0
je 0x1002c0a1
lea eax, [ebp - 0x2048]
push eax
push 0x10052e0c
call fcn.10002396
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000adad
mov esp, ebp
pop ebp
ret
Function at 0x10033225
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x40c65178
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0xeb6213a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x4051ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4087d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040429a
and dword [ebp - 0x14], 0
cmp dword [0x40c630], 0
mov dword [ebp - 0x18], eax
jne 0x40525e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405306
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405306
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40c630], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40c634], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40c638], eax
call edi
push eax
call esi
mov dword [0x40c640], eax
test eax, eax
je 0x40525e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40c63c], eax
mov eax, dword [0x40c63c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4052b7
cmp dword [0x40c640], ecx
je 0x4052b7
push eax
call esi
push dword [0x40c640]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4052b7
test ebx, ebx
je 0x4052b7
call edi
test eax, eax
je 0x4052ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4052ae
test byte [ebp - 8], 1
jne 0x4052b7
or dword [ebp + 0x10], 0x200000
jmp 0x4052ea
mov eax, dword [0x40c634]
cmp eax, dword [ebp - 0x18]
je 0x4052ea
push eax
call esi
test eax, eax
je 0x4052ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4052ea
mov eax, dword [0x40c638]
cmp eax, dword [ebp - 0x18]
je 0x4052ea
push eax
call esi
test eax, eax
je 0x4052ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40c630]
call esi
test eax, eax
je 0x405306
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405308
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405516
leave
ret

Function at 0x405516
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4087d0]
jne 0x405520
repz ret
jmp fcn.00406683
Function at 0x6fd680
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x29b000]
push edi
or ebp, 0xffffffff
jmp 0x6fd6a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6fd6a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6fd698
mov eax, 1
add ebx, ebx
jne 0x6fd6bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6fd6cc
jne 0x6fd6eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6fd6eb
dec eax
add ebx, ebx
jne 0x6fd6d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6fd6b0
add ebx, ebx
jne 0x6fd6e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6fd73d
xor ecx, ecx
sub eax, 3
jb 0x6fd703
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6fd772
sar eax, 1
mov ebp, eax
jmp 0x6fd70e
add ebx, ebx
jne 0x6fd70e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6fd6dc
inc ecx
add ebx, ebx
jne 0x6fd71c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6fd6dc
add ebx, ebx
jne 0x6fd729
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6fd71e
jne 0x6fd73a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6fd71e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6fd75c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6fd74e
jmp 0x6fd69e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6fd75c
add edi, ecx
jmp 0x6fd69e
pop esi
mov edi, esi
mov ecx, 0x5a48
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6fd77a
cmp byte [edi], 0x32
jne 0x6fd77a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6fd77f
lea edi, [esi + 0x2fa000]
mov eax, dword [edi]
or eax, eax
je 0x6fd7ee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x30b548]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30b674]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6fd7ac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x30b678]
or eax, eax
je 0x6fd7e8
mov dword [ebx], eax
add ebx, 4
jmp 0x6fd7c9
call dword [esi + 0x30b688]
mov ebp, dword [esi + 0x30b67c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6fd822
sub esp, 0xffffff80
jmp 0x4f2598