joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401303
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
mov dword [0x4030c4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov dword [eax + 8], ebx
push ebp
mov dword [0x4030cc], ebx
mov dword [0x4030c0], ebx
mov dword [0x4056ec], ebx
mov byte [0x4030d0], bl
mov dword [0x4047cc], ebx
mov dword [0x4030d4], ebx
call fcn.004010bf
push 4
mov eax, dword [0x4051f8]
push 0x3000
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x4047d0], eax
cmp eax, ebx
jne 0x40136e
push 0x403064
push 0xa4
call dword [0x4047b4]
call fcn.004012c7
mov dword [esp + 0x10], eax
cmp eax, 0x100
je 0x4014ba
cmp dword [0x4047c0], 0
je 0x4013d5
mov eax, dword [0x4030c4]
mov edx, dword [eax + 0x10]
cmp edx, dword [0x4030d4]
jae 0x4013d5
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x28a]
add ecx, edx
push ecx
push 0x1402
push 0x111
push 0x404
push dword [eax + 0x172]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x4030c4]
add dword [eax + 0x10], 0x3e00
cmp dword [esp + 0x10], 0x100
jge 0x40140f
push dword [esp + 0x10]
call dword [0x4047b8]
mov eax, dword [0x4047d0]
mov cl, byte [esp + 0x10]
inc dword [0x4030d4]
mov byte [eax + ebx], cl
inc ebx
cmp ebx, dword [0x4051f8]
jne 0x40136e
xor ebx, ebx
jmp 0x40136e
mov ecx, 0x3e
mov eax, dword [esp + 0x10]
sub eax, 0x101
cdq
idiv ecx
mov esi, eax
mov ecx, dword [esp + 0x10]
imul eax, eax, 0xffffffc2
lea ebp, [eax + ecx - 0xfe]
movsx eax, word [esi*2 + 0x403020]
push eax
call fcn.00401097
add esp, 4
mov ecx, dword [esi*4 + 0x4051e0]
add ecx, eax
mov esi, ebx
add ecx, ebp
mov edi, ebx
sub edi, ecx
jns 0x40145a
add edi, dword [0x4051f8]
test ebp, ebp
jle 0x4014a1
mov dword [esp + 0x10], ebp
mov ecx, dword [0x4047d0]
movzx eax, byte [ecx + edi]
push eax
call dword [0x4047b8]
mov ecx, dword [0x4047d0]
inc dword [0x4030d4]
mov dl, byte [ecx + edi]
inc edi
mov byte [ecx + esi], dl
inc esi
cmp esi, dword [0x4051f8]
jne 0x401491
xor esi, esi
cmp edi, dword [0x4051f8]
jne 0x40149b
xor edi, edi
dec dword [esp + 0x10]
jne 0x401462
add ebx, ebp
cmp ebx, dword [0x4051f8]
jl 0x40136e
sub ebx, dword [0x4051f8]
jmp 0x40136e
xor esi, esi
cmp dword [0x4047c0], esi
je 0x401528
mov eax, dword [0x4030c4]
mov edx, dword [eax + 8]
test edx, edx
je 0x401528
cmp dword [eax + 0x18], esi
je 0x40151c
mov ecx, dword [eax + 0xc]
push esi
lea ebx, [esp + 0x18]
push ebx
push edx
push dword [ecx + 0x28e]
push dword [ecx + 0x186]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401503
mov eax, dword [0x4030c4]
mov ecx, dword [esp + 0x14]
cmp dword [eax + 8], ecx
je 0x40151c
mov eax, dword [0x4030c4]
mov eax, dword [eax + 0xc]
add eax, 0x18a
push eax
push 0x9c
call dword [0x4047b4]
mov ecx, dword [0x4030c4]
mov edx, dword [ecx + 8]
add dword [ecx + 0x14], edx
push 0x8000
mov eax, dword [0x4047d0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x403160
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d985
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x442018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x403305
cmp word [eax], 0
je 0x403305
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x18], 1
jl 0x403305
push dword [eax]
lea ecx, [ebp - 0x34]
call fcn.00401fe0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4032fd
mov edx, 0x43c0c8
lea ecx, [ebp - 0x34]
call fcn.00404080
test al, al
jne 0x4031f5
mov edx, 0x43c0d0
lea ecx, [ebp - 0x34]
call fcn.00404080
test al, al
je 0x4031f9
mov byte [ebx + 0x7c], 1
mov edx, 0x43c0d8
lea ecx, [ebp - 0x34]
xor edi, edi
call fcn.00404080
test al, al
je 0x403216
mov edi, 0x50c8
jmp 0x4032e1
mov edx, str.zhTW
lea ecx, [ebp - 0x34]
call fcn.00404080
test al, al
je 0x403231
mov edi, 0x2828
jmp 0x4032e1
mov edx, str.zhCN
lea ecx, [ebp - 0x34]
call fcn.00404080
test al, al
je 0x40324c
mov edi, 0x5028
jmp 0x4032e1
mov edx, 0x43c0f8
lea ecx, [ebp - 0x34]
call fcn.00404080
test al, al
je 0x403264
mov edi, 0x5104
jmp 0x4032e1
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
push esi
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
push eax
push 0x43c124
push 0x17
push 0
push 0x430820
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4032bd
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x38]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x38]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, esi
call dword [0x4301b4]
call esi
test eax, eax
cmove edi, dword [ebp - 0x1c]
push dword [ebp - 0x38]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4032e1
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4301b4]
call esi
mov eax, 0xcccccccd
xor ecx, ecx
mul edi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
cmp edi, eax
cmove ecx, edi
mov dword [ebx + 0x8c], ecx
lea ecx, [ebp - 0x34]
call fcn.00401dc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004143eb
mov esp, ebp
pop ebp
ret
Function at 0x403ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x403b01
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403b01
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, 0xa
lea edx, [esi + eax]
cmp esi, edx
jae 0x403b01
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x403ae0
cmp esi, edx
jae 0x403b01
cmp word [esi], cx
je 0x403b01
pop edi
mov eax, esi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x40bef0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e36b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x248
mov eax, dword [0x442018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x23c], esi
push 0x104
lea eax, [ebp - 0x220]
mov dword [ebp - 0x23c], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
lea edx, [ecx + 2]
mov word [ebp - 0x238], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bf83
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00401ec0
mov dword [ebp - 4], 0
mov eax, 0x7ffffffe
mov ecx, dword [ebp - 0x228]
sub eax, ecx
cmp eax, 1
jb 0x40c0fd
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push 1
cmovae eax, dword [ebp - 0x238]
push 0x43cb7c
push ecx
push eax
push ecx
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x254]
call fcn.0040c1a0
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x40c000
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x254]
call fcn.00406bc0
mov dword [esi], 0
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x240]
cmp edx, 8
jb 0x40c084
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c07a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c102
push edx
push ecx
call fcn.004143f9
add esp, 8
mov edx, dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
cmp edx, 8
jb 0x40c0dd
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c0d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c102
push edx
push ecx
call fcn.004143f9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004143eb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004021a0
call fcn.00418aaf
int3
Function at 0x40dfa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e630
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x442018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x43c000
call fcn.00414407
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00413494
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f7e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e8a3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x90
push esi
push edi
mov eax, dword [0x442018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x20]
push eax
call fcn.0040f000
push eax
mov dword [ebp - 4], 0
call fcn.00409240
mov edi, eax
add esp, 4
mov ecx, dword [edi]
push 0x20
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x4301b4]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x1c]
movzx ecx, ax
mov dword [ebp - 0x14], ecx
test edi, edi
je 0x40f88f
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4301b4]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x40f88c
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x4301b4]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
imul eax, eax, 0xeeeeeeef
test eax, eax
jne 0x40f8d2
push ecx
lea ecx, [ebp - 0xa0]
call fcn.0040f9f0
push eax
push dword [ebx + 8]
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0040fb10
lea ecx, [ebp - 0xa0]
call fcn.00405880
jmp 0x40f9b7
mov edi, dword [ebx + 8]
cmp edi, eax
jbe 0x40f900
push ecx
lea ecx, [ebp - 0xa0]
call fcn.0040f9f0
push eax
push edi
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0040fa80
lea ecx, [ebp - 0xa0]
call fcn.00405880
cmp dword [esi + 0x18], 0
jbe 0x40f927
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [esi + 0xc]
call fcn.0040ffc0
lea ecx, [esi + 0xc]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x28]
push 0
push dword [ecx]
push eax
call fcn.0040fd90
test edi, edi
je 0x40f9b7
xor edx, edx
mov eax, dword [esi]
add eax, edx
mov dword [eax], 0xffffffff
lea esi, [eax + 4]
mov dword [eax + 0x68], 0xffffffff
mov dword [eax + 0x6c], 0x7fffffff
mov dword [eax + 0x70], 0
cmp dword [eax + 0x18], 8
jb 0x40f95c
mov esi, dword [eax + 4]
xor ecx, ecx
mov dword [eax + 0x14], 0
mov word [esi], cx
lea esi, [eax + 0x1c]
cmp dword [eax + 0x30], 8
jb 0x40f974
mov esi, dword [eax + 0x1c]
mov dword [eax + 0x2c], ecx
add edx, 0x78
xor ecx, ecx
mov word [esi], cx
mov esi, dword [ebp - 0x18]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x44], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x40], 6
mov word [eax + 0x48], cx
mov dword [eax + 0x4c], 0x201
mov dword [eax + 0x54], 0
mov dword [eax + 0x50], 0
sub edi, 1
jne 0x40f931
cmp dword [esi + 0x40], 8
lea eax, [esi + 0x2c]
jb 0x40f9c3
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov dword [esi + 0x3c], 0
mov word [eax], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x422a08
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434ab0
push 0x434aa8
push str.FlsAlloc
push 0x1e
call fcn.004228f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x422a3c
push dword [ebp + 8]
mov ecx, esi
call dword [0x4301b4]
call esi
jmp 0x422a42
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x422a86
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434ac0
push 0x434ab8
push str.FlsGetValue
push 0x20
call fcn.004228f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x422abd
push dword [ebp + 8]
mov ecx, esi
call dword [0x4301b4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x425674
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x442018]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4256bf
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00425813
test al, al
jne 0x4256b9
sub edx, 2
cmp edx, edi
jne 0x42569f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4256e1
lea eax, [edi + 2]
cmp edx, eax
je 0x4256e1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004255c0
add esp, 0x10
jmp 0x4257db
push esi
lea ecx, [ebp - 0x255]
call fcn.00425813
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x425724
push dword [ebp - 0x25c]
jmp 0x4256d1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x425761
cmp word [ebp - 0x226], 0
je 0x425782
cmp word [ebp - 0x226], ax
jne 0x425761
cmp word [ebp - 0x224], 0
je 0x425782
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004255c0
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4257ce
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x42573b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4257b6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4257db
push 0x4253f0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0042b590
add esp, 0x10
jmp 0x4257ab
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004143eb
leave
ret
Function at 0x101cc590
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x101cc774
pushal
mov esi, 0x1012d00d
lea edi, [esi - 0x12c00d]
push edi
jmp 0x101cc5ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101cc5c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101cc5b0
mov eax, 1
add ebx, ebx
jne 0x101cc5d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x101cc5e4
jne 0x101cc603
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101cc603
dec eax
add ebx, ebx
jne 0x101cc5f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101cc5c8
add ebx, ebx
jne 0x101cc5ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101cc655
xor ecx, ecx
sub eax, 3
jb 0x101cc61b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101cc68a
sar eax, 1
mov ebp, eax
jmp 0x101cc626
add ebx, ebx
jne 0x101cc626
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101cc5f4
inc ecx
add ebx, ebx
jne 0x101cc634
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101cc5f4
add ebx, ebx
jne 0x101cc641
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101cc636
jne 0x101cc652
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101cc636
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101cc674
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101cc666
jmp 0x101cc5b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101cc674
add edi, ecx
jmp 0x101cc5b6
pop esi
mov edi, esi
mov ecx, 0x1c11
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x101cc692
cmp byte [edi], 0x7b
jne 0x101cc692
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 0x101cc697
lea edi, [esi + 0x1b6000]
mov eax, dword [edi]
or eax, eax
je 0x101cc706
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1cc0e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1cc13c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101cc6c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1cc140]
or eax, eax
je 0x101cc700
mov dword [ebx], eax
add ebx, 4
jmp 0x101cc6e1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101cc737
cmp al, 0xef
ja 0x101cc72a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101cc70c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101cc719
mov ebp, dword [esi + 0x1cc144]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
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 0x101cc76b
sub esp, 0xffffff80
jmp 0x1011b9ab
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp int.00401219
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
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x402e1c
Capabilities:
Query environment variable

Disassembly:
dec eax
mov dword [esp + 0x10], ebx
dec eax
mov dword [esp + 0x18], esi
push edi
dec eax
sub esp, 0x20
dec eax
lea ecx, [0x18a96]
call fcn.0040acf8
dec eax
lea ecx, [0x18a72]
dec eax
mov esi, eax
call fcn.0040acf8
dec eax
mov ebx, eax
dec eax
test esi, esi
je 0x402e81
dec esp
lea eax, [esp + 0x30]
dec eax
mov edx, eax
dec eax
mov ecx, esi
call fcn.00407b24
dec eax
mov edi, eax
dec eax
test eax, eax
je 0x402e93
call fcn.004071d4
mov edx, dword [esp + 0x30]
dec eax
mov ecx, edi
call fcn.0040714c
dec eax
mov ecx, edi
call fcn.00404fd8
jmp 0x402e93
dec eax
test eax, eax
je 0x402eda
call fcn.004071d4
dec eax
mov ecx, ebx
call fcn.00407194
dec eax
mov edx, esi
dec eax
mov ecx, ebx
call fcn.00407204
dec eax
lea ecx, [0x189f3]
call fcn.00405c88
dec eax
lea ecx, [0x189ff]
call fcn.00405c88
dec eax
lea ecx, [0x18a0b]
call fcn.00405c88
dec eax
mov ecx, dword [0x228b7]
call fcn.00404fd8
dec eax
mov ecx, dword [0x228a3]
call fcn.00404fd8
dec eax
mov ebx, dword [esp + 0x38]
dec eax
mov esi, dword [esp + 0x40]
dec eax
add esp, 0x20
pop edi
ret
Function at 0x405010
Capabilities:
Query environment variable

Disassembly:
dec eax
sub esp, 0x28
dec eax
lea ecx, [0x1644d]
call fcn.0040acf8
dec eax
test eax, eax
je 0x40503f
dec eax
lea edx, [0x1643c]
dec eax
lea ecx, [0x165e5]
mov byte [0x20796], 1
call fcn.00404fe0
dec eax
add esp, 0x28
ret

Function at 0x4069d8
Capabilities:
Create thread
Query environment variable

Disassembly:
dec eax
mov eax, esp
dec eax
mov dword [eax + 8], ebx
dec eax
mov dword [eax + 0x10], ebp
dec eax
mov dword [eax + 0x18], esi
push edi
dec eax
sub esp, 0x40
and dword [eax + 0x20], 0
dec eax
lea eax, [eax - 0x18]
dec ecx
mov esi, eax
dec ebp
mov ecx, eax
dec eax
mov ebp, ecx
dec esp
mov eax, ecx
dec eax
mov dword [esp + 0x28], eax
xor ecx, ecx
dec eax
mov edi, edx
mov dword [esp + 0x20], 0x10000
call fcn.0040d3e0
dec eax
mov ebx, eax
dec eax
test eax, eax
jne 0x406a3f
dec eax
lea eax, [esp + 0x30]
dec esp
mov ecx, esi
dec esp
mov eax, ebp
dec eax
mov dword [esp + 0x28], eax
and dword [esp + 0x20], ebx
mov edx, edi
xor ecx, ecx
call fcn.0040d3e0
dec eax
mov ebx, eax
cmp dword [0x1d632], 0
je 0x406afc
dec eax
lea ecx, [0x161d5]
call fcn.0040acf8
dec eax
test eax, eax
je 0x406a7c
dec eax
lea edx, [0x15340]
dec eax
mov ecx, eax
call fcn.0041a600
neg eax
sbb ecx, ecx
and ecx, dword [0x1d602]
mov dword [0x1d5fc], ecx
dec eax
lea ecx, [0x16195]
call fcn.0040acf8
dec eax
mov edi, eax
dec eax
test eax, eax
je 0x406ab1
dec eax
lea edx, [0x1530d]
dec eax
mov ecx, eax
call fcn.0041a600
neg eax
sbb ecx, ecx
and ecx, dword [0x1d5cf]
mov dword [0x1d5c9], ecx
jmp 0x406ab7
mov ecx, dword [0x1d5c1]
test ecx, ecx
jns 0x406aee
and dword [0x1d5b6], 0
dec eax
test edi, edi
je 0x406afc
dec eax
lea edx, [0x152de]
dec eax
mov ecx, edi
call fcn.0041a600
mov ecx, dword [0x1d59c]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [0x1d58c], ecx
test ecx, ecx
je 0x406afc
dec eax
lea ecx, [0x16111]
call fcn.00406898
dec eax
test ebx, ebx
je 0x406b26
or edx, 0xffffffff
dec eax
mov ecx, ebx
call dword [0x1457b]
dec eax
lea edx, [esp + 0x68]
dec eax
mov ecx, ebx
call dword [0x14595]
dec eax
mov ecx, ebx
call dword [0x14554]
jmp 0x406b2f
dec eax
mov ecx, esi
call ebp
mov dword [esp + 0x68], eax
cmp dword [0x1ecaa], 0
je 0x406b46
dec eax
mov eax, dword [0x1ecc1]
dec eax
test eax, eax
je 0x406b46
call eax
mov eax, dword [esp + 0x68]
dec eax
mov ebx, dword [esp + 0x50]
dec eax
mov ebp, dword [esp + 0x58]
dec eax
mov esi, dword [esp + 0x60]
dec eax
add esp, 0x40
pop edi
ret