joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a631
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x447040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x48]
push 5
pop ecx
mov eax, dword [ebp + 8]
mov esi, str.tZXPbU_nToDMK__
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [ebp - 0x20], edx
push 0x37
mov dword [ebp - 0x1c], eax
movsb byte es:[edi], byte [esi]
mov esi, ecx
pop edi
xor edx, edx
mov eax, esi
div edi
add dl, 0x32
xor byte [ebp + esi - 0x48], dl
inc esi
cmp esi, 0x15
jl 0x41a66a
mov esi, str.YVF_S__v_v
lea edi, [ebp - 0x30]
push 0x37
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 0xd
jl 0x41a68c
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
call eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x12]
and eax, 0xf
pop edi
lea ecx, [ecx - 0x3c]
shl ecx, 4
or ecx, eax
mov eax, dword [ebp - 0xe]
shl ecx, 5
and eax, 0x1f
or ecx, eax
mov eax, dword [ebp - 0xc]
mov word [ebx], cx
mov ecx, dword [ebp - 0xa]
and ecx, 0x3f
shl eax, 6
or ecx, eax
mov eax, dword [ebp - 8]
add eax, eax
shl ecx, 5
and eax, 0x1f
or ecx, eax
mov eax, dword [ebp - 0x20]
pop esi
pop ebx
mov word [eax], cx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bdfa
leave
ret
Function at 0x41a775
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x447040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp byte [esi + 0x2d], 0
je 0x41a7f6
mov ecx, dword [esi + 0x3c]
mov eax, ecx
test ecx, ecx
je 0x41a7b0
cmp dword [esi + 0x40], edi
jae 0x41a7b0
push ecx
call fcn.0041c1d0
and dword [esi + 0x3c], 0
pop ecx
jmp 0x41a7b4
test eax, eax
jne 0x41a7c4
lea eax, [edi + edi]
push eax
call fcn.0041c1d5
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push ebx
push eax
call fcn.0041d350
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x41a7f3
lea eax, [esi + 0x30]
mov edx, dword [esi + 0x3c]
mov ecx, eax
mov dl, byte [edx + ebx]
call fcn.0041a406
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
lea eax, [esi + 0x30]
cmp ebx, edi
jb 0x41a7d8
mov ebx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41a825
mov edx, dword [esi + 0x24]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x28]
jb 0x41a811
mov dword [esi + 0x14], 0x30000
jmp 0x41a847
push edi
add ecx, edx
push ebx
push ecx
call fcn.0041d350
add esp, 0xc
mov eax, edi
add dword [esi + 0x24], edi
jmp 0x41a849
mov eax, dword [esi + 4]
test eax, eax
je 0x41a840
push 0
lea ecx, [ebp - 8]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
jmp 0x41a849
mov dword [esi + 0x14], 0x1000000
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bdfa
leave
ret 8
Function at 0x41a8b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x447040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str.uV_yYTYUnRQX_
lea edi, [ebp - 0x44]
push 0x37
mov ebx, ecx
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x44], dl
inc ecx
cmp ecx, 0xd
jl 0x41a8d7
mov esi, str.YVF_S__v_v
lea edi, [ebp - 0x34]
push 0x37
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 0xd
jl 0x41a8fb
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 5
pop ecx
mov esi, str.aJGASZlPWhRxV__
mov dword [ebp - 0x24], eax
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
push 0x37
xor ecx, ecx
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x6c], dl
inc ecx
cmp ecx, 0x15
jl 0x41a939
mov esi, str.YVF_S__v_v
lea edi, [ebp - 0x54]
push 0x37
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x54], dl
inc ecx
cmp ecx, 0xd
jl 0x41a95d
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x24]
mov esi, eax
test edx, edx
je 0x41aa4f
test esi, esi
je 0x41aa4f
mov ecx, dword [ebp + 8]
xor eax, eax
and dword [ebx + 0x8c], 0
mov dword [ebx + 0x7c], eax
mov byte [ebx + 0x80], al
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x84], ecx
mov dword [ebx + 0x88], eax
test ecx, ecx
je 0x41aa48
test eax, eax
je 0x41aa48
mov dword [ebx + 0x70], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebx + 0x4c], 0x80000000
mov byte [ebx + 0x6c], 1
call edx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call esi
push dword [ebp - 8]
lea edx, [ebp - 0x24]
push dword [ebp - 0xc]
lea ecx, [ebp - 0x20]
call fcn.0041a631
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
sub ecx, 0xd53e8000
push 0
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.00432750
movzx ecx, word [ebp - 0x20]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x60], eax
movzx eax, word [ebp - 0x24]
shl ecx, 0x10
or ecx, eax
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x5c], edx
xor eax, eax
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x68], ecx
jmp 0x41aa54
mov eax, 0x10000
jmp 0x41aa54
mov eax, 0x40000
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bdfa
leave
ret 8
Function at 0x41aa7a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x447040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x41aadc
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
cmp eax, esi
jae 0x41ab14
sub esi, eax
cmp esi, dword [ebp + 0xc]
cmova esi, dword [ebp + 0xc]
add eax, ecx
push esi
push eax
push ebx
call fcn.0041d350
mov ecx, dword [edi + 0x78]
mov edx, ebx
add dword [edi + 0x8c], esi
add dword [edi + 0x74], esi
push esi
call fcn.0041a2d9
add esp, 0x10
mov dword [edi + 0x78], eax
mov eax, esi
jmp 0x41ab16
cmp dword [edi + 0x7c], 0
je 0x41ab0d
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ab14
mov esi, dword [ebp - 8]
mov edx, ebx
mov ecx, dword [edi + 0x78]
add dword [edi + 0x74], esi
push esi
call fcn.0041a2d9
pop ecx
jmp 0x41aad5
mov dword [edi + 0x14], 0x1000000
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bdfa
leave
ret 8
Function at 0x41cae7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41cb26
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41cb26
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41cb26
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41cb26
cmp dword [ecx + 0x74], 0xe
jbe 0x41cb26
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x426f39
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43b614
push 0x43b60c
push str.FlsAlloc
push 0x1f
call fcn.00426db8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x426f6d
push dword [ebp + 8]
mov ecx, esi
call dword [0x4381b4]
call esi
jmp 0x426f73
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x426fb7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43b624
push 0x43b61c
push str.FlsGetValue
push 0x21
call fcn.00426db8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x426fee
push dword [ebp + 8]
mov ecx, esi
call dword [0x4381b4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x426ff9
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43b62c
push 0x43b624
push str.FlsSetValue
push 0x22
call fcn.00426db8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x427033
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4381b4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42adea
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 0x42ae87
push ebx
push esi
call fcn.0042adb3
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.0042ad47
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42ae34
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42ae86
push edi
push eax
call fcn.00426b75
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42ae54
call fcn.00426b3b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42ae85
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042ad47
add esp, 0x20
test eax, eax
jne 0x42ae73
push edi
call fcn.00426b3b
jmp 0x42ae7b
push ebx
call fcn.00426b3b
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 0x4325c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4325ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4325ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x408898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x4088b5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088e3
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4088be
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x4088b7
jmp 0x4088a9
cmp edx, ebx
je 0x4088fc
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088e3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x43fbad
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5e8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fbf0
push str.SystemFunction040
push dword [0x46b5e8]
call edi
push str.SystemFunction041
push dword [0x46b5e8]
mov dword [0x46b5f0], eax
call edi
mov dword [0x46b5f4], eax
jmp 0x43fbf5
mov eax, dword [0x46b5f4]
cmp dword [0x46b5f0], 0
je 0x43fc06
test eax, eax
jne 0x43fcad
push 0x46b5ec
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fcb7
push str.CryptProtectMemory
push dword [0x46b5ec]
call edi
cmp dword [0x46b5f0], 0
mov dword [0x46b5f8], eax
jne 0x43fc6b
test eax, eax
jne 0x43fc6b
call dword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x28
push str.cryputil.cpp
call fcn.004037d3
jmp 0x43fcb7
push str.CryptUnprotectMemory
push dword [0x46b5ec]
call edi
cmp dword [0x46b5f4], 0
mov dword [0x46b5fc], eax
jne 0x43fcad
test eax, eax
jne 0x43fcad
call dword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x2d
jmp 0x43fc5f
mov dword [0x46b600], 1
pop edi
mov eax, esi
pop esi
ret

Function at 0x4410c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x4410d4
pop dword [ebp - 0x10]
mov eax, 0x5759496a
sub eax, 0x57153896
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x50d81
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x5071d1df
sub ecx, 0x507185b6
xor ebx, ebx
add ebx, eax
mov esi, 0x66b2d64a
sub esi, 0x666b684a
add esi, dword [ebp - 0x10]
mov edi, 0x967b78cd
xor dword [ebp - 8], ebx
mov edx, dword [esi]
sub edx, edi
xor dword [ebp - 4], 0xf951925e
mov dword [ebx], edx
sub dword [ebp - 0xc], 0x6b18a383
add ebx, 4
add esi, 0x3179f72c
sub esi, 0x3179f728
loop 0x44112a
add eax, 0x12377
mov ebx, eax
add eax, 5
mov ecx, 0x75e50b77
sub ecx, 0x75a50b77
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x402778
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402786
call dword [0x48d014]
or eax, eax
je 0x402787
ret
mov al, 1
jmp fcn.00402850

Function at 0x402790
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40279e
call dword [0x48d018]
or eax, eax
jne 0x40279f
ret
mov al, 2
jmp fcn.00402850

Function at 0x4027a8
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4027e0
test edx, edx
je 0x4027ca
push eax
mov eax, ecx
call dword [0x48d01c]
pop ecx
or eax, eax
je 0x4027d9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402850
mov dword [eax], edx
mov eax, ecx
call dword [0x48d018]
or eax, eax
jne 0x4027c3
ret
mov al, 1
jmp fcn.00402850
test edx, edx
je 0x4027f4
push eax
mov eax, edx
call dword [0x48d014]
pop ecx
or eax, eax
je 0x4027d9
mov dword [ecx], eax
ret

Function at 0x402850
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x490004]
test ecx, ecx
je 0x402860
pop edx
call ecx
dec eax
mov al, byte [eax + 0x402879]
jns 0x402874
call fcn.00406b10
mov eax, dword [eax + 4]
jmp fcn.00403b68

Function at 0x4029d8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402a07
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c58
jmp 0x402a25
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402960
mov edi, eax
test ebx, ebx
je 0x402a25
cmp dword [esi], 0
je 0x402a25
dec ebx
jmp 0x402a0e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402df8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402e90
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402e70
xor eax, eax
push ebp
push 0x402e69
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402eac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402e70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x403110
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40312a
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x40312a
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x403116
mov al, 0xa
jmp fcn.00402850
ret

Function at 0x40315c
Capabilities:
Terminate process

Disassembly:
cmp dword [0x490018], 0
je 0x402a7b
call dword [0x490018]
mov eax, 0xd2
jmp fcn.00403b68
push eax
push ecx
mov eax, dword [eax]
call fcn.0040312c
pop ecx
pop eax
je 0x40316b
jmp ebx
pop ecx
jmp 0x402a6c
Function at 0x403174
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.0040312c
mov eax, ebx
pop ebx
jne 0x403189
pop ecx
jmp 0x402a6c
ret

Function at 0x403a44
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4904a0
mov esi, 0x490034
mov edi, 0x490038
cmp byte [ebx + 0x24], 0
jne 0x403a73
cmp dword [edi], 0
je 0x403a73
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x403a62
cmp dword [0x49003c], 0
je 0x403aba
call fcn.004039c0
cmp byte [0x490044], 0
je 0x403aa0
mov edx, 0x48d024
mov eax, 0x490218
call fcn.004063ac
call fcn.0040632f
jmp 0x403ab3
push 0
push 0x48d044
push 0x48d024
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x49003c], eax
cmp byte [ebx + 0x24], 2
jne 0x403aca
cmp dword [esi], 0
jne 0x403aca
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00403894
cmp byte [ebx + 0x24], 1
jbe 0x403ada
cmp dword [esi], 0
je 0x403af7
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403af7
call fcn.00405db0
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x403af7
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.0040386c
cmp byte [ebx + 0x24], 1
jne 0x403b05
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403b10
call fcn.00403a10
cmp dword [ebx], 0
jne 0x403b1d
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x403aba

Function at 0x4041d8
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.0040419c
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.0040419c
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x404184
ret

Function at 0x404280
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.00402850
test ecx, ecx
je fcn.0040419c
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404184
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x404348
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x404387
cmp al, 0xb
je 0x404387
cmp al, 0xc
je 0x404391
cmp al, 0xd
je 0x4043a4
cmp al, 0xe
je 0x4043c2
cmp al, 0xf
je 0x404387
cmp al, 0x11
je 0x404387
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402850
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x404387
jmp 0x4043d6
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x404391
jmp 0x4043d6
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.00404348
dec edi
jg 0x4043a7
pop ebp
jmp 0x4043d6
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040431c
dec edi
jg 0x4043c5
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4043dc
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404348

Function at 0x404414
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x40445b
cmp al, 0xb
je 0x404475
cmp al, 0xc
je 0x40448c
cmp al, 0xd
je 0x40449b
cmp al, 0xe
je 0x4044b9
cmp al, 0xf
je 0x4044cf
cmp al, 0x11
je 0x4044de
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.00402850
cmp ecx, 1
mov eax, ebx
jg 0x40446c
call fcn.00403b74
jmp 0x4044ed
mov edx, ecx
call fcn.00403b98
jmp 0x4044ed
cmp ecx, 1
mov eax, ebx
jg 0x404483
call fcn.0040419c
jmp 0x4044ed
mov edx, ecx
call fcn.004041b4
jmp 0x4044ed
mov eax, ebx
add ebx, 0x10
call fcn.0040515c
dec edi
jg 0x40448c
jmp 0x4044ed
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.00404414
dec edi
jg 0x40449e
pop ebp
jmp 0x4044ed
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004043e8
dec edi
jg 0x4044bc
pop ebp
jmp 0x4044ed
mov eax, ebx
add ebx, 4
call fcn.00405e78
dec edi
jg 0x4044cf
jmp 0x4044ed
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00405a0c
dec edi
jg 0x4044de
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x4044f4
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404414

Function at 0x404500
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x40452c
mov edx, eax
add eax, esi
add edx, ebx
call fcn.00402920
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x40456b
cmp cl, 0xb
je 0x40457c
cmp cl, 0xc
je 0x40458d
cmp cl, 0xd
je 0x40459e
cmp cl, 0xe
je 0x4045be
cmp cl, 0xf
je 0x4045d7
cmp cl, 0x11
je 0x4045e8
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402850
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403bc8
mov eax, 4
jmp 0x4045f9
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004041d8
mov eax, 4
jmp 0x4045f9
lea edx, [esi + eax]
add eax, ebx
call fcn.004048bc
mov eax, 0x10
jmp 0x4045f9
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.0040461c
pop eax
jmp 0x4045f9
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.00404500
pop eax
jmp 0x4045f9
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405e90
mov eax, 4
jmp 0x4045f9
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405a48
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x40451a
pop ecx
sub ecx, eax
jle 0x404615
lea edx, [ebx + eax]
add eax, esi
call fcn.00402920
pop ebp
pop edi
pop esi
pop ebx
ret