joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2d54
Capabilities:
Create http request

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x4b2e63
mov eax, dword [ebx + 0x20]
call fcn.004048fc
test eax, eax
jne 0x4b2d8b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x18]
call fcn.00404afc
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebx + 4], eax
jmp 0x4b2dfd
push 0
push 0
mov eax, dword [ebx + 0x20]
call fcn.00404afc
push eax
push 3
mov eax, dword [ebx + 0x18]
call fcn.00404afc
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x24]
call fcn.004048fc
test eax, eax
jle 0x4b2dd4
mov eax, dword [ebx + 0x24]
call fcn.004048fc
push eax
mov eax, dword [ebx + 0x24]
call fcn.00404afc
push eax
push 0x2b
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [ebx + 0x28]
call fcn.004048fc
test eax, eax
jle 0x4b2dfd
mov eax, dword [ebx + 0x28]
call fcn.004048fc
push eax
mov eax, dword [ebx + 0x28]
call fcn.00404afc
push eax
push 0x2c
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_InternetSetOptionA
mov dword [esp + 4], 0x7530
push 4
lea eax, [esp + 8]
push eax
push 2
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [esp + 8]
push eax
push 6
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [esp + 8]
push eax
push 5
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp byte [ebx + 0x1c], 0
je 0x4b2e63
mov dword [esp], 0xffffffff
push 4
lea eax, [esp + 4]
push eax
push 0x41
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebx + 0x1d], al
cmp dword [ebx + 4], 0
setne al
pop ecx
pop edx
pop ebx
ret

Function at 0x4b31d4
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4b31dd
mov eax, dword [ebp - 4]
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov byte [ebp - 9], 0
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x10000
lea eax, [ebp - 0x10010]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x4b3256
cmp dword [ebp - 0x10], 0
jbe 0x4b324c
lea edx, [ebp - 0x10010]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, dword [ebp - 0x10]
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004b2e70
cmp byte [ebx + 8], 0
jne 0x4b3256
cmp dword [ebp - 0x10], 0
jne 0x4b3203
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b3264
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x24]
push ecx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop ecx
mov edi, ecx
mov ebx, eax
lea eax, [ebp - 0x24]
mov edx, dword [0x4b28e0]
call fcn.0040520c
xor eax, eax
push ebp
push 0x4b344f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b342c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 1
mov eax, dword [ebp - 0x10]
call fcn.00404afc
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404afc
push eax
mov edx, 0x15
mov eax, dword [ebp - 0x1c]
call fcn.00408e00
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404afc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4b3301
cmp byte [ebx + 8], 0
je 0x4b330b
call fcn.00404078
jmp 0x4b3433
push 0
push 0x10
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404afc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_FtpFindFirstFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b33a5
push 0
push 0x8000000
push 1
mov eax, dword [ebp - 0x10]
call fcn.00404afc
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404afc
push eax
mov edx, 0x15
mov eax, dword [ebp - 0x1c]
call fcn.00408e00
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404afc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4b337b
cmp byte [ebx + 8], 0
je 0x4b3385
call fcn.00404078
jmp 0x4b3433
push 0
push 0x10
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404afc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_FtpFindFirstFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b33b0
or esi, 0xffffffff
jmp 0x4b33bf
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov esi, dword [ebp - 0x144]
push 0
push 2
push 0x80000000
mov eax, dword [ebp - 0x18]
call fcn.00404afc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_FtpOpenFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4b33e9
cmp byte [ebx + 8], 0
je 0x4b33f0
call fcn.00404078
jmp 0x4b3433
push edi
mov ecx, esi
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004b31d4
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3433
cmp dword [ebp - 0xc], 0
je 0x4b341c
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 8], 0
je 0x4b342b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3456
lea eax, [ebp - 0x24]
mov edx, dword [0x4b28e0]
call fcn.004050c8
ret
Function at 0x4b3a30
Capabilities:
Parse pe header

Disassembly:
add esp, 0xfffffff8
xor edx, edx
mov ecx, eax
mov dword [esp], ecx
mov ecx, dword [ecx + 0x3c]
add ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp]
cmp word [eax], 0x5a4d
jne 0x4b3a7b
mov eax, dword [esp + 4]
cmp dword [eax], 0x4550
jne 0x4b3a7b
mov eax, dword [esp + 4]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
jne 0x4b3a7b
mov eax, dword [esp + 4]
mov ax, word [eax + 0x16]
and ax, 2
cmp ax, 2
sete dl
mov eax, edx
pop ecx
pop edx
ret

Function at 0x4b3b0c
Capabilities:
Allocate or change rwx memory
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov ebp, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebp
call fcn.004b3a30
test al, al
je 0x4b3bdf
mov eax, ebp
call fcn.004b39e4
mov ebx, eax
test ebx, ebx
je 0x4b3bdf
mov eax, dword [ebp + 0x3c]
add eax, ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add eax, 0x18
mov edx, dword [esp + 0x10]
movzx edx, word [edx + 0x14]
add eax, edx
mov dword [esp + 0x14], eax
push 0x40
push 0x3000
push ebx
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x4b3bdf
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
mov edx, ebp
mov eax, dword [esp + 4]
call fcn.00407620
mov eax, dword [esp + 0x10]
movzx edi, word [eax + 6]
dec edi
test edi, edi
jb 0x4b3bd8
inc edi
xor ebx, ebx
lea esi, [ebx + ebx*4]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + esi*8 + 0xc]
mov eax, dword [esp + 4]
call fcn.004b39d8
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + esi*8 + 0x14]
mov eax, ebp
call fcn.004b39d8
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + esi*8 + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
call fcn.00407620
inc ebx
dec edi
jne 0x4b3b94
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4b3eb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x4b3f4a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
push 0x1000
push 0x104
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
push 0x104
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404834
mov edx, dword [ebp - 8]
mov eax, 0x4b3f64
call fcn.00404c40
test eax, eax
jle 0x4b3f27
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404834
mov edx, dword [ebp - 0xc]
mov eax, 0x4b3f70
call fcn.00404c40
test eax, eax
jg 0x4b3f2f
mov eax, 0x4b3f74
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3f51
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404660
ret
Function at 0x4b3fa0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4b40ba
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, ebx
mov eax, edi
call fcn.004b3b0c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b3fe5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b40c4
mov eax, dword [ebp - 0xc]
call fcn.004b3bec
mov eax, dword [ebp - 0xc]
call fcn.004b3cb0
test al, al
jne 0x4b4006
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b40c4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x4c], 0xbc610f
mov eax, dword [0x4bc668]
push eax
call fcn.004b3eb0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x40], eax
test esi, esi
jne 0x4b4059
mov eax, dword [ebp - 0x14]
mov esi, ebx
mov dword [eax + 0x44], esi
push 0x40
push 0x1000
push esi
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48]
mov ecx, ebx
mov edx, edi
call fcn.00407620
jmp 0x4b4084
mov eax, dword [ebp - 0x14]
mov ebx, esi
mov dword [eax + 0x44], ebx
push 0x40
push 0x1000
push ebx
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edi, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x48], edi
mov eax, edi
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.00407620
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0x4b3f78
push 0
push 0
call sub.kernel32.dll_CreateThread_1
cmp byte [ebp + 8], 0
je 0x4b40aa
push 0xffffffffffffffff
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b40c4
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4b751c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x4bde48
mov eax, ebx
mov edx, 8
test al, 1
je 0x4b7538
shr eax, 1
xor eax, 0xedb88320
jmp 0x4b753a
shr eax, 1
dec edx
jne 0x4b752b
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x4b7524
pop ebx
ret

Function at 0x4b7550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404aec
xor eax, eax
push ebp
push 0x4b75bf
push dword fs:[eax]
mov dword fs:[eax], esp
or ebx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.004048fc
test eax, eax
jle 0x4b75a7
mov edx, 1
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + edx - 1]
mov esi, ebx
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x4bde48]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4b7583
not ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b75c6
lea eax, [ebp - 4]
call fcn.0040463c
ret
Function at 0x4b75d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], eax
or eax, 0xffffffff
dec edx
test edx, edx
jl 0x4b7604
inc edx
xor ecx, ecx
mov ebx, dword [esp]
movzx ebx, byte [ebx + ecx]
mov esi, eax
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x4bde48]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc ecx
dec edx
jne 0x4b75e1
not eax
pop edx
pop esi
pop ebx
ret

Function at 0x4b760c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], eax
or eax, 0xffffffff
dec edx
test edx, edx
jl 0x4b7640
inc edx
xor ecx, ecx
mov ebx, dword [esp]
movzx ebx, byte [ebx + ecx]
mov esi, eax
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x4bde48]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc ecx
dec edx
jne 0x4b761d
not eax
pop edx
pop esi
pop ebx
ret

Function at 0x4b76e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404aec
xor eax, eax
push ebp
push 0x4b7834
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.0040463c
mov eax, dword [ebp - 4]
call fcn.004048fc
mov edi, eax
test edi, edi
je 0x4b781e
mov eax, esi
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, esi
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, esi
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, esi
mov byte [ebp - 9], al
dec ebx
cmp ebx, 0
jl 0x4b77e5
mov dword [ebp - 8], ebx
mov esi, edi
dec esi
test esi, esi
jle 0x4b7780
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00404b54
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xa]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4b775e
lea eax, [ebp - 4]
call fcn.00404b54
mov edx, dword [ebp - 4]
mov dl, byte [edx + edi - 1]
mov cl, byte [ebp - 0xc]
sub dl, cl
mov byte [eax + edi - 1], dl
mov ebx, edi
cmp ebx, 2
jl 0x4b77c4
lea eax, [ebp - 4]
call fcn.00404b54
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 9]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0x4b779f
lea eax, [ebp - 4]
call fcn.00404b54
mov edx, dword [ebp - 4]
mov dl, byte [edx]
mov cl, byte [ebp - 0xb]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x4b7752
lea eax, [ebp - 4]
call fcn.00404b54
mov ebx, edi
sub ebx, 4
mov edx, ebx
call fcn.004b75d0
mov esi, eax
lea eax, [ebp - 4]
call fcn.00404b54
add eax, ebx
cmp esi, dword [eax]
jne 0x4b781e
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
call fcn.00404690
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.00404c88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b783b
lea eax, [ebp - 4]
call fcn.0040463c
ret
Function at 0x4b7a44
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b7adc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.004048ac
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebx]
call fcn.004048fc
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.00404b5c
mov eax, dword [ebp - 0x10c]
mov edx, 0x4b7af0
call fcn.00404a48
je 0x4b7ac3
mov eax, ebx
mov edx, 0x4b7af0
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7ae3
lea eax, [ebp - 0x10c]
call fcn.0040463c
ret
Function at 0x10001f20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10001f78
cmp byte [esi + ebx - 1], 0xa
je 0x10001f4c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10003118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x4065bf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4065e3
xor eax, eax
test eax, eax
je 0x4065f5
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4065f5
xor ecx, ecx
jmp 0x4065f8
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4066e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4232bc], 0
push esi
jne 0x40671b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066f5
mov dword [ecx*4 + 0x4232b8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066f0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40674c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4232b8]
xor eax, esi
inc ecx
dec edx
jne 0x40672e
pop edi
not eax
pop esi
ret 0xc

Function at 0x40102a
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ebx, ebx
pop ecx
test eax, eax
je 0x401078
push str.Windows_original_main_args:_n
call fcn.004010f9
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov esi, ebx
pop ecx
call edi
cmp dword [eax], ebx
jle 0x401078
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.004010f9
add esp, 0xc
inc esi
call edi
cmp esi, dword [eax]
jl 0x401058
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov edi, eax
lea ecx, [edi*4 + 4]
push ecx
call sub.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
mov edx, ebx
test edi, edi
jle 0x4010b2
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x4010a7
mov ecx, dword [str.java]
mov dword [esi + edx*4], ebx
test ecx, ecx
jne 0x4010c1
mov ecx, dword [esi]
mov eax, dword [section..data]
test eax, eax
jne 0x4010cc
mov eax, dword [esi]
push ebx
push ebx
push ebx
push 1
push ecx
push eax
push 0x4021a8
push 0x4021ac
push 0x40300c
push 2
push 0x403004
push 2
push esi
push edi
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x10004b83
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10004bc2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004bc2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004bc2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10004bc2
cmp dword [ecx + 0x74], 0xe
jbe 0x10004bc2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10005dda
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f4e8
push 0x1000f4e0
push str.FlsAlloc
push 0x1f
call fcn.10005cf6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10005e0e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e138]
call esi
jmp 0x10005e14
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10005e58
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f4f8
push 0x1000f4f0
push str.FlsGetValue
push 0x21
call fcn.10005cf6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10005e8f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10005e97
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f500
push 0x1000f4f8
push str.FlsSetValue
push 0x22
call fcn.10005cf6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10005ed1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000e138]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10008341
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100083de
push ebx
push esi
call fcn.1000830a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000829e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000838b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100083dd
push edi
push eax
call fcn.100088ff
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100083ab
call fcn.10005ba3
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100083dc
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000829e
add esp, 0x20
test eax, eax
jne 0x100083ca
push edi
call fcn.10005ba3
jmp 0x100083d2
push ebx
call fcn.10005ba3
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1000d1a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000d1cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000d1cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10032b90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x101fac9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101fe4b0]
mov dword [ebp - 0x60], 0
test eax, eax
jne 0x10032c7f
push 0x55
push 0x101fe4b8
push 0x5c
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x10032c68
push esi
push 0x55
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.10108310
add esp, 0xc
mov esi, 0x2d
xor edx, edx
nop dword [eax]
nop dword [eax + eax]
movzx eax, word [edx*2 + 0x101fe4b8]
cmp eax, 0x5f
movzx ecx, al
cmove ecx, esi
mov byte [ebp + edx - 0x5c], cl
test cl, cl
je 0x10032c13
inc edx
cmp edx, 0x55
jl 0x10032bf0
mov byte [ebp - 8], 0
push 0x41
call fcn.1014b342
mov esi, eax
add esp, 4
test esi, esi
je 0x10032c67
lea eax, [ebp - 0x60]
push eax
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.1014b342
add esp, 0x10
cmp dword [ebp - 0x60], 0
jg 0x10032c5e
push 0x10032340
push 0x15
mov byte [eax + esi], 0
mov dword [0x101fe4b0], esi
mov byte [0x101fe4b4], 1
call fcn.1014b342
add esp, 8
jmp 0x10032c67
push esi
call fcn.1014b342
add esp, 4
pop esi
mov eax, dword [0x101fe4b0]
mov ecx, 0x10166518
test eax, eax
cmovne ecx, eax
mov dword [0x101fe4b0], ecx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e580b
mov esp, ebp
pop ebp
ret