joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404330
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0x28000000
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov cx, word [eax + 6]
mov word [ebp - 8], cx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
and eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jne 0x404468
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
lea edx, [ecx + edx - 1]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
sub ecx, 1
not ecx
and edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
lea eax, [edx + eax - 1]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x38]
sub edx, 1
not edx
and eax, edx
cmp eax, dword [ebp - 0x1c]
jbe 0x4043e2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
lea ecx, [eax + ecx - 1]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
sub eax, 1
not eax
and ecx, eax
mov dword [ebp - 0x28], ecx
jmp 0x4043e8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
and ecx, 0x2000000
je 0x404403
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0xc]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0xc], 0
jne 0x404468
cmp dword [ebp - 0x24], 5
jb 0x404468
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0xe9
jne 0x404466
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 1]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax + 5]
cmp edx, dword [ebp + 0xc]
je 0x404466
mov eax, dword [ebp - 0x20]
add eax, 5
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 5
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], 0
jmp 0x40441b
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 0
jne 0x40448e
movzx eax, word [ebp - 8]
sub eax, 1
mov word [ebp - 8], ax
movzx ecx, word [ebp - 8]
test ecx, ecx
jne 0x40436c
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x404f70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov byte [ebp - 0x21], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.00404f20
push 0
push 0
push 0
push 1
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call dword [0x408040]
test eax, eax
jl 0x405074
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push 0x8000000
push 2
push 0
lea edx, [ebp - 0x20]
push edx
push 0xf0005
mov eax, dword [ebp + 0x10]
push eax
call dword [0x4080c0]
test eax, eax
jl 0x405068
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 2
push 0
push 1
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x30]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [0x4080bc]
test eax, eax
jl 0x40505c
cmp dword [ebp - 0x30], 0
je 0x40505c
mov edx, dword [ebp - 0x30]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x405050
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x4550
jne 0x405050
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x30]
mov dword [ecx], edx
mov al, 1
jmp 0x405077
mov eax, dword [ebp - 0x30]
push eax
push 0xffffffffffffffff
call dword [0x4080b8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [0x408108]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [0x408108]
mov al, byte [ebp - 0x21]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405d00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x405d37
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x405d37
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x405d37
mov eax, dword [ebp - 4]
add eax, 0x28
jmp 0x405d39
xor eax, eax
mov esp, ebp
pop ebp
ret 4

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

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

Function at 0x1823058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x18231a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x182307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x182306a
add dl, dl
jne 0x1823089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x18230dc
xor eax, eax
add dl, dl
jne 0x1823096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x182317d
add dl, dl
jne 0x18230a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18230b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18230bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18230c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x18230d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1823075
mov eax, 1
add dl, dl
jne 0x18230ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18230f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x18230e1
sub eax, ebx
mov ebx, 1
jne 0x1823128
mov ecx, 1
add dl, dl
jne 0x182310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1823119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1823105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1823075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x182313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x182314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1823136
cmp eax, 0x7d00
jae 0x182316d
cmp eax, 0x500
jb 0x1823168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1823075
cmp eax, 0x7f
ja 0x1823170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1823075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x182319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1823075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x64b4dc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x3c]
add edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
jmp 0x64b525
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 0x10], edx
jge 0x64b572
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0xc]
jb 0x64b567
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 8]
cmp dword [ebp + 0xc], eax
jae 0x64b567
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
and eax, 0x20
test eax, eax
je 0x64b563
mov eax, 1
jmp 0x64b574
xor eax, eax
jmp 0x64b574
mov ecx, dword [ebp - 8]
add ecx, 0x28
mov dword [ebp - 8], ecx
jmp 0x64b51c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x64bc82
Capabilities:
Set global application hook
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
cmp dword [0x64e578], 0
jne 0x64bd9f
mov dword [0x64e578], 1
mov ax, word [0x64e588]
sub ax, 1
mov word [0x64e588], ax
mov ecx, dword [0x64e9e0]
add ecx, 1
mov dword [0x64e9e0], ecx
cmp dword [0x64e9e0], 5
jbe 0x64bcf5
call fcn.0064d660
mov dword [0x64e9e4], eax
cmp dword [0x64e9dc], 0
je 0x64bceb
cmp dword [0x64e9e4], 0
je 0x64bceb
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [0x64e9e0], 0
call fcn.0064cc1e
test eax, eax
je 0x64bd14
xor edx, edx
mov dx, word [0x64e588]
test edx, edx
jne 0x64bd80
call fcn.0064cc52
test eax, eax
jne 0x64bd80
push 0x64
lea eax, [ebp - 0x64]
push eax
push 0x64e1f0
call fcn.0064cab4
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x64d268
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x64e59c], eax
push 0x2000
push 0x64e168
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0x64e59c]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov word [0x64e588], 0
jmp 0x64bcf5
xor eax, eax
mov ax, word [0x64e588]
test eax, eax
jne 0x64bd95
mov word [0x64e588], 0xa
mov dword [0x64e578], 0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x64d318
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
jmp 0x64d330
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x64d38a
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 8
jmp 0x64d351
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jle 0x64d37b
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x64d371
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 4], ecx
jmp 0x64d379
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x64d348
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x64e5b4], ecx
jmp 0x64d327
mov esp, ebp
pop ebp
ret
Function at 0x10017df
Capabilities:
Create process on windows
Get common file path
Read .ini file
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa7c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x108]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x310]
push eax
mov byte [ebp - 0x106], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp eax, ebx
je 0x1001a39
cmp eax, esi
ja 0x1001a39
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp + 8]
dec eax
je 0x10019a8
dec eax
je 0x100190a
lea eax, [ebp - 0x108]
push eax
push 0x1001328
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.01001f3f
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x400
lea eax, [ebp - 0xa18]
push eax
mov ebx, 0x1001325
push ebx
push 0x1001320
mov edi, 0x1001314
push edi
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x100
lea eax, [ebp - 0x410]
push eax
push ebx
push 0x100130c
push edi
call esi
lea eax, [ebp - 0xa18]
push eax
call fcn.01001794
push 4
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0xa18]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x10018e3
xor eax, eax
jmp 0x1001a3c
lea eax, [ebp - 0x108]
push eax
push 0x10012e4
lea eax, [ebp - 0x618]
push 0x208
push eax
call fcn.01001f3f
add esp, 0x10
xor ebx, ebx
jmp 0x10019c8
push 0x20019
push 0x10012c4
push 0x80000002
lea ecx, [ebp - 0xa24]
mov dword [ebp - 0xa28], esi
mov dword [ebp - 0xa24], ebx
mov dword [ebp - 0xa20], ebx
mov dword [ebp - 0xa1c], ebx
call fcn.010014f6
cmp eax, ebx
jne 0x1001962
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x10012b0
lea ecx, [ebp - 0xa24]
call fcn.01001532
cmp eax, ebx
je 0x1001974
push 0x1001288
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01001719
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x100125c
lea eax, [ebp - 0x618]
push 0x208
push eax
call fcn.01001f3f
add esp, 0x14
lea ecx, [ebp - 0xa24]
call fcn.010014d8
jmp 0x10019c8
lea eax, [ebp - 0x108]
push eax
push 0x1001210
lea eax, [ebp - 0x618]
push 0x208
push eax
call fcn.01001f3f
add esp, 0x10
xor eax, eax
mov dword [ebp - 0xa38], ebx
lea edi, [ebp - 0xa34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0xa78]
push ebx
push eax
mov dword [ebp - 0xa7c], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0xa7c]
push eax
lea eax, [ebp - 0x310]
push eax
push ebx
push 0x10
push ebx
push ebx
push ebx
lea eax, [ebp - 0x618]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1001a39
push dword [ebp - 0xa34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xa38]
call esi
jmp 0x10018dc
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001def
leave
ret 4
Function at 0x1001dd4
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1003730
call fcn.010023c4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1004688
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1001b8b
cmp eax, esi
jne 0x1001b7e
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1001b8e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001b65
xor esi, esi
inc esi
mov eax, dword [0x1004684]
cmp eax, esi
jne 0x1001ba1
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001bd0
mov eax, dword [0x1004684]
test eax, eax
jne 0x1001bca
mov dword [0x1004684], esi
push 0x1001134
push 0x1001128
call fcn.01001aca
pop ecx
pop ecx
test eax, eax
je 0x1001bd0
jmp 0x1001cf8
mov dword [0x100434c], esi
mov eax, dword [0x1004684]
cmp eax, esi
jne 0x1001bf4
push 0x1001124
push 0x100111c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1004684], 2
test ebx, ebx
jne 0x1001c00
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1004690], 0
je 0x1001c24
push 0x1004690
call fcn.01002339
pop ecx
test eax, eax
je 0x1001c24
push 0
push 2
push 0
call dword [0x1004690]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1001c80
test al, al
je 0x1001c3e
cmp dword [ebp - 0x1c], 0
jne 0x1001c80
mov al, byte [esi]
test al, al
je 0x1001c4e
cmp al, 0x20
ja 0x1001c4e
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001c3e
test byte [ebp - 0x3c], 1
je 0x1001c5a
movzx eax, word [ebp - 0x38]
jmp 0x1001c5d
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1004348], eax
cmp dword [0x100433c], 0
jne 0x1001cd4
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x1001c8f
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x1001ca2
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1001c2b
cmp dword [0x100434c], 0
jne 0x1001ce3
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1004348]
jmp 0x1001d04
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01002409
ret
call fcn.01002511
jmp 0x1001b2b
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x7f6c30cb
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5d8f1aff
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x286f3e54
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x305d670b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40103b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401072
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40106e
jmp 0x401060
cmp esi, eax
jae 0x401072
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401060
cmp esi, eax
jb 0x401079
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x406c70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push esi
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406cab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406cca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ce9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x406d90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54eaf9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5b3e64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 4
call fcn.004364a2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406ddd
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov edi, dword [ebp + 0x14]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 0x10], 1
jge 0x406e18
push 0x104
mov ecx, esi
call fcn.004013a0
mov eax, dword [esi]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push edi
push 0x104
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x406e4e
push ecx
push eax
call fcn.00534a12
add esp, 8
test eax, eax
js 0x406f01
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x406f01
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406e85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ea8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ecb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406eee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401000
int3