joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa373f0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 8]
push dword [esi + 0x14]
lea eax, [esi + 0x18]
push eax
push dword [esi + 0x98]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0xa37430
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea eax, [esi + 0x9c]
push eax
push dword [ebp + 0xc]
call fcn.00a36b90
add esp, 0xc
pop edi
pop esi
pop ebp
ret
push dword [ebp + 0xc]
push edi
call fcn.00a37570
push 1
push dword [esi + 0x98]
call fcn.00a3f4b0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0xa37540
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x10], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
jne 0xa37564
push dword [ecx + 0x14]
lea eax, [ecx + 0x18]
push eax
push dword [ecx + 0x98]
call dword [sym.imp.WS2_32.dll_connect]
pop ebp
ret
or eax, 0xffffffff
pop ebp
ret

Function at 0xa37570
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0xaa906c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [eax + 8]
lea eax, [ebp - 0x184]
push 0x80
push 0
push eax
mov dword [ebp - 0x188], 0x80
call fcn.00a46b60
add esp, 0xc
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x184]
push eax
push dword [esi + 0x98]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0xa3760b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.00a1a570
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.00a0a650
add esp, 0x1c
mov eax, 2
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009f55bc
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x100]
push eax
lea eax, [esi + 0xd0]
push eax
push dword [ebp - 0x188]
lea eax, [ebp - 0x184]
push eax
call fcn.00a0b130
add esp, 0x10
test al, al
jne 0xa3767a
push edi
call fcn.00a5169d
mov esi, dword [eax]
call fcn.00a5169d
mov edi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.00a1a570
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00a0a650
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009f55bc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.009f55bc
mov esp, ebp
pop ebp
ret
Function at 0xa37840
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xaa906c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
push 4
cmp byte [esi + 0x6c7], al
setne al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
lfence
test eax, eax
jns 0xa378a0
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d
push esi
call fcn.00a0a710
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009f55bc
mov esp, ebp
pop ebp
ret
push dword [esi + 0x664]
mov dword [ebp - 0x10], 1
call fcn.00a0c0b0
push dword [esi + 0x668]
imul eax, eax, 0x3e8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
call fcn.00a0c0b0
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0xa37913
lfence
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d
push esi
call fcn.00a0a710
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.009f55bc
mov esp, ebp
pop ebp
ret

Function at 0xa37930
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0xaa906c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 4
push eax
push 1
push 6
push dword [ebp + 0xc]
mov dword [ebp - 0x108], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0xa37992
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00a1a570
push eax
push str.Could_not_set_TCP_NODELAY:__s
push esi
call fcn.00a0a710
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.009f55bc
mov esp, ebp
pop ebp
ret
Function at 0xa38b90
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
push 0x11
push str.WWW_Authenticate:
push edi
mov dword [ebp - 4], 0
call fcn.00a0e080
mov esi, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0xa38bc6
mov ebx, dword [esi + 0xe0]
cmp ebx, 0x191
je 0xa38be8
push 0x13
push str.Proxy_authenticate:
push edi
call fcn.00a0e080
add esp, 0xc
test eax, eax
je 0xa38c32
mov ebx, dword [esi + 0xe0]
cmp ebx, 0x197
jne 0xa38c32
push edi
call fcn.00a11060
mov edi, eax
add esp, 4
test edi, edi
jne 0xa38c01
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x197
push edi
sete al
movzx eax, al
push eax
push esi
call fcn.00a12b80
push edi
mov esi, eax
call dword [0xaa909c]
add esp, 0x10
test esi, esi
je 0xa38d83
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf
push str.Content_Length:
push edi
call fcn.00a0e080
add esp, 0xc
test eax, eax
je 0xa38c91
mov ecx, dword [esi + 0xe0]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0xa38c6f
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response
push esi
call fcn.00a0a710
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
add eax, 0x200
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.00a1b120
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push str.close
push 0xb
push str.Connection:
push edi
call fcn.00a10fc0
add esp, 0x14
test al, al
jne 0xa38d79
push 0x12
push str.Transfer_Encoding:
push edi
call fcn.00a0e080
add esp, 0xc
test eax, eax
je 0xa38d2f
mov ecx, dword [esi + 0xe0]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0xa38ced
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
push esi
call fcn.00a0a710
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 7
push str.chunked
push 0x12
push str.Transfer_Encoding:
push edi
call fcn.00a10fc0
add esp, 0x14
test al, al
je 0xa38d83
push str.CONNECT_responded_chunked
push esi
call fcn.00a0a710
mov eax, dword [ebp + 0x10]
push esi
mov byte [eax + 0x20c], 1
call fcn.00a3be80
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push edi
call fcn.00a10fc0
add esp, 0x14
test al, al
jne 0xa38d79
lea ebx, [esi + 0xe0]
push ebx
lea eax, [ebp - 4]
push eax
push str.HTTP_1._d__d
push edi
call fcn.00a00480
add esp, 0x10
cmp eax, 2
jne 0xa38d83
mov eax, dword [ebx]
pop edi
mov dword [esi + 0xd4c], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x20d], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xa43120
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0xa43153
push 0x2e
push edi
call fcn.00a49230
add esp, 8
test eax, eax
je 0xa43151
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0xa442c0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xaa906c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push edi
mov edi, dword [ebp + 0x10]
push 0xf0000040
push 1
push 0
push 0
push eax
mov dword [ebp - 0x20], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa44352
lea eax, [ebp - 0xc]
mov dword [ebp - 0x18], 0x208
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0x6601
push edi
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x10], 8
call fcn.00a443b0
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.00a46a70
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x14
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0xa44364
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009f55bc
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x24]
mov dword [esi], ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.009f55bc
mov esp, ebp
pop ebp
ret
Function at 0xa45270
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0xaa9098]
mov edi, eax
add esp, 4
test edi, edi
jne 0xa4529d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov dword [ebp - 4], ebx
cmp ebx, dword [esi + 0x10]
jbe 0xa452ef
lfence
push dword [edi + 4]
mov eax, dword [esi]
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 8], eax
push eax
mov eax, dword [esi + 8]
call eax
mov eax, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [ebp - 4], eax
jmp 0xa452f5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp - 4]
add esp, 8
xor ebx, ebx
test eax, eax
je 0xa4534e
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp - 4], 1
jne 0xa45313
mov ebx, dword [ebp - 0xc]
cmp ebx, dword [esi + 0x10]
jae 0xa4537a
mov eax, dword [esi + 4]
push 1
push 0xa93165
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0xa93166
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0xa45353
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xa453e0
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xf0000040
push 0x18
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa45412
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x800c
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor eax, eax
pop esi
pop ebp
ret

Function at 0xa46a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0xa46abd
push ebx
mov ebx, dword [ebp + 8]
mov cl, byte [esi + ebx]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
and dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jb 0xa46a82
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0xa46b10
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa46b4f
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa5f0c1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a5ed3e

Function at 0xa65765
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a655db
Function at 0x4032c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00412bd0
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
jne 0x4032e6
xor al, al
jmp 0x403450
push ebx
push edi
push esi
call fcn.00403457
push esi
call fcn.00417e53
pop ecx
push esi
mov edi, eax
call fcn.00403483
test al, al
je 0x403378
push esi
call fcn.00403457
test al, al
je 0x40332f
lea eax, [edi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x40344c
push dword [ebp + 0x10]
push str.__
push dword [ebp + 0xc]
call fcn.004065db
push dword [ebp + 0x10]
jmp 0x40343f
push 0x5c
pop eax
cmp word [esi], ax
jne 0x40344c
lea ebx, [esi + 2]
cmp word [ebx], ax
jne 0x40344c
mov esi, dword [ebp + 0x10]
lea eax, [edi + 6]
cmp esi, eax
jbe 0x40344c
push esi
push str.__
push dword [ebp + 0xc]
call fcn.004065db
push esi
push 0x427314
push dword [ebp + 0xc]
call fcn.004065b3
push esi
push ebx
jmp 0x403440
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40344c
cmp eax, ebx
ja 0x40344c
movzx eax, word [esi]
push eax
call fcn.004034b9
test al, al
je 0x4033df
lea eax, [edi + 6]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jbe 0x40344c
push edi
push str.__
push dword [ebp + 0xc]
call fcn.004065db
xor eax, eax
mov word [ebp - 0xffc], ax
lea eax, [ebp - 0x1000]
push edi
push eax
push dword [ebp + 0xc]
call fcn.004065b3
jmp 0x40343e
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.00402ed3
lea eax, [ebp - 0x1000]
push eax
call fcn.00417e53
add edi, 4
add eax, edi
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, eax
jbe 0x40344c
push edi
push str.__
push dword [ebp + 0xc]
call fcn.004065db
push edi
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 0xc]
call fcn.004065b3
cmp word [esi], 0x2e
jne 0x40343e
movzx eax, word [esi + 2]
push eax
call fcn.004034b9
test al, al
je 0x40343e
add esi, 4
push edi
push esi
push dword [ebp + 0xc]
call fcn.004065b3
mov al, 1
jmp 0x40344e
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404383
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x404d70
call fcn.00404af8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x405370
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4043c8
cmp eax, esi
jne 0x4043bb
xor esi, esi
inc esi
mov edi, esi
jmp 0x4043cb
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x40439f
xor esi, esi
inc esi
cmp dword [0x405374], esi
jne 0x4043dd
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x404417
cmp dword [0x405374], ebx
jne 0x404411
mov dword [0x405374], esi
push 0x4010cc
push 0x4010c0
call fcn.004044fc
pop ecx
pop ecx
test eax, eax
je 0x404417
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4044ec
mov dword [0x405014], esi
cmp dword [0x405374], esi
jne 0x40443a
push 0x4010bc
push 0x4010b4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x405374], 2
test edi, edi
jne 0x404447
xor eax, eax
mov ecx, 0x405370
xchg dword [ecx], eax
cmp dword [0x405378], 0
je 0x404473
push 0x405378
call fcn.00404950
pop ecx
test eax, eax
je 0x404473
push ebx
push 2
push ebx
mov esi, dword [0x405378]
mov ecx, esi
call dword [0x406110]
call esi
push dword [0x405020]
push dword [0x40501c]
push dword [0x405018]
call fcn.00403f7e
add esp, 0xc
mov dword [0x405010], eax
cmp dword [0x405028], 0
jne 0x4044d1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x405014], 0
jne 0x4044e5
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x405010]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00575000
jmp 0x404383

Function at 0x404834
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x404d90
call fcn.00404af8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x404894
cmp eax, 0xffffffff
je 0x404894
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40488d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40488d
cmp edx, 0x10000000
jae 0x40488d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40488a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x404900
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40493e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x404936
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x404940
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x404926
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x468b3c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004689b3

Function at 0x1001f310
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1001f4a1
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
or ebp, 0xffffffff
jmp 0x1001f33a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1001f341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1001f330
mov eax, 1
add ebx, ebx
jne 0x1001f353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1001f348
jne 0x1001f364
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1001f348
xor ecx, ecx
sub eax, 3
jb 0x1001f378
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1001f3ea
mov ebp, eax
add ebx, ebx
jne 0x1001f383
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1001f390
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1001f3b4
inc ecx
add ebx, ebx
jne 0x1001f3a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1001f395
jne 0x1001f3b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1001f395
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1001f3d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1001f3c5
jmp 0x1001f336
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1001f3d4
add edi, ecx
jmp 0x1001f336
pop esi
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x1001f433
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f0f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f140]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1001f3f1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f144]
or eax, eax
je 0x1001f42d
mov dword [ebx], eax
add ebx, 4
jmp 0x1001f40e
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1001f464
cmp al, 0xef
ja 0x1001f457
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1001f439
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1001f446
mov ebp, dword [esi + 0x1f148]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x1001f498
sub esp, 0xffffff80
jmp 0x100111a4
Function at 0x4024b2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov dword [ebp - 0x56], 0x330056
mov dword [ebp - 0x52], 0x4b0044
mov dword [ebp - 0x4e], 0x790065
mov dword [ebp - 0x4a], 0x650047
mov dword [ebp - 0x46], 0x43006e
mov dword [ebp - 0x42], 0x61006c
mov dword [ebp - 0x3e], 0x730073
mov word [ebp - 0x3a], 0
lea edx, [ebp - 0x88]
mov eax, 0
mov ecx, 0xc
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x88], 0x30
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x80], 0x4017b8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov dword [esp + 4], 0x7f89
mov dword [esp], 0
mov eax, dword [0x40e340]
call eax
sub esp, 8
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 6
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x56]
mov dword [ebp - 0x60], eax
mov dword [esp + 4], 0x65
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [0x40e344]
call eax
sub esp, 8
mov dword [ebp - 0x5c], eax
mov dword [esp + 4], 0x65
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [0x40e344]
call eax
sub esp, 8
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x88]
mov dword [esp], eax
mov eax, dword [0x40e350]
call eax
sub esp, 4
test ax, ax
jne 0x4025e9
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], str.Error
mov dword [esp + 4], str.Window_Registration_Failed_
mov dword [esp], 0
mov eax, dword [0x40e348]
call eax
sub esp, 0x10
mov eax, 0
jmp 0x402a67
mov dword [esp], 0
mov eax, dword [0x40e330]
call eax
sub esp, 4
mov dword [0x40c9f8], eax
mov dword [esp], 1
mov eax, dword [0x40e330]
call eax
sub esp, 4
mov dword [0x40c9fc], eax
mov dword [0x40ca00], 0x1d6
mov dword [0x40ca04], 0x10e
mov eax, dword [0x40c9f8]
mov edx, dword [0x40ca00]
sub eax, edx
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [0x40ca08], eax
mov eax, dword [0x40c9fc]
mov edx, dword [0x40ca04]
sub eax, edx
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [0x40ca0c], eax
jmp fcn.007f9db7
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10