joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10596e5
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 0x1059782
push ebx
push esi
call fcn.010596ae
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.010595f7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x105972f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1059781
push edi
push eax
call fcn.01055f8b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x105974f
call fcn.01055f51
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1059780
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.010595f7
add esp, 0x20
test eax, eax
jne 0x105976e
push edi
call fcn.01055f51
jmp 0x1059776
push ebx
call fcn.01055f51
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 0x1059785
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1059796
pop esi
ret
push ebx
push edi
push esi
call fcn.010596ae
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.01055f8b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10597be
push ebx
push esi
push edi
call fcn.01040310
add esp, 0xc
push 0
call fcn.01055f51
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1059b82
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.010597d3
Function at 0x105f75b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10bcfd0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x105f79b
cmp byte [ebx], 0xa
jne 0x105f79b
or byte [eax + edi + 0x28], 4
jmp 0x105f7a0
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x105f89e
mov al, byte [edx]
cmp al, 0x1a
je 0x105f880
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x105f7cf
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x105f7f4
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x105f7fe
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x105f7b1
jmp 0x105f89e
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x105f87b
cmp dword [ebp - 0xc], 0
je 0x105f87b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10bcfd0]
test byte [eax + edi + 0x28], 0x48
je 0x105f855
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x105f840
mov byte [esi], dl
jmp 0x105f851
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10bcfd0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x105f89e
cmp byte [ebp - 1], 0xa
jne 0x105f864
cmp esi, ebx
jne 0x105f864
mov byte [esi], 0xa
jmp 0x105f89d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.01055e07
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x105f89e
mov byte [esi], 0xd
jmp 0x105f89d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10bcfd0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x105f89a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x105f89e
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x105f8a7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10bcfd0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x105f8ea
cmp word [esi], dx
jne 0x105f8ea
or byte [edi + eax + 0x28], 4
jmp 0x105f8ef
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x105fa42
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x105fa22
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x105f931
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x105f967
cmp eax, edx
jae 0x105f973
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x105f909
jmp 0x105fa42
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x105fa1e
cmp dword [ebp - 0x14], 0
je 0x105fa1e
mov eax, dword [ebx*4 + 0x10bcfd0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x105f9f6
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x105f9bf
mov word [esi], cx
jmp 0x105f9f2
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10bcfd0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10bcfd0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10bcfd0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x105fa42
pop ebx
cmp word [ebp - 4], bx
jne 0x105fa07
cmp esi, dword [ebp + 0xc]
jne 0x105fa07
mov word [esi], bx
jmp 0x105fa3f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.01055e07
add esp, 0x10
cmp word [ebp - 4], bx
je 0x105fa42
push 0xd
jmp 0x105fa3b
mov ecx, dword [ebx*4 + 0x10bcfd0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x105fa39
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x105fa42
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1060263
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.010600d4
Function at 0x1061537
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.010614b3
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10616af
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10616af
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x106165e
jg 0x1061590
test eax, eax
je 0x1061654
push 1
push 0x1000
call fcn.01055fd9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10615b6
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x106164b
push 0x8000
push ebx
call fcn.010498ea
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10615e2
jg 0x10615dd
cmp ecx, 0x1000
jb 0x10615e2
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.01060b5b
add esp, 0x10
cmp eax, 0xffffffff
je 0x1061627
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10615dd
jl 0x106160e
test ecx, ecx
jne 0x10615cf
push dword [ebp - 0xc]
push ebx
call fcn.010498ea
push esi
call fcn.01055f51
add esp, 0xc
xor edi, edi
jmp 0x10616c0
cmp byte [edi + 0x24], 0
je 0x106163e
cmp dword [edi + 0x20], 5
jne 0x106163e
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1061649
mov edi, dword [edi + 0x18]
jmp 0x106164b
xor edi, edi
push esi
call fcn.01055f51
pop ecx
jmp 0x10616c0
test ecx, ecx
jg 0x1061620
jl 0x106165e
test eax, eax
jae 0x1061620
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.01055e07
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1061681
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1061620
jmp 0x10616b8
push ebx
call fcn.0105a60c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1061620
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x10616c0
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10616bd
mov edi, dword [edi + 0x18]
jmp 0x10616c0
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.01055e07
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405024
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x450f3c]
jne 0x40502e
repz ret
jmp fcn.00408e12

Function at 0x40b8ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004069f0
and dword [ebp - 4], 0
cmp dword [0x452870], 0
mov ebx, eax
jne 0x40b95d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ba0e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40ba0e
push eax
call fcn.0040697e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x452870], eax
call esi
push eax
call fcn.0040697e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x452874], eax
call esi
push eax
call fcn.0040697e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x452878], eax
call esi
push eax
call fcn.0040697e
pop ecx
mov dword [0x452880], eax
test eax, eax
je 0x40b95d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040697e
pop ecx
mov dword [0x45287c], eax
mov eax, dword [0x45287c]
cmp eax, ebx
je 0x40b9b5
cmp dword [0x452880], ebx
je 0x40b9b5
push eax
call fcn.004069f9
push dword [0x452880]
mov esi, eax
call fcn.004069f9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b9b5
test edi, edi
je 0x40b9b5
call esi
test eax, eax
je 0x40b9ac
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b9ac
test byte [ebp - 0xc], 1
jne 0x40b9b5
or dword [ebp + 0x10], 0x200000
jmp 0x40b9ee
mov eax, dword [0x452874]
cmp eax, ebx
je 0x40b9ee
push eax
call fcn.004069f9
pop ecx
test eax, eax
je 0x40b9ee
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b9ee
mov eax, dword [0x452878]
cmp eax, ebx
je 0x40b9ee
push eax
call fcn.004069f9
pop ecx
test eax, eax
je 0x40b9ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x452870]
call fcn.004069f9
pop ecx
test eax, eax
je 0x40ba0e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ba10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410240
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
imul esi
rcr edx, 0x4f
rcr ebx, 0x55
and edi, 0xed
dec ebx
sbb ebx, 0x47
neg edx
neg edi
or esi, 0xcd
sub edi, 0x89
dec edi
ror edi, 0xb1
or esi, 0x53
neg esi
inc edi
and edi, 0x1d
sbb esi, 0x12
rcr eax, 0xc1
imul edx
imul edx
add edi, 0x4f
and edx, 0x1e
sbb edi, 0x21
mov eax, 0xf6
neg esi
rcr esi, 0xd
rcr esi, 0x23
imul eax
not edx
ror edi, 0xb5
imul edx
inc ebx
not esi
dec edx
rcr esi, 0x59
add eax, 9
imul edx
rol edx, 0x18
dec edi
add eax, 0x8c
add esi, 0x1e
inc edx
rol edi, 0x42
bswap eax
rol ebx, 0x65
sbb edi, 0xda
sbb ebx, 0x81
imul edx
inc edx
imul ebx
xor ecx, ecx
xor edi, edi
add edx, 0xd5
and esi, 0x9b
rol eax, 0xf0
sub esi, 0x28
neg esi
rcr esi, 0x34
not edi
add eax, 0x79
neg edi
dec esi
rcl edi, 0x50
neg eax
neg esi
add esi, 0x92
dec ebx
sub eax, 0x78
dec edi
neg eax
rcr ebx, 0x7e
neg edi
bswap esi
ror eax, 7
rcl edi, 0x37
add ebx, 0x3f
inc eax
neg esi
inc eax
inc edx
bswap edi
bswap edx
sub ebx, 0x71
not ebx
imul esi
not edi
imul eax
dec edx
mov esi, 6
not edx
or ebx, 0xb4
ror esi, 0x2e
rcl edi, 0xae
inc eax
or esi, 0xa8
dec esi
imul ebx
dec ebx
sub eax, 0xd4
ror edx, 0x2f
bswap ebx
neg ebx
mov ecx, dword [ebp + 0xc]
neg ebx
ror esi, 0x72
neg edi
dec ebx
inc edx
ror edi, 0x33
rol edx, 0xb5
imul ebx
add edi, 0xb3
imul edx
mov ebx, 0xff
rcr edi, 0x3f
and edx, 0xd2
dec edx
inc esi
neg esi
rcr edi, 0xf4
neg eax
rol esi, 0xcc
neg ebx
bswap esi
add edx, 0xf7
imul edi
add edx, 0xab
sbb eax, 0xef
and esi, 0x47
rcl esi, 0xb2
neg eax
rcl ebx, 0xa4
rol esi, 0x12
mov ebx, 0xf1
bswap edx
neg ebx
rcl ebx, 0xc8
rol eax, 0xbd
not eax
or ebx, 0x8d
not edi
inc edx
inc edi
imul eax
bswap ebx
sub esi, 0x89
not edx
add edx, 0x92
sub eax, 0x57
ror eax, 4
not edi
rcl edi, 0xd
inc ebx
mov edi, dword [ebp + 8]
mov ebx, eax
xor esi, eax
mov ebx, esi
not byte [edi]
mov esi, ebx
mov esi, eax
xor esi, esi
xor esi, ebx
xor esi, esi
xor ebx, ebx
xor esi, esi
mov esi, eax
xor esi, eax
add byte [edi], 0x26
xor esi, ebx
xor eax, eax
mov esi, esi
xor eax, ebx
xor ebx, eax
xor ebx, eax
xor esi, eax
mov esi, eax
mov eax, eax
sub byte [edi], 0x86
mov eax, ebx
xor esi, eax
mov ebx, ebx
mov ebx, esi
mov eax, esi
mov esi, eax
mov esi, ebx
xor ebx, eax
mov ebx, ebx
imul byte [edi]
inc edi
loop 0x4103f3
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433000
Capabilities:
Check http status code
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3be7570
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4e842c6e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5dc05099
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1a0c2f34
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4e9740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x95000]
push edi
jmp 0x4e975a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e9761
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e9750
mov eax, 1
add ebx, ebx
jne 0x4e9773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e9784
jne 0x4e97a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e97a3
dec eax
add ebx, ebx
jne 0x4e9790
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e9768
add ebx, ebx
jne 0x4e979f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e97f5
xor ecx, ecx
sub eax, 3
jb 0x4e97bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e982a
sar eax, 1
mov ebp, eax
jmp 0x4e97c6
add ebx, ebx
jne 0x4e97c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e9794
inc ecx
add ebx, ebx
jne 0x4e97d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e9794
add ebx, ebx
jne 0x4e97e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e97d6
jne 0x4e97f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e97d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e9814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e9806
jmp 0x4e9756
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e9814
add edi, ecx
jmp 0x4e9756
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e9832
cmp byte [edi], 0x11
jne 0x4e9832
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 0x4e9837
lea edi, [esi + 0xe2000]
mov eax, dword [edi]
or eax, eax
je 0x4e98af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfc488]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfc604]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e9864
mov ecx, edi
jns 0x4e9893
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xfc608]
or eax, eax
je 0x4e98a9
mov dword [ebx], eax
add ebx, 4
jmp 0x4e9881
call dword [esi + 0xfc618]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4e98e0
cmp al, 0xef
ja 0x4e98d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4e98b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4e98c2
mov ebp, dword [esi + 0xfc60c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4e9914
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x4031fa
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x892658]
mov ecx, dword [0x8915a8]
sub esp, 0x400
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x40329d
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x892658], 0x959
jne 0x40328f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SleepEx]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
lea eax, [ebp - 0x400]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
call dword [sym.imp.KERNEL32.dll_HeapLock]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
call fcn.00403051
add edi, 8
dec ebx
jne 0x403222
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4041ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x472168]
jne 0x4041b6
repz ret
jmp fcn.00407f6c

Function at 0x4096ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040681e
and dword [ebp - 4], 0
cmp dword [0x474310], 0
mov ebx, eax
jne 0x40975d
push 0x40248c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40980e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402480
push edi
call esi
test eax, eax
je 0x40980e
push eax
call fcn.004067ac
mov dword [esp], 0x402470
push edi
mov dword [0x474310], eax
call esi
push eax
call fcn.004067ac
mov dword [esp], 0x40245c
push edi
mov dword [0x474314], eax
call esi
push eax
call fcn.004067ac
mov dword [esp], 0x402440
push edi
mov dword [0x474318], eax
call esi
push eax
call fcn.004067ac
pop ecx
mov dword [0x474320], eax
test eax, eax
je 0x40975d
push 0x402428
push edi
call esi
push eax
call fcn.004067ac
pop ecx
mov dword [0x47431c], eax
mov eax, dword [0x47431c]
cmp eax, ebx
je 0x4097b5
cmp dword [0x474320], ebx
je 0x4097b5
push eax
call fcn.00406827
push dword [0x474320]
mov esi, eax
call fcn.00406827
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4097b5
test edi, edi
je 0x4097b5
call esi
test eax, eax
je 0x4097ac
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4097ac
test byte [ebp - 0xc], 1
jne 0x4097b5
or dword [ebp + 0x10], 0x200000
jmp 0x4097ee
mov eax, dword [0x474314]
cmp eax, ebx
je 0x4097ee
push eax
call fcn.00406827
pop ecx
test eax, eax
je 0x4097ee
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4097ee
mov eax, dword [0x474318]
cmp eax, ebx
je 0x4097ee
push eax
call fcn.00406827
pop ecx
test eax, eax
je 0x4097ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x474310]
call fcn.00406827
pop ecx
test eax, eax
je 0x40980e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409810
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret