joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a8fa
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x45c3f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004355cd
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004355cd
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x43a971
cmp word [ecx], dx
je 0x43a971
mov eax, dword [0x449c64]
push edi
dec eax
push eax
push 0x449b50
call fcn.0043aaea
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x43a9e4
cmp word [eax], dx
je 0x43a9e4
mov eax, dword [edi]
test eax, eax
je 0x43a995
cmp word [eax], dx
je 0x43a995
lea eax, [ebp - 0x10]
push eax
call fcn.0043ab51
jmp 0x43a99e
lea eax, [ebp - 0x10]
push eax
call fcn.0043ae40
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x43aa0e
mov eax, dword [0x449b4c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x449840
call fcn.0043aaea
add esp, 0xc
test al, al
je 0x43aa0e
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x43a9d9
cmp word [eax], di
je 0x43a9d9
lea eax, [ebp - 0x10]
push eax
call fcn.0043ab51
pop ecx
jmp 0x43aa10
lea eax, [ebp - 0x10]
push eax
call fcn.0043ae40
jmp 0x43a9d6
mov eax, dword [edi]
test eax, eax
je 0x43a9fb
cmp word [eax], dx
je 0x43a9fb
lea eax, [ebp - 0x10]
push eax
call fcn.0043af70
pop ecx
jmp 0x43aa0e
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x43aad9
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0043b05e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43aad9
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x43aad9
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x43aad9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43aa66
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00435fc2
test ebx, ebx
je 0x43aad4
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00435fc2
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43aad9
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43aad9
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0044311d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x43aadb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428334
leave
ret
Function at 0x43b164
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004355cd
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43b1d3
cmp esi, dword [ebp - 4]
je 0x43b1ce
cmp dword [ebp + 0xc], 0
je 0x43b1ce
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43b1ab
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0043b22d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x43b1d5
xor eax, eax
inc eax
jmp 0x43b1d5
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x43c399
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.00426540
mov eax, dword [0x45c3f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00438d55
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x43c3db
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x43c552
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00442d30
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1014], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x45dc08]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0043c129
mov ecx, dword [esi*4 + 0x45dc08]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x1020], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x43c54b
cmp eax, dword [edi + ecx + 0x24]
jne 0x43c54b
xor esi, esi
lea eax, [ebp - 0x101c]
push esi
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43c54b
push dword [ebp - 0x100c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043c129
add esp, 0x14
cmp edx, esi
jl 0x43c54b
jg 0x43c4a6
cmp eax, esi
jb 0x43c54b
mov ebx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x101c]
cmp ebx, esi
jg 0x43c54b
jl 0x43c4c8
cmp dword [ebp - 0x1008], eax
ja 0x43c54b
lea edi, [ebp - 0x1004]
xorps xmm0, xmm0
add edi, eax
movlpd qword [ebp - 0x1018], xmm0
lea ecx, [ebp - 0x1004]
cmp dword [ebp - 0x1008], esi
jne 0x43c4ed
cmp ebx, esi
je 0x43c532
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1018]
cmp ecx, edi
jae 0x43c532
mov al, byte [ecx]
cmp al, 0xd
jne 0x43c513
lea eax, [edi - 1]
cmp ecx, eax
jae 0x43c51f
cmp byte [ecx + 1], 0xa
jne 0x43c51f
inc ecx
jmp 0x43c51f
movzx eax, al
movsx eax, byte [eax + 0x45cd10]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x43c4f9
cmp edx, ebx
jne 0x43c4f9
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x1020]
jmp 0x43c550
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00428334
leave
ret
Function at 0x43c95e
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 0x43c9fb
push ebx
push esi
call fcn.0043c9fe
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.00435483
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x43c9a8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43c9fa
push edi
push eax
call fcn.00435370
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x43c9c8
call fcn.00435320
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43c9f9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00435483
add esp, 0x20
test eax, eax
jne 0x43c9e7
push edi
call fcn.00435320
jmp 0x43c9ef
push ebx
call fcn.00435320
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 0x43df1e
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x43df38
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x43df4f
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x43dfa7
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.0043ca35
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x43dfa7
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x43dfa7
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x43dfa7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x43dfa1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x43dfa3
xor bl, bl
mov al, bl
jmp 0x43dfa9
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x43e7ee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x45dc08]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43e830
cmp byte [ebx], 0xa
jne 0x43e830
or byte [edi + eax + 0x28], 4
jmp 0x43e835
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x43e938
mov cl, byte [eax]
cmp cl, 0x1a
je 0x43e913
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x43e864
mov eax, dword [ebp - 8]
jmp 0x43e884
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x43e8a0
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x43e87e
add eax, 2
mov cl, 0xa
jmp 0x43e881
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x43e846
jmp 0x43e938
push 0
lea eax, [ebp - 0x10]
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 0x43e90e
cmp dword [ebp - 0x10], 0
je 0x43e90e
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x45dc08]
test byte [eax + edi + 0x28], 0x48
je 0x43e8ed
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x43e8dd
mov byte [esi], 0xa
jmp 0x43e937
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x45dc08]
mov byte [eax + edi + 0x2a], cl
jmp 0x43e937
cmp byte [ebp - 1], 0xa
jne 0x43e8f7
cmp esi, ebx
je 0x43e8d8
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043c0cb
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x43e938
mov byte [esi], 0xd
jmp 0x43e937
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x45dc08]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x43e935
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x43e938
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43e941
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x45dc08]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x43e985
push 0xa
pop esi
cmp word [ebx], si
jne 0x43e985
or byte [eax + edi + 0x28], 4
jmp 0x43e98a
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x43eaf5
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x43eacd
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x43e9d7
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x43ea01
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x43ea20
push 0xa
pop ebx
cmp word [edx], bx
jne 0x43e9ee
push ebx
add eax, 4
pop edx
jmp 0x43e9f6
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x43e99c
jmp 0x43eaf5
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 0x43eac8
cmp dword [ebp - 0x14], 0
je 0x43eac8
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x45dc08]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x43eaa4
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x43ea6c
mov word [esi], ax
jmp 0x43eaf2
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x45dc08]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x45dc08]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x45dc08]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x43eaf2
cmp word [ebp - 4], ax
jne 0x43eaae
cmp esi, ebx
je 0x43ea64
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0043c0cb
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x43eaf5
push 0xd
pop eax
jmp 0x43ea64
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x45dc08]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x43eaef
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x43eaf5
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x15c64887
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
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
nop
mov esi, 0x29354855
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x41fb90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x41fbaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41fbb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41fba0
mov eax, 1
add ebx, ebx
jne 0x41fbc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41fbb8
jne 0x41fbd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41fbb8
xor ecx, ecx
sub eax, 3
jb 0x41fbe8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41fc5a
mov ebp, eax
add ebx, ebx
jne 0x41fbf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41fc00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41fc24
inc ecx
add ebx, ebx
jne 0x41fc10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41fc05
jne 0x41fc21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41fc05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41fc44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41fc35
jmp 0x41fba6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41fc44
add edi, ecx
jmp 0x41fba6
pop esi
mov edi, esi
mov ecx, 0x50
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41fc62
cmp byte [edi], 0
jne 0x41fc62
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 0x41fc67
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41fcd6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f240]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f2b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41fc94
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f2bc]
or eax, eax
je 0x41fcd0
mov dword [ebx], eax
add ebx, 4
jmp 0x41fcb1
call dword [esi + 0x1f2cc]
mov ebp, dword [esi + 0x1f2c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41fd0a
sub esp, 0xffffff80
jmp 0x4043dc
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x100012a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, 1
test esi, esi
je 0x100013e4
push edi
xor edi, edi
cmp byte [esi], 0
je 0x100013d2
inc edi
cmp byte [edi + esi], 0
jne 0x100012c4
test edi, edi
je 0x100013d2
xor eax, eax
mov ecx, edi
add ecx, ebx
adc eax, eax
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.10001ac0
mov edx, eax
add esp, 8
mov dword [ebp - 4], edx
test edx, edx
je 0x100013db
mov ecx, edx
mov al, byte [esi]
mov byte [ecx], al
lea esi, [esi + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x100012f7
lea eax, [edi + edx]
mov dword [ebp - 8], eax
xor edi, edi
mov esi, edx
nop
cmp esi, eax
jae 0x10001380
mov al, byte [esi]
mov byte [ebp + 0xf], al
movsx eax, al
cmp eax, 0x7c
ja case.0x10001328.32
movzx eax, byte [eax + 0x100013fc]
jmp dword [eax*4 + 0x100013ec]
xor ebx, ebx
jmp 0x10001375
test edi, edi
je case.0x10001328.0
lea eax, [edx - 1]
cmp edi, eax
jb case.0x10001328.0
xor edi, edi
jmp 0x10001375
test edi, edi
je 0x1000136c
push 0
push edx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10001367
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10001367
xor ebx, ebx
jmp 0x10001375
mov al, byte [ebp + 0xf]
mov byte [esi], al
xor edi, edi
jmp 0x10001375
test edi, edi
cmove edi, esi
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc esi
test ebx, ebx
jne 0x10001310
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x1c]
and edi, 1
je 0x10001397
lea eax, [edx - 4]
mov edx, eax
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x1000139e
mov dword [ebp + 0xc], 0
push edx
push 0
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x100013d2
test byte [esi + 0x1c], 2
je 0x100013bb
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0xc]
sub dword [esi + 0x28], ecx
add dword [esi + 0x2c], 0xfffffffc
test byte [esi + 0x1c], 2
je 0x100013d2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000132f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, 1
test esi, esi
je 0x100013e4
push edi
xor edi, edi
cmp byte [esi], 0
je 0x100013d2
inc edi
cmp byte [edi + esi], 0
jne 0x100012c4
test edi, edi
je 0x100013d2
xor eax, eax
mov ecx, edi
add ecx, ebx
adc eax, eax
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.10001ac0
mov edx, eax
add esp, 8
mov dword [ebp - 4], edx
test edx, edx
je 0x100013db
mov ecx, edx
mov al, byte [esi]
mov byte [ecx], al
lea esi, [esi + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x100012f7
lea eax, [edi + edx]
mov dword [ebp - 8], eax
xor edi, edi
mov esi, edx
nop
cmp esi, eax
jae 0x10001380
mov al, byte [esi]
mov byte [ebp + 0xf], al
movsx eax, al
cmp eax, 0x7c
ja case.0x10001328.32
movzx eax, byte [eax + 0x100013fc]
jmp dword [eax*4 + 0x100013ec]
xor ebx, ebx
jmp 0x10001375
test edi, edi
je case.0x10001328.0
lea eax, [edx - 1]
cmp edi, eax
jb case.0x10001328.0
xor edi, edi
jmp 0x10001375
test edi, edi
je 0x1000136c
push 0
push edx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10001367
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10001367
xor ebx, ebx
jmp 0x10001375
mov al, byte [ebp + 0xf]
mov byte [esi], al
xor edi, edi
jmp 0x10001375
test edi, edi
cmove edi, esi
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc esi
test ebx, ebx
jne 0x10001310
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x1c]
and edi, 1
je 0x10001397
lea eax, [edx - 4]
mov edx, eax
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x1000139e
mov dword [ebp + 0xc], 0
push edx
push 0
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x100013d2
test byte [esi + 0x1c], 2
je 0x100013bb
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0xc]
sub dword [esi + 0x28], ecx
add dword [esi + 0x2c], 0xfffffffc
test byte [esi + 0x1c], 2
je 0x100013d2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret