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

Disassembly:
sub esp, 0x74
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [0x10178b38]
push ebx
push ebp
mov ebp, edx
push esi
push edi
mov edi, ecx
test eax, eax
je 0x1003da5b
push 0x28a
call eax
add esp, 4
test eax, eax
je 0x1003da5b
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
push eax
push 3
push 0
push 0xc0000006
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp byte [edi + 0x2b], 2
mov eax, dword [edi + 0x20]
mov esi, dword [eax]
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x10], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [esp + 0x30], xmm0
je 0x1003da8e
mov eax, dword [edi + 4]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x3c]
call eax
add esp, 4
movups xmm0, xmmword [esi + 0x30]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [esi + 0x50]
mov esi, 0x2c
movups xmmword [esp + 0x60], xmm0
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003db8c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003dab6
cmp byte [esp + 0x1c], 0
je 0x1003db8c
lea eax, [esp + 0x70]
mov ecx, 1
push eax
push 0
push 0x28
lea edx, [esp + 0x1c]
call fcn.1003bbe0
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp eax, dword [esp + 0x38]
jne 0x1003db8c
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x3c]
jne 0x1003db8c
lea ecx, [edi + 0x34]
mov esi, 0x2c
lea edx, [esp + 0x10]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003db3e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003db18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1013942d
add esp, 0x74
ret
movups xmm0, xmmword [esp + 0x10]
mov dword [ebp], 1
movups xmmword [edi + 0x34], xmm0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [edi + 0x44], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [edi + 0x54], xmm0
movzx ecx, word [edi + 0x42]
mov eax, ecx
and ecx, 0xfe00
and eax, 1
shl eax, 0x10
add eax, ecx
mov dword [edi + 0x24], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1013942d
add esp, 0x74
ret
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1013942d
add esp, 0x74
ret
Function at 0x10054af0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x10054b1d
push esi
lea esi, [edx + 1]
nop dword [eax + eax]
mov ecx, dword [eax + 0x98]
mov edx, esi
xor edx, ecx
and edx, 3
xor edx, ecx
mov dword [eax + 0x98], edx
mov eax, dword [eax + 8]
test eax, eax
jne 0x10054b00
pop esi
ret
Function at 0x10061df0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ebx, edx
push 0
push 0x14
mov dword [esp + 0x1c], ebx
mov dword [ebp], 0
call fcn.10027b10
mov esi, eax
add esp, 8
test esi, esi
jne 0x10061e23
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [0x10178a3c], 0
je 0x10061e6f
mov eax, dword [0x10178b38]
test eax, eax
je 0x10061e43
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x10061e6f
mov eax, dword [esp + 0x1c]
lea edi, [esi + 8]
mov dword [edi], ebx
lea ebx, [esi + 4]
push ebx
push 0
push esi
push 0x1002b000
push 0
push 0
mov dword [esi + 0xc], eax
call fcn.1013cdbf
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x10061e82
jmp 0x10061e75
lea edi, [esi + 8]
lea ebx, [esi + 4]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [edi], 0
jne 0x10061e9d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [esp + 0x1c]
mov dword [ebx], eax
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebp], esi
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x100eb7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebp, ecx
lea esi, [edi*8]
call fcn.100d8ee0
test eax, eax
jne 0x100eb971
push eax
push esi
call fcn.10027b10
mov ebx, eax
add esp, 8
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x100eb971
push esi
push 0
push ebx
call fcn.1013ad10
mov esi, dword [ebp + 0x10]
add esp, 0xc
test esi, esi
je 0x100eb898
cmp dword [0x10178a38], 0
je 0x100eb88e
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x100eb85c
push eax
call dword [0x10178a88]
add esp, 4
push esi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push esi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x100eb898
push eax
call dword [0x10178a90]
jmp 0x100eb895
push esi
call dword [0x10178a5c]
add esp, 4
cmp byte [ebp], 1
mov eax, 0x100eb6d0
mov ecx, 0x100eb750
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebp + 8]
cmovne eax, ecx
mov dword [ebp + 0xc], edi
mov dword [esp + 0x1c], eax
mov dword [ebp + 8], 0
test ebx, ebx
je 0x100eb967
lea ecx, [edi - 1]
mov dword [esp + 0x14], ecx
nop dword [eax]
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
cmp eax, 0x100eb750
jne 0x100eb900
xor eax, eax
test esi, esi
jle 0x100eb8f9
movsx ecx, byte [edi]
lea edx, [eax*8]
xor edx, ecx
lea edi, [edi + 1]
dec esi
xor eax, edx
test esi, esi
jg 0x100eb8e3
and eax, 0x7fffffff
jmp 0x100eb907
push esi
push edi
call eax
add esp, 8
mov ecx, dword [esp + 0x14]
mov esi, dword [ebx]
and ecx, eax
mov eax, dword [esp + 0x18]
lea edx, [eax + ecx*8]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x100eb93b
mov dword [ebx], ecx
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x100eb933
mov dword [eax], ebx
mov dword [ecx + 4], ebx
jmp 0x100eb954
mov dword [ebp + 8], ebx
mov dword [ecx + 4], ebx
jmp 0x100eb954
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x100eb94a
mov dword [eax + 4], ebx
mov dword [ebx + 4], 0
mov dword [ebp + 8], ebx
inc dword [edx]
mov eax, dword [esp + 0x1c]
mov dword [edx + 4], ebx
mov ebx, esi
test esi, esi
jne 0x100eb8d0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1010f210
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, edx
mov esi, ecx
xor edx, edx
mov ebp, 0x64
push edx
push edx
push edx
push edx
push edx
push edx
push str.sqlite_stat1
push dword [edi + 0x20]
mov dword [esp + 0x30], edx
push esi
call fcn.100dd1b0
add esp, 0x24
test eax, eax
je 0x1010f265
xor ecx, ecx
mov dword [edi + 0x30], 0x100000
cmp eax, 1
mov dword [edi + 0x34], 0
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x24]
push dword [edi + 0x20]
push str.SELECT_stat_FROM__Q.sqlite_stat1_WHERE_tbl___q_rowid
call fcn.1002a830
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1010f286
lea esi, [eax + 7]
jmp 0x1010f3ae
push 0
lea eax, [esp + 0x18]
mov edx, ebx
push eax
push 0
push 0x80
push 0xffffffffffffffff
mov ecx, esi
call fcn.1009fe60
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x1010f347
mov esi, dword [esp + 0x14]
push esi
call fcn.10055f30
add esp, 4
cmp eax, 0x64
jne 0x1010f33c
test esi, esi
je 0x1010f2fa
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1010f2d5
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1010f2e7
xor eax, eax
cmp ax, word [esi + 0x90]
jb 0x1010f2ff
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov ecx, 0x10162818
call fcn.1004e6e0
mov dword [esp + 0x10], edx
mov ebp, eax
test esi, esi
je 0x1010f33c
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1010f321
test edx, edx
jne 0x1010f321
xor eax, eax
jmp 0x1010f326
call fcn.10028630
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1010f33c
push eax
call dword [0x10178a90]
add esp, 4
push esi
call fcn.10054ee0
add esp, 4
mov esi, eax
cmp dword [0x10178a38], 0
je 0x1010f395
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x1010f363
push eax
call dword [0x10178a88]
add esp, 4
push ebx
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push ebx
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x1010f39f
push eax
call dword [0x10178a90]
jmp 0x1010f39c
push ebx
call dword [0x10178a5c]
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x1010f3ae
jg 0x1010f3b5
cmp ebp, 0x64
ja 0x1010f3b5
mov ebp, 0x64
xor eax, eax
mov dword [edi + 0x34], eax
mov eax, esi
mov dword [edi + 0x30], ebp
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10110960
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, edx
mov dword [esp + 0xc], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov edi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov esi, dword [edi + ebx*4 + 0x18]
test esi, esi
jne 0x101109a5
push dword [edi + 8]
push dword [edi + 4]
push dword [esp + ebx*4 + 0x14]
push edi
call fcn.101105f0
mov esi, eax
add esp, 0x10
mov dword [edi + ebx*4 + 0x18], esi
cmp dword [edi + 0x28], 0
jne 0x10110af4
push dword [ebp + 0xc]
push dword [ebp + 8]
push 1
push esi
call fcn.10057670
push esi
call fcn.10055f30
add esp, 0x14
cmp eax, 0x65
jne 0x101109fc
mov edx, dword [ebp + 0xc]
mov ecx, str.__parent
test ebx, ebx
mov eax, str.__rowid
cmove eax, ecx
push eax
push dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push edx
push eax
push str.Mapping___lld_____lld__missing_from__s_table
push edi
call fcn.101106c0
add esp, 0x1c
jmp 0x10110ae2
cmp eax, 0x64
jne 0x10110ae2
test esi, esi
jne 0x10110a1c
mov ecx, 0x10162818
call fcn.1004e6e0
mov ebx, eax
mov ecx, edx
jmp 0x10110a9e
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10110a2f
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x10110a41
xor eax, eax
cmp ax, word [esi + 0x90]
jb 0x10110a59
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov ecx, 0x10162818
call fcn.1004e6e0
mov ebx, eax
mov ecx, edx
mov eax, dword [esi]
mov edx, dword [esi + 0x24]
mov dword [esp + 0xc], ecx
cmp byte [eax + 0x57], 0
jne 0x10110a79
test edx, edx
jne 0x10110a79
xor eax, eax
jmp 0x10110a84
mov ecx, eax
call fcn.10028630
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10110a9e
push eax
call dword [0x10178a90]
mov ecx, dword [esp + 0x10]
add esp, 4
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
cmp ebx, edx
jne 0x10110aac
cmp ecx, eax
je 0x10110ae2
cmp dword [esp + 0x14], 0
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, str.__rowid
mov dword [esp + 0x1c], str.__parent
cmove eax, dword [esp + 0x1c]
push eax
push ecx
push ebx
push edx
push dword [ebp + 8]
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push edi
call fcn.101106c0
add esp, 0x2c
push esi
call fcn.10054fa0
add esp, 4
cmp dword [edi + 0x28], 0
jne 0x10110af4
mov dword [edi + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10115540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [ecx], eax
test edi, edi
je 0x101156a3
mov ebx, dword [ebp + 0xc]
lea edx, [eax + 0xd]
lea esi, [ebx - 1]
test esi, esi
js 0x10115597
mov ebx, dword [ebp + 8]
nop word [eax + eax]
movsx ecx, byte [ebx + esi]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
sub esi, 1
jns 0x10115580
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
lea eax, [edx*8]
xor eax, edx
xor eax, ecx
and eax, 0x1ff
lea eax, [edi + eax*4]
mov edi, dword [eax]
mov dword [esp + 0x18], eax
test edi, edi
je 0x1011561e
cmp dword [edi + 8], ecx
jne 0x10115617
cmp dword [edi + 4], ebx
jne 0x10115617
mov edx, dword [edi]
mov ecx, ebx
mov esi, dword [ebp + 8]
sub ecx, 4
jb 0x101155e1
nop
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x101155e6
add edx, 4
add esi, 4
sub ecx, 4
jae 0x101155d0
cmp ecx, 0xfffffffc
je 0x1011562e
mov al, byte [edx]
cmp al, byte [esi]
jne 0x10115613
cmp ecx, 0xfffffffd
je 0x1011562e
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x10115613
cmp ecx, 0xfffffffe
je 0x1011562e
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x10115613
cmp ecx, 0xffffffff
je 0x1011562e
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x1011562e
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x101155b8
lea edi, [ebx + 0x10]
xor esi, esi
call fcn.100d8ee0
test eax, eax
je 0x10115640
jmp 0x10115650
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.10027b10
mov esi, eax
add esp, 8
test esi, esi
jne 0x1011566c
test edi, edi
je 0x1011565b
mov eax, 7
jmp 0x1011565d
xor eax, eax
mov dword [esp + 0x14], eax
test esi, esi
jne 0x10115678
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0
push esi
call fcn.1013ad10
add esp, 0xc
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x10]
push ebx
push dword [ebp + 8]
mov dword [esi], eax
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], edx
call fcn.1013c1a0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [ecx]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [ecx], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101375a0
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
mov dword [esp + 4], edx
cmp ecx, 0x80
jge 0x101375bf
lea edx, [ecx - 0x41]
cmp edx, 0x19
lea eax, [ecx + 0x20]
cmova eax, ecx
add esp, 8
ret
cmp ecx, 0x10000
jge 0x1013766a
push ebx
push ebp
xor edx, edx
mov ebx, 0xa2
push esi
push edi
mov dword [esp + 0x10], edx
or ebp, 0xffffffff
nop dword [eax]
lea eax, [edx + ebx]
mov esi, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
movzx edx, word [edi*4 + 0x10160000]
lea eax, [edi - 1]
sub esi, edx
mov edx, edi
cmovs edx, ebp
test esi, esi
mov ebp, edx
lea edx, [edi + 1]
cmovs edx, dword [esp + 0x10]
cmovs ebx, eax
mov dword [esp + 0x10], edx
cmp ebx, edx
jge 0x101375e0
movzx edx, word [ebp*4 + 0x10160000]
movzx eax, byte [ebp*4 + 0x10160003]
add eax, edx
cmp ecx, eax
jge 0x1013764e
movzx eax, byte [ebp*4 + 0x10160002]
xor edx, ecx
and edx, eax
test edx, 1
jne 0x1013764e
shr eax, 1
movzx eax, word [eax*2 + 0x101614d0]
add eax, ecx
movzx ecx, ax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x10137678
xor edx, edx
cmp eax, 2
sete dl
add esp, 8
jmp fcn.101016b0
lea eax, [ecx - 0x10400]
cmp eax, 0x27
lea eax, [ecx + 0x28]
jbe 0x1013767a
mov eax, ecx
add esp, 8
ret

Function at 0x1014b340
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1014b36d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1014b36d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4038f7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040f6], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404650], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045e4], eax
mov dword [0x4040ee], eax
mov dword [0x4045d0], 0x30
mov dword [0x4045d4], 2
jmp 0x40393c
mov dword [0x4045d8], 0x40321a
mov dword [0x4045dc], 0
mov dword [0x4045e0], 0
mov dword [0x4045f8], 0x40454d
mov dword [0x4045f0], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045e8], eax
mov dword [0x4045fc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045ec], eax
push 0x4045d0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040ee]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.lofegaswer_huijd
push str.lisclass
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404648], eax
push 5
push dword [0x404648]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404648]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404600]
jmp 0x403a10
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a02
mov eax, dword [0x404608]
jmp 0x403a2b
call 0x402c21
ret
Function at 0x40310d
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x401ca8
call fcn.0040341c
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x403148
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403148
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x403160
cmp eax, 0x20b
je 0x40314d
mov dword [ebp - 0x1c], edi
jmp 0x403174
cmp dword [ecx + 0x84], 0xe
jbe 0x403148
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x40316e
cmp dword [ecx + 0x74], 0xe
jbe 0x403148
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.MSVCR70.dll___set_app_type]
pop ecx
or dword [0x5248c4], 0xffffffff
or dword [0x5248c8], 0xffffffff
call dword [sym.imp.MSVCR70.dll___p__fmode]
mov ecx, dword [0x5248b8]
mov dword [eax], ecx
call dword [sym.imp.MSVCR70.dll___p__commode]
mov ecx, dword [0x5248b4]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR70.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x5248c0], eax
call fcn.00403378
call fcn.00403418
cmp dword [0x419030], edi
jne 0x4031d4
push fcn.00403418
call dword [sym.imp.MSVCR70.dll___setusermatherr]
pop ecx
call fcn.00403406
push 0x419010
push 0x41900c
call sub.MSVCR70.dll__initterm
push 0x4033bc
call fcn.00403366
mov eax, dword [0x5248b0]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x5248ac]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR70.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp eax, edi
jge 0x403228
push 8
call sub.MSVCR70.dll__amsg_exit
pop ecx
push 0x419008
push section..data
call sub.MSVCR70.dll__initterm
call dword [sym.imp.MSVCR70.dll___p___winitenv]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.004030d1
add esp, 0x14
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x403264
push esi
call dword [sym.imp.MSVCR70.dll_exit]
call dword [sym.imp.MSVCR70.dll__cexit]
jmp 0x403299
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00403457
ret
Function at 0x4098a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov cx, word [ebp + 0x14]
or word [eax + 0x84], 0xffff
push ebx
push esi
push edi
mov word [eax + 0x32], cx
mov cx, word [ebp + 0x10]
xor edx, edx
mov word [eax + 0x20], cx
push 9
pop ecx
mov ebx, 0x401d2c
mov esi, ebx
lea edi, [eax + 0x44]
rep movsd dword es:[edi], dword [esi]
movzx ecx, word [ebp + 0x14]
mov esi, dword [ebp + 0xc]
imul ecx, ecx, 0x38
mov byte [eax], 0x47
mov byte [eax + 1], 0x44
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x1c], 3
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x6c], edx
mov dword [eax + 0x70], edx
mov dword [eax + 0x68], edx
mov word [eax + 0x22], 0x7fff
mov word [eax + 0x24], 0x7fff
mov word [eax + 0x26], 0x8000
mov word [eax + 0x28], 0x8000
mov word [eax + 0x86], dx
mov dword [eax + 0x88], edx
mov word [eax + 0x2a], dx
mov word [eax + 0x2e], dx
mov dword [eax + 0x34], 2
mov dword [eax + 0x38], edx
mov word [eax + 0x3c], dx
mov word [eax + 0x3e], dx
mov word [eax + 0x40], dx
mov word [eax + 0x42], dx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov dword [eax + 0x80], edx
mov esi, dword [esi + 8]
add ecx, esi
push 9
mov dword [eax + 0x8c], ecx
mov word [ecx + 0x28], dx
pop ecx
mov esi, ebx
lea edi, [eax + 0x90]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [eax + 0xb4], 1
pop ebx
pop ebp
ret 0x10
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:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x42e000
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
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x28d30884
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
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
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x72f0553c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219