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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10079080]
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.1004d6d4
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.1004d6d4
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 0x10059e79
cmp word [ecx], dx
je 0x10059e79
mov eax, dword [0x10067ab4]
push edi
dec eax
push eax
push 0x100679a0
call fcn.10059da1
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10059eec
cmp word [eax], dx
je 0x10059eec
mov eax, dword [edi]
test eax, eax
je 0x10059e9d
cmp word [eax], dx
je 0x10059e9d
lea eax, [ebp - 0x10]
push eax
call fcn.10059784
jmp 0x10059ea6
lea eax, [ebp - 0x10]
push eax
call fcn.1005981f
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10059f16
mov eax, dword [0x1006799c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10067690
call fcn.10059da1
add esp, 0xc
test al, al
je 0x10059f16
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10059ee1
cmp word [eax], di
je 0x10059ee1
lea eax, [ebp - 0x10]
push eax
call fcn.10059784
pop ecx
jmp 0x10059f18
lea eax, [ebp - 0x10]
push eax
call fcn.1005981f
jmp 0x10059ede
mov eax, dword [edi]
test eax, eax
je 0x10059f03
cmp word [eax], dx
je 0x10059f03
lea eax, [ebp - 0x10]
push eax
call fcn.10059739
pop ecx
jmp 0x10059f16
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 0x10059fe1
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10059c26
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10059fe1
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10059fe1
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10059fe1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10059f6e
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10051418
test ebx, ebx
je 0x10059fdc
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10051418
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10059fe1
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 0x10059fe1
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1005d172
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10059fe3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039a71
leave
ret
Function at 0x1005a9fd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x100d6278]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1005aa3d
cmp byte [ebx], 0xa
jne 0x1005aa3d
or byte [edi + eax + 0x28], 4
jmp 0x1005aa42
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x1005ab41
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1005ab24
inc eax
cmp dl, 0xd
je 0x1005aa6e
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1005aa94
cmp eax, ecx
jae 0x1005aaa2
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x1005aa56
jmp 0x1005ab41
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 0x1005ab1f
cmp dword [ebp - 0x10], 0
je 0x1005ab1f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100d6278]
test byte [eax + edi + 0x28], 0x48
je 0x1005aaf9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1005aae4
mov byte [esi], dl
jmp 0x1005aaf5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100d6278]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1005ab41
cmp byte [ebp - 1], 0xa
jne 0x1005ab08
cmp esi, ebx
jne 0x1005ab08
mov byte [esi], 0xa
jmp 0x1005ab40
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10053553
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1005ab41
mov byte [esi], 0xd
jmp 0x1005ab40
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100d6278]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1005ab3e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1005ab41
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1005ab4a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100d6278]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1005ab90
cmp word [ebx], dx
jne 0x1005ab90
or byte [eax + edi + 0x28], 4
jmp 0x1005ab95
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1005acf8
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1005acd8
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1005abd6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1005ac0c
cmp eax, edx
jae 0x1005ac1a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1005abb1
jmp 0x1005acf8
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1005acd3
cmp dword [ebp - 0x18], 0
je 0x1005acd3
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100d6278]
test byte [eax + edi + 0x28], 0x48
je 0x1005aca9
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1005ac6d
mov word [esi], cx
jmp 0x1005aca4
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100d6278]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100d6278]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100d6278]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1005acf8
pop eax
cmp word [ebp - 4], ax
jne 0x1005acb9
cmp esi, ebx
jne 0x1005acb9
mov word [esi], ax
jmp 0x1005acf5
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10053553
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1005acf8
push 0xd
pop eax
jmp 0x1005acb4
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100d6278]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1005acf2
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1005acf8
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1005d4e1
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1005d45d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1005d650
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1005d650
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1005d605
jg 0x1005d53d
test eax, eax
je 0x1005d5fb
push 1
push 0x1000
call fcn.1004c1d2
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1005d560
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1005d5f2
push 0x8000
push ebx
call fcn.1005d38e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1005d589
jg 0x1005d584
cmp ecx, 0x1000
jb 0x1005d589
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1004fdc0
add esp, 0x10
cmp eax, 0xffffffff
je 0x1005d5ce
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 0x1005d584
jl 0x1005d5b5
test ecx, ecx
jne 0x1005d576
push dword [ebp - 0xc]
push ebx
call fcn.1005d38e
push esi
call fcn.1004c22f
add esp, 0xc
xor ebx, ebx
jmp 0x1005d65e
cmp byte [edi + 0x24], 0
je 0x1005d5e5
cmp dword [edi + 0x20], 5
jne 0x1005d5e5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1005d5f0
mov ebx, dword [edi + 0x18]
jmp 0x1005d5f2
xor ebx, ebx
push esi
call fcn.1004c22f
pop ecx
jmp 0x1005d65e
test ecx, ecx
jg 0x1005d5c7
jl 0x1005d605
test eax, eax
jae 0x1005d5c7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10053553
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1005d625
cmp byte [edi + 0x1c], 0
je 0x1005d5c7
jmp 0x1005d656
push ebx
call fcn.1005a3bc
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1005d5c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1005d65e
cmp byte [edi + 0x1c], 0
je 0x1005d65b
mov ebx, dword [edi + 0x18]
jmp 0x1005d65e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10053553
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1005ec70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1005ec9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1005ec9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40193f
Capabilities:
Accept command line arguments

Disassembly:
inc eax
mov esi, 0x3f9218
mov edi, dword [0x43eda4]
add esi, 0x8c25
lea ebx, [edi + 0x457]
mov edx, 0x14b
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x19
jne 0x401970
movzx ecx, byte [esi]
mov al, 0
rep stosb byte es:[edi], al
inc esi
dec edx
je 0x401974
jmp 0x401971
stosb byte es:[edi], al
dec edx
jne 0x40195e
xchg ebx, edi
push edi
mov ecx, 0x19e1
lodsb al, byte [esi]
stosb byte es:[edi], al
loop 0x40197c
mov dword [0x43e371], edi
add edi, 0xf
mov ecx, 0xfb9
lodsb al, byte [esi]
stosb byte es:[edi], al
loop 0x40198e
pop edi
push edi
mov ecx, 0x29a9
shr ecx, 1
neg byte [edi]
rol byte [edi], 1
neg byte [edi]
inc edi
neg byte [edi]
rol byte [edi], 6
neg byte [edi]
inc edi
loop 0x40199b
pop edi
sub edi, 0x53
mov ecx, 0x57
mov dword [edi - 4], 0x50a065bf
mov eax, 0
rep stosb byte es:[edi], al
push esi
push ebx
mov ebx, edi
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
push edi
call sub.kernel32.dll_lstrlenA
mov ecx, eax
mov eax, 0x2f
repne scasb al, byte es:[edi]
test ecx, ecx
je 0x401a11
cmp dword [edi], 0x69627573
jne 0x401a0d
add edi, 6
mov esi, edi
mov eax, 0x20
repne scasb al, byte es:[edi]
cmp byte [edi - 1], 0x20
jne 0x4019ff
mov byte [edi - 1], 0
push esi
call fcn.0043c300
mov dword [0x43e299], edi
jmp 0x401a0f
jmp 0x4019db
jmp 0x401a19
inc esi
jmp 0x401a11
mov edi, ebx
stosd dword es:[edi], eax
push esi
push edi
call sub.kernel32.dll_lstrcpyA
mov eax, dword [0x43e299]
mov byte [eax - 1], 0x20
add edi, 0x32
mov ebx, edi
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
push edi
call sub.kernel32.dll_lstrlenA
mov ecx, eax
mov eax, 0x2f
repne scasb al, byte es:[edi]
test ecx, ecx
je 0x401a6c
cmp dword [edi], 0x69627570
jne 0x401a68
cmp word [edi + 4], 0x3d64
jne 0x401a68
movzx eax, byte [edi + 6]
cmp eax, 0x20
jne 0x401a6a
xor eax, eax
jmp 0x401a6a
jmp 0x401a45
jmp 0x401a71
mov eax, 0
mov edi, ebx
stosb byte es:[edi], al
pop ebx
pop esi
mov eax, dword [0x4451c6]
stosd dword es:[edi], eax
mov eax, dword [0x4451ca]
stosd dword es:[edi], eax
mov eax, dword [0x4451ce]
stosd dword es:[edi], eax
movzx eax, byte [0x43e370]
stosb byte es:[edi], al
call fcn.00401af7
mov eax, 0x444e2d
mov ecx, 2
call fcn.004018cf
test eax, eax
jle 0x401d7f
push eax
push edx
push ecx
mov byte [esp + 2], 0x52
sub byte [esp + 2], 5
mov byte [esp + 3], 0x5a
mov dword [esp + 4], 0x30090
push 0x2dfb
push dword [0x43eda4]
sub dword [esp], 0xeac38f
add dword [esp], 0xeac391
add dword [esp], 3
push eax
push 5
lea ecx, [esp]
add ecx, 0x12
push ecx
push eax
push 0x401b1b
inc dword [esp]
ret
call sub.kernel32.dll_ExitProcess
Function at 0x404c24
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
nop
lea eax, [ebp - 0x44]
push eax
call sub.kernel32.dll_GetStartupInfoA
mov eax, dword [ebp - 0x18]
and eax, 1
cmp eax, 0
je 0x404c52
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x50], eax
jmp 0x404c5a
mov eax, 0xa
mov dword [ebp - 0x50], eax
mov eax, 0
mov dword [ebp - 0x48], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
cmp eax, 0
je 0x404c89
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.msvcrt.dll_strstr
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, 0
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jne 0x404caf
mov eax, 0x408d78
push eax
call sub.msvcrt.dll__strdup
add esp, 4
mov dword [ebp - 0x48], eax
jmp 0x404cd8
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
cmp eax, ecx
jbe 0x404cd8
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x404cd8
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
mov dword [ebp - 0x48], eax
mov eax, 0x30000
push eax
mov eax, 0x10000
push eax
call sub.msvcrt.dll__controlfp
add esp, 8
mov eax, 0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, 0
push ecx
push eax
call fcn.004048da
leave
ret
Function at 0x433a01
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441480]
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.00426e53
and dword [ebp - 0x14], 0
cmp dword [0x444984], 0
mov dword [ebp - 0x18], eax
jne 0x433ab4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x433b5c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x433b5c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x444984], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x444988], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44498c], eax
call edi
push eax
call esi
mov dword [0x444994], eax
test eax, eax
je 0x433ab4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x444990], eax
mov eax, dword [0x444990]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x433b0d
cmp dword [0x444994], ecx
je 0x433b0d
push eax
call esi
push dword [0x444994]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x433b0d
test ebx, ebx
je 0x433b0d
call edi
test eax, eax
je 0x433b04
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x433b04
test byte [ebp - 8], 1
jne 0x433b0d
or dword [ebp + 0x10], 0x200000
jmp 0x433b40
mov eax, dword [0x444988]
cmp eax, dword [ebp - 0x18]
je 0x433b40
push eax
call esi
test eax, eax
je 0x433b40
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x433b40
mov eax, dword [0x44498c]
cmp eax, dword [ebp - 0x18]
je 0x433b40
push eax
call esi
test eax, eax
je 0x433b40
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x444984]
call esi
test eax, eax
je 0x433b5c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x433b5e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420bc6
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x4da4214b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x309c3929
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401060
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x401080
push 0x1048
call fcn.0040585b
add esp, 4
mov dword [ebx + 4], eax
push 0x1048
push 0
push eax
call fcn.00406ca0
add esp, 0xc
mov eax, 0x48
nop word [eax + eax]
mov esi, 0x40
nop word [eax + eax]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + str._nextafter]
mov dword [eax + edx], ecx
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0x422934]
mov dword [eax + edx + 4], ecx
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0x422938]
mov dword [eax + edx + 8], ecx
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0x42293c]
mov dword [eax + edx + 0xc], ecx
add eax, 0x10
sub esi, 1
jne 0x4010b0
cmp eax, 0x1048
jl 0x4010a0
xor eax, eax
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor ecx, ecx
movzx edx, byte [eax + edi]
inc eax
cmp eax, dword [ebp + 0xc]
cmovl ecx, eax
shl edx, 8
movzx esi, byte [ecx + edi]
lea eax, [ecx + 1]
or esi, edx
xor ecx, ecx
cmp eax, dword [ebp + 0xc]
cmovl ecx, eax
shl esi, 8
xor edx, edx
movzx edi, byte [ecx + edi]
lea eax, [ecx + 1]
or edi, esi
cmp eax, dword [ebp + 0xc]
mov esi, dword [ebp - 4]
cmovl edx, eax
mov eax, dword [ebp + 8]
shl edi, 8
mov ecx, dword [esi + 0x423978]
movzx eax, byte [edx + eax]
inc edx
or eax, edi
xor ecx, eax
mov eax, dword [ebx + 4]
mov dword [esi + eax], ecx
add esi, 4
xor eax, eax
mov dword [ebp - 4], esi
cmp edx, dword [ebp + 0xc]
cmovl eax, edx
cmp esi, 0x48
jl 0x4010f7
mov dword [ebp + 0xc], 0
xor esi, esi
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
mov ecx, ebx
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004011e0
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi + ecx], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [esi + ecx + 4], eax
add esi, 8
cmp esi, 0x48
jl 0x401170
mov esi, 0x4c
nop
mov edi, 0x80
lea eax, [ebp + 8]
mov ecx, ebx
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004011e0
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi + ecx - 4], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [esi + ecx], eax
add esi, 8
sub edi, 1
jne 0x4011a5
cmp esi, 0x104c
jl 0x4011a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4011e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
mov edx, dword [edx]
mov esi, dword [ecx + 4]
mov eax, dword [eax]
push edi
mov dword [ebp - 4], edx
mov edi, esi
mov dword [ebp - 8], 0x10
xor eax, dword [edi]
lea edi, [edi + 4]
mov edx, eax
mov dword [ebp - 0xc], eax
mov ebx, eax
shr edx, 8
mov ecx, edx
shr ecx, 8
mov eax, ecx
movzx ecx, cl
shr eax, 8
mov eax, dword [esi + eax*4 + 0x48]
add eax, dword [esi + ecx*4 + 0x448]
movzx ecx, dl
mov edx, ebx
xor eax, dword [esi + ecx*4 + 0x848]
movzx ecx, bl
add eax, dword [esi + ecx*4 + 0xc48]
xor eax, dword [ebp - 4]
sub dword [ebp - 8], 1
mov dword [ebp - 4], edx
jne 0x401202
mov ecx, dword [esi + 0x44]
xor ecx, edx
mov edx, dword [ebp + 8]
pop edi
mov dword [edx], ecx
mov ecx, dword [esi + 0x40]
xor ecx, eax
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8