joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403368
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0x5a4d
je 0x403382
xor eax, eax
jmp 0x403502
mov ebx, dword [edi + 0x3c]
add ebx, edi
cmp dword [ebx], 0x4550
je 0x403396
xor eax, eax
jmp 0x403502
cmp word [ebx + 0x14], 0xe0
jne 0x4033a6
cmp word [ebx + 0x18], 0x10b
je 0x4033ad
xor eax, eax
jmp 0x403502
mov dword [0x4620b4], edi
mov ebx, dword [edi + 0x3c]
mov esi, edi
add ebx, esi
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x18], eax
push ebx
mov edx, dword [ebp - 0x18]
push edx
call fcn.004032ec
add esp, 8
test eax, eax
jne 0x4033d8
xor eax, eax
jmp 0x403502
mov edx, dword [0x4620b4]
push edx
push ebx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00403334
add esp, 0xc
mov ebx, dword [ebx + 0x78]
test ebx, ebx
jne 0x40340a
push 0x10
push 0
push str.Error_in_GetProcAddressDirectly__
push 0
call sub.USER32.DLL_MessageBoxA
xor eax, eax
jmp 0x403502
add ebx, esi
mov edx, dword [ebx + 0x24]
add edx, esi
mov dword [ebp - 4], edx
mov ecx, dword [ebx + 0x20]
add ecx, esi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 0x1c]
add eax, esi
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 0x10
test cx, cx
je 0x4034d4
xor esi, esi
mov eax, dword [ebp - 8]
mov edx, eax
mov dword [ebp - 0x28], edx
jmp 0x4034c6
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
test eax, eax
je 0x4034c1
xor edx, edx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x28]
mov eax, ecx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0xc]
mov ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 4]
mov edx, eax
mov dword [ebp - 0x1c], edx
jmp 0x4034b8
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx]
cmp esi, eax
jne 0x4034ad
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
add ecx, edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4034ad
test cl, cl
je 0x4034a2
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4034ad
add eax, 2
add edx, 2
test cl, cl
jne 0x403486
jne 0x4034ad
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, edi
jmp 0x403502
inc dword [ebp - 0x14]
add dword [ebp - 0x20], 4
add dword [ebp - 0x1c], 2
mov edx, dword [ebx + 0x18]
dec edx
cmp edx, dword [ebp - 0x14]
jae 0x40346c
inc esi
add dword [ebp - 0x28], 4
mov ecx, dword [ebx + 0x14]
dec ecx
cmp esi, ecx
jbe 0x403444
jmp 0x403500
xor esi, esi
mov eax, dword [ebp - 8]
jmp 0x4034f8
mov ecx, dword [ebx + 0x10]
add ecx, esi
cmp edx, ecx
jne 0x4034f4
cmp dword [eax], 0
je 0x4034f4
mov edx, dword [eax]
shl edx, 6
add edi, edx
mov eax, edi
jmp 0x403502
inc esi
add eax, 4
mov ecx, dword [ebx + 0x14]
dec ecx
cmp esi, ecx
jbe 0x4034db
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4035b0
Capabilities:
Check for software breakpoints
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, fcn.00401ca4
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov al, byte [esi]
cmp al, 0xcc
je 0x403663
mov eax, fcn.004016d8
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov al, byte [esi]
cmp al, 0xcc
je 0x403663
mov eax, fcn.00403754
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x403663
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
xor ebx, ebx
mov edi, 0x20
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x403663
add ebx, 0x9e3779b9
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x10]
lea esi, [ebx + ecx]
xor eax, esi
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 0x14]
xor eax, esi
add edx, eax
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x18]
lea esi, [ebx + edx]
xor eax, esi
mov esi, edx
shr esi, 5
add esi, dword [ebp - 0x1c]
xor eax, esi
add ecx, eax
mov eax, edi
add edi, 0xffffffff
test eax, eax
jg 0x40362b
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403680
Capabilities:
Check for software breakpoints
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, fcn.00401ca4
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov al, byte [esi]
cmp al, 0xcc
je 0x403736
mov eax, fcn.004016d8
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov al, byte [esi]
cmp al, 0xcc
je 0x403736
mov eax, fcn.00403680
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x403736
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ebx, 0xc6ef3720
mov edi, 0x20
mov ecx, dword [edx]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x403736
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x18]
lea esi, [ebx + ecx]
xor eax, esi
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 0x1c]
xor eax, esi
sub edx, eax
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x10]
lea esi, [ebx + edx]
xor eax, esi
mov esi, edx
shr esi, 5
add esi, dword [ebp - 0x14]
xor eax, esi
sub ecx, eax
sub ebx, 0x9e3779b9
mov eax, edi
add edi, 0xffffffff
test eax, eax
jg 0x4036fe
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4037a4
Capabilities:
Check for software breakpoints
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, fcn.00401ca4
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov al, byte [esi]
cmp al, 0xcc
je 0x40385a
mov eax, fcn.004016d8
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov al, byte [esi]
cmp al, 0xcc
je 0x40385a
mov eax, fcn.00403754
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x40385a
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ebx, 0xc6ef3720
mov edi, 0x20
mov ecx, dword [edx]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x40385a
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x18]
lea esi, [ebx + ecx]
xor eax, esi
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 0x1c]
xor eax, esi
sub edx, eax
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x10]
lea esi, [ebx + edx]
xor eax, esi
mov esi, edx
shr esi, 5
add esi, dword [ebp - 0x14]
xor eax, esi
sub ecx, eax
sub ebx, 0x9e3779b9
mov eax, edi
add edi, 0xffffffff
test eax, eax
jg 0x403822
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405008
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x4099a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x409a02
call fcn.00409950
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004056d8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004056d8
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x409a60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x45fec8], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x409b3a
cmp dword [0x45fec4], 0
jne 0x409b3a
cmp dword [0x4600b8], 0
je 0x409af4
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00409850
add esp, 8
mov ebx, eax
test eax, eax
jne 0x409ada
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00409850
add esp, 8
mov ebx, eax
test eax, eax
jne 0x409ada
lea ebx, [ebp - 0x84]
jmp 0x409adb
inc ebx
call fcn.00409a1c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x409b75
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x45fecc
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004056d8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x45fecf
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x409b75
cmp dword [0x45fec4], 0
je 0x409b54
cmp dword [0x45fec4], 0xffffffff
je 0x409b75
push esi
call dword [0x45fec4]
pop ecx
mov eax, dword [0x45fec8]
test eax, eax
je 0x409b75
cmp dword [0x45fec8], 0xffffffff
je 0x409b75
cmp byte [eax], 0
je 0x409b75
push esi
push eax
call fcn.004099a0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a360
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x462b4c], 0
jne 0x40a3e1
cmp dword [0x462b6c], 0
jne 0x40a390
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x462b6c], eax
test eax, eax
jne 0x40a390
push str.GetEnvironmentStrings_failed
call fcn.00409b8c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x462b6c]
jmp 0x40a3a4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004056d8
pop ecx
mov edi, eax
test eax, eax
jne 0x40a39c
lea edi, [ebp + 1]
push edi
call fcn.004045c0
pop ecx
mov ebx, eax
mov dword [0x462b50], ebx
test ebx, ebx
jne 0x40a3ce
xor eax, eax
jmp 0x40a4a4
push edi
mov edx, dword [0x462b6c]
push edx
push ebx
call fcn.004055c4
add esp, 0xc
jmp 0x40a401
xor esi, esi
mov ebx, dword [0x462b4c]
jmp 0x40a3fb
push eax
call fcn.004056d8
pop ecx
test eax, eax
jne 0x40a3f7
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40a3eb
lea ebx, [esi + 4]
push 4
mov dword [0x462b54], ebx
inc ebx
push ebx
call fcn.00404124
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40a424
xor eax, eax
jmp 0x40a4a4
cmp dword [0x462b4c], 0
jne 0x40a455
xor esi, esi
mov ebx, dword [0x462b50]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40a446
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004056d8
pop ecx
mov edi, eax
test eax, eax
jne 0x40a43c
jmp 0x40a486
xor esi, esi
mov ebx, dword [0x462b4c]
mov eax, dword [esp]
mov edi, eax
jmp 0x40a480
push eax
call fcn.004056d8
pop ecx
test eax, eax
je 0x40a475
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40a479
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40a464
mov eax, dword [0x462b4c]
test eax, eax
je 0x40a496
push eax
call fcn.004045d0
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x462b4c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x46094c
sub eax, eax
test esi, esi
je 0x40c838
sub eax, 1
test ecx, ecx
je 0x40c836
test esi, 3
je 0x40c796
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40c77b
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x40c81d
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40c7a4
mov ecx, edx
test ecx, ecx
je 0x40c836
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40c823
not eax
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x40cb1c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0040cb9f
jae 0x40cb2a
xor ecx, ecx
call fcn.0040cb9f
jae 0x40cb59
xor eax, eax
call fcn.0040cb9f
jae 0x40cb69
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0040cb9f
adc al, al
jae 0x40cb4b
jne 0x40cb95
stosb byte es:[edi], al
jmp 0x40cb2d
call fcn.0040cbab
sub ecx, ebx
jne 0x40cb72
call fcn.0040cba9
jmp 0x40cb91
lodsb al, byte [esi]
shr eax, 1
je 0x40cbbb
adc ecx, ecx
jmp 0x40cb8e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0040cba9
cmp eax, 0x7d00
jae 0x40cb8e
cmp ah, 5
jae 0x40cb8f
cmp eax, 0x7f
ja 0x40cb90
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40cb2d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret
Function at 0x10001053
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x107af140]
jne 0x1000105d
repz ret
jmp fcn.100012df

Function at 0x10005feb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x107af140]
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.10001a36
and dword [ebp - 0x14], 0
cmp dword [0x107b2acc], 0
mov dword [ebp - 0x18], eax
jne 0x1000609e
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10006146
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10006146
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x107b2acc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x107b2ad0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x107b2ad4], eax
call edi
push eax
call esi
mov dword [0x107b2adc], eax
test eax, eax
je 0x1000609e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x107b2ad8], eax
mov eax, dword [0x107b2ad8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x100060f7
cmp dword [0x107b2adc], ecx
je 0x100060f7
push eax
call esi
push dword [0x107b2adc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100060f7
test ebx, ebx
je 0x100060f7
call edi
test eax, eax
je 0x100060ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100060ee
test byte [ebp - 8], 1
jne 0x100060f7
or dword [ebp + 0x10], 0x200000
jmp 0x1000612a
mov eax, dword [0x107b2ad0]
cmp eax, dword [ebp - 0x18]
je 0x1000612a
push eax
call esi
test eax, eax
je 0x1000612a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000612a
mov eax, dword [0x107b2ad4]
cmp eax, dword [ebp - 0x18]
je 0x1000612a
push eax
call esi
test eax, eax
je 0x1000612a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x107b2acc]
call esi
test eax, eax
je 0x10006146
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10006148
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001053
leave
ret
Function at 0x401aae
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00401c5e
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x401bac
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x401b4f
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x401b92
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x401b66
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x401b81
test al, 0x40
je 0x401b78
mov ecx, dword [edi + 0x20]
jmp 0x401b7f
test al, 0x80
je 0x401b92
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x401b92
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x401b1e
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x411af0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.text
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x411b12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411b19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411b08
mov eax, 1
add ebx, ebx
jne 0x411b2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411b20
jne 0x411b3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411b20
xor ecx, ecx
sub eax, 3
jb 0x411b50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411bc2
mov ebp, eax
add ebx, ebx
jne 0x411b5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411b68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x411b8c
inc ecx
add ebx, ebx
jne 0x411b78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411b6d
jne 0x411b89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411b6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x411bac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x411b9d
jmp 0x411b0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x411bac
add edi, ecx
jmp 0x411b0e
pop esi
mov edi, esi
mov ecx, 0x22c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x411bca
cmp byte [edi], 6
jne 0x411bca
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 eax, ebx
loop 0x411bcf
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x411c3e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11cd8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11d14]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411bfc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11d18]
or eax, eax
je 0x411c38
mov dword [ebx], eax
add ebx, 4
jmp 0x411c19
call dword [esi + 0x11d1c]
popal
jmp 0x40547d
Function at 0x42fb71
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43757a
call fcn.004339e0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x43c770
mov dword [esi + 4], 0x43c758
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028e9
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
mov byte [esi + 0x4d], bl
mov dword [esi], 0x43c73c
mov dword [esi + 4], 0x43c724
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43196e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x43197d
pop dword [ebp - 0x2c]
mov eax, 0x43197d
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x38a10
push 0
mov eax, 0x81786069
sub eax, 0x8134e039
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x4fcfdcdf
add ecx, 0xb03062d0
xor ebx, ebx
add ebx, eax
mov edx, 0x8ee17c46
add edx, 0x716349ba
add edx, dword [ebp - 0x2c]
mov edi, 0x24437cdf
add edi, 0x275eb943
sub dword [ebp - 4], ecx
mov esi, dword [edx]
sub dword [ebp - 4], 0x10e1a44c
add esi, edi
add dword [ebp - 0x20], ecx
mov dword [ebx], esi
xor dword [ebp - 0x24], ebx
add ebx, 0x9ebd30b5
sub ebx, 0x9ebd30b1
add edx, 0xb10d5123
sub edx, 0xb10d511f
loop 0x4319d9
add eax, 0x89fdb24c
add eax, 0x76033f43
xor ebx, ebx
add ebx, eax
add eax, 0x712f74ed
sub eax, 0x712f74e8
mov ecx, 0xde77fddc
add ecx, 0x21c80224
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x433770
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x433799
xor eax, eax
ret 4
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x4337a8
mov eax, 1
ret 4
Function at 0x4190ca
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 4], ebx
mov eax, str.Mozilla_5.0__Linux__U__Android_4.1.1__zh_cn__MI_2S_Build_JRO03L__AppleWebKit_534.30__KHTML__like_Gecko__Version_4.0_Mobile_Safari_534.30
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4190f6
push ebx
call fcn.0041ba00
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
push 0x1e
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov esp, ebp
pop ebp
ret 4