joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100446ce
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x100447e6
test esi, esi
je 0x100447e6
movzx edx, word [edi + 2]
mov eax, 0x800
mov ecx, edx
and ecx, eax
mov ebx, eax
cmp cx, bx
je 0x1004478a
movzx ecx, word [esi + 2]
mov ebx, ecx
and ebx, eax
cmp bx, ax
je 0x1004478a
xor cl, dl
test cl, 0x10
jne 0x1004478a
mov al, byte [edi]
cmp al, byte [esi]
jne 0x1004478a
push dword [esi + 8]
push dword [edi + 8]
call fcn.100446ce
pop ecx
pop ecx
test eax, eax
jne 0x1004478a
push dword [esi + 0xc]
push dword [edi + 0xc]
call fcn.100446ce
pop ecx
pop ecx
test eax, eax
jne 0x1004478a
mov ebx, dword [esi + 0x10]
mov edi, dword [edi + 0x10]
call fcn.100447f5
test eax, eax
jne 0x1004478a
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x1004478a
mov ax, word [edi + 0x1c]
cmp ax, word [esi + 0x1c]
jne 0x1004478a
movzx eax, word [edi + 2]
mov ecx, eax
mov eax, 0x400
and ecx, eax
mov edx, eax
cmp cx, dx
jne 0x1004478f
mov cx, word [esi + 2]
and cx, dx
cmp cx, ax
jne 0x1004478a
mov eax, dword [edi + 4]
cmp eax, dword [esi + 4]
je 0x100447b9
push 2
pop eax
jmp 0x100447f1
cmp byte [edi], 0x98
je 0x100447b9
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x100447b9
mov dx, word [esi + 2]
mov ebx, eax
and dx, bx
cmp dx, ax
je 0x1004478a
mov edx, dword [esi + 4]
test edx, edx
je 0x1004478a
call fcn.10026739
test eax, eax
jne 0x1004478a
movzx ecx, word [edi + 2]
mov dx, word [esi + 2]
mov eax, 0x100
and ecx, eax
and dx, ax
cmp cx, dx
je 0x100447d5
xor eax, eax
inc eax
jmp 0x100447f1
test cx, cx
je 0x100447e2
mov eax, dword [edi + 0x14]
cmp eax, dword [esi + 0x14]
jne 0x1004478a
xor eax, eax
jmp 0x100447f1
mov eax, esi
sub eax, edi
neg eax
sbb eax, eax
and eax, 2
pop edi
pop esi
pop ebx
ret
Function at 0x1005ac07
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x3c], eax
push eax
mov eax, dword [esi + 4]
call fcn.10059a9f
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x14]
imul edx, edx, 0x28
add edx, edi
cmp byte [ebx + 0x16], 0
pop ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edx
jne 0x1005adff
cmp dword [ebx + 0x34], 0
jne 0x1005adff
jmp 0x1005adf3
mov eax, 0x100
cmp word [edi + 0x10], ax
jne 0x1005adf0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
not eax
and eax, dword [edi + 0x20]
not ecx
and ecx, dword [edi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x1005adf0
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x160]
mov esi, dword [ecx + 0x164]
and eax, dword [esp + 0x28]
and esi, dword [esp + 0x2c]
or eax, esi
je 0x1005adf0
mov esi, dword [ecx + 0x14]
fldz
mov ebx, dword [ecx + 0x1c]
imul esi, esi, 0x28
fst qword [esp + 0x20]
fstp qword [esp + 0x30]
and dword [esp + 0x10], 0
add esi, ebx
and dword [esp + 0x14], 0
jmp 0x1005ad8f
mov eax, 0x200
cmp word [ebx + 0x10], ax
jne 0x1005acf0
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebx + 0xc]
jmp 0x1005ad3d
mov eax, dword [esp + 0x3c]
cmp dword [ebx + 8], eax
jne 0x1005ad8c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x20]
lea eax, [esp + 0x70]
push dword [ebp + 0x1c]
mov dword [esp + 0x74], ecx
push dword [ebp + 0x18]
mov byte [esp + 0x88], 0x45
push dword [ebp + 0x14]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x90], 1
push eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.1005bc7e
fld qword [esp + 0x70]
fadd qword [esp + 0x38]
mov ecx, dword [ebp + 0x28]
mov eax, dword [esp + 0x78]
or dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
fstp qword [esp + 0x38]
fld qword [esp + 0x60]
or dword [esp + 0x2c], eax
fadd qword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
add esp, 0x18
fstp qword [esp + 0x30]
fld qword [ecx + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x1005ad9a
add ebx, 0x28
cmp ebx, esi
jb 0x1005accf
mov ecx, dword [ebp + 0x28]
cmp dword [ebp + 0x24], 0
je 0x1005adbd
fld qword [esp + 0x30]
push ecx
push ecx
fstp qword [esp]
call fcn.1005abc9
fmul qword [esp + 0x38]
add esp, 8
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [ecx + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x1005adf0
mov eax, dword [esp + 0x10]
fld qword [esp + 0x20]
fstp qword [ecx + 0x18]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x14]
fld qword [esp + 0x30]
fstp qword [ecx + 8]
mov dword [ecx + 0x24], eax
mov dword [ecx], 0x10000000
mov dword [ecx + 0x10], edi
add edi, 0x28
mov dword [esp + 0x1c], edi
cmp edi, edx
jb 0x1005ac5d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006168e
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
and dword [ebp - 0xc], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov ecx, ebx
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], eax
call fcn.10026818
test dl, 0x40
jne 0x100616c5
cmp dword [0x100a955c], 0
je 0x100619f0
push 5
pop ecx
cmp eax, ecx
jl 0x100619f0
mov edi, 0x1009c024
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100619f0
or dword [ebp - 8], 0x40
xor esi, esi
cmp eax, esi
mov dword [ebp + 8], esi
lea edi, [eax + 2]
jle 0x10061701
xor ecx, ecx
cmp byte [esi + ebx], 0x26
sete cl
add edi, ecx
inc esi
cmp esi, eax
jl 0x100616f1
push edi
call fcn.10024ba9
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x10061717
push 7
pop eax
jmp 0x10061a6b
cmp byte [ebx + 5], 0x2f
jne 0x10061770
cmp byte [ebx + 6], 0x2f
jne 0x10061770
lea edi, [ebx + 7]
mov al, byte [edi]
push 7
pop edx
mov dword [ebp - 0x24], edi
test al, al
je 0x10061773
cmp al, 0x2f
je 0x1006173e
inc edx
mov al, byte [edx + ebx]
test al, al
jne 0x10061732
cmp edx, 7
je 0x10061773
cmp edx, 0x10
jne 0x10061759
push 9
pop ecx
mov esi, 0x1009c02c
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10061773
mov edi, dword [ebp - 0x24]
push edi
add edx, 0xfffffff9
push edx
push 0x1009c038
push 5
pop edx
mov al, byte [edx + ebx]
xor esi, esi
test al, al
je 0x100618ac
mov esi, eax
lea eax, [esi + 2]
push eax
call fcn.10024ba9
mov edi, eax
pop ecx
mov dword [ebp - 4], edi
test edi, edi
je 0x1006170f
push esi
push ebx
push edi
call fcn.10070660
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax], 0
mov byte [eax + 1], 0
Function at 0x4011a4
Capabilities:
Accept command line arguments
Query environment variable
Terminate process

Disassembly:
push ecx
push esi
push edi
mov esi, eax
mov edi, ebx
mov eax, edx
mov dword [0x407010], esi
call fcn.004019f1
mov dword [0x40701c], eax
test eax, eax
jne 0x4011d2
test esi, esi
jne 0x4013a8
push 1
call dword cs:[sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004016b5
call dword cs:[sym.imp.KERNEL32.dll_GetEnvironmentStrings]
xor edx, edx
mov dword [0x406645], eax
mov dword [0x407dd0], edx
call dword cs:[sym.imp.KERNEL32.dll_GetVersion]
mov edx, eax
mov ebx, eax
mov byte [0x40664b], al
shr eax, 0x10
and eax, 0xffff
push 0x104
mov word [0x40664d], ax
xor eax, eax
and edx, 0xffff
mov ax, word [0x40664d]
push 0x407020
mov dword [0x40664f], eax
xor eax, eax
sar edx, 8
mov al, bl
and edx, 0xff
mov dword [0x406653], eax
xor eax, eax
mov byte [0x40664c], dl
mov al, dl
mov edx, dword [0x406653]
push 0
shl edx, 8
mov ebx, 0x407020
or edx, eax
mov dword [0x406657], eax
mov dword [0x40665b], edx
call dword cs:[sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x407124
mov dword [0x40660c], ebx
xor eax, eax
mov ebx, 0x208
mov ecx, 0x407124
call fcn.00401cea
mov dword [0x406618], ecx
call dword cs:[sym.imp.KERNEL32.dll_GetCommandLineA]
call fcn.00401d7a
mov edx, eax
mov bl, byte [eax]
mov dword [0x407014], eax
cmp bl, 0x22
jne 0x4012b6
inc eax
mov ch, byte [eax]
cmp ch, 0x22
je 0x4012ae
test ch, ch
jne 0x4012a2
cmp byte [eax], 0
je 0x4012d1
inc eax
jmp 0x4012d1
mov dl, byte [eax]
inc dl
and edx, 0xff
test byte [edx + 0x406664], 2
jne 0x4012d1
cmp byte [eax], 0
je 0x4012d1
inc eax
jmp 0x4012b6
mov dl, byte [eax]
inc dl
and edx, 0xff
test byte [edx + 0x406664], 2
jne 0x4012b3
mov dword [0x406608], eax
call dword cs:[sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x40135c
call fcn.00401dbf
mov edx, eax
mov bx, word [eax]
mov dword [0x407018], eax
cmp bx, 0x22
jne 0x401329
add eax, 2
mov dx, word [eax]
cmp dx, 0x22
je 0x40131e
test dx, dx
jne 0x40130d
cmp word [eax], 0
je 0x401347
add eax, 2
jmp 0x401347
mov dl, byte [eax]
inc dl
and edx, 0xff
test byte [edx + 0x406664], 2
jne 0x401347
cmp word [eax], 0
je 0x401347
add eax, 2
jmp 0x401329
mov dl, byte [eax]
inc dl
and edx, 0xff
test byte [edx + 0x406664], 2
je 0x401361
jmp 0x401324
mov eax, 0x406004
mov dword [0x406614], eax
test esi, esi
je 0x4013a3
push 0x104
push 0x40732c
push edi
mov esi, 0x40732c
mov ebx, 0x208
call dword cs:[sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x407430
mov dword [0x406610], esi
mov eax, edi
mov edi, 0x407430
call fcn.00401cea
mov dword [0x40661c], edi
mov eax, 1
pop edi
pop esi
pop ecx
ret

Function at 0x401a2b
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push ecx
push edx
cmp dword [0x406594], 0xffffffff
jne 0x401a78
call dword cs:[sym.imp.KERNEL32.dll_TlsAlloc]
mov dx, word [0x40664d]
mov dword [0x406594], eax
cmp dx, 0x8000
jb 0x401a78
cmp byte [0x40664b], 4
jae 0x401a78
mov ebx, dword [0x406594]
cmp ebx, 0xffffffff
je 0x401a78
cmp ebx, 2
ja 0x401a78
call dword cs:[sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x406594], eax
jmp 0x401a5a
cmp dword [0x406594], 0xffffffff
setne al
and eax, 0xff
pop edx
pop ecx
pop ebx
ret
Function at 0x40266d
Capabilities:
Set thread local storage value

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
push ebp
call dword [0x4065c4]
call dword cs:[sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [0x407de4]
mov ebp, eax
jmp 0x402691
cmp ebp, dword [ebx + 4]
je 0x402695
mov ebx, dword [ebx]
test ebx, ebx
jne 0x40268a
cmp dword [ebx + 0xc], 0
je 0x4026c0
mov edx, dword [0x406784]
mov eax, dword [ebx + 8]
call fcn.004025a2
mov ebp, eax
test eax, eax
jne 0x40270d
mov edx, 1
mov eax, 0x4064d1
call fcn.0040116b
jmp 0x40270d
mov eax, 1
mov edx, dword [0x406784]
call fcn.0040261c
mov ebp, eax
test eax, eax
jne 0x4026e5
mov edx, 1
mov eax, 0x4064f9
call fcn.0040116b
mov esi, dword [ebx + 8]
mov edi, ebp
mov ecx, dword [esi + 0xf0]
push es
mov eax, ds
mov es, eax
push edi
mov eax, ecx
shr ecx, 2
movsd dword es:[edi], dword [esi]
mov cl, al
and cl, 3
repne movsb byte es:[edi], byte [esi]
pop edi
pop es
mov dword [ebx + 0xc], 1
mov dword [ebx + 8], ebp
mov eax, dword [0x406784]
push ebp
mov byte [ebp + 0x52], 1
mov esi, dword [0x406594]
mov byte [ebp + 0x53], 0
push esi
mov dword [ebp + 0xf0], eax
call dword cs:[sym.imp.KERNEL32.dll_TlsSetValue]
call dword [0x4065c8]
mov eax, ebp
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x4036dc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
push eax
cmp dword [0x406948], 0
jne 0x4036f2
xor eax, eax
jmp 0x403765
cmp dword [0x406604], 0xfffffffe
je 0x4036eb
mov eax, esp
call fcn.0040377f
test eax, eax
je 0x403765
push 0x40
push 0x1000
mov ecx, dword [esp + 8]
push ecx
push 0
call dword cs:[sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test eax, eax
je 0x403765
mov eax, dword [esp]
mov esi, dword [esp]
sub eax, 4
cmp eax, esi
ja 0x4036eb
mov dword [esp], eax
cmp eax, 0x38
jb 0x4036eb
mov dword [edx], eax
mov eax, edx
call fcn.00403668
mov ebx, eax
mov eax, dword [eax]
mov dword [esp], eax
or al, 1
mov dword [ebx], eax
mov edi, dword [edx + 0x18]
mov dword [edx + 0x14], 0
inc edi
lea eax, [ebx + 4]
mov dword [edx + 0x18], edi
call fcn.00402386
mov eax, 1
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x403c31
Capabilities:
Set environment variable

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
push ebp
sub esp, 0x18
mov ebp, eax
mov edx, 2
mov ebx, 1
mov dword [esp], edx
mov edx, 0x3d
mov dword [esp + 4], ebx
call fcn.004040da
mov ebx, eax
test eax, eax
je 0x403cc6
cmp eax, ebp
je 0x403cc6
sub eax, ebp
mov dword [esp + 0x10], eax
inc eax
call fcn.00402a47
mov edx, eax
mov dword [esp + 8], eax
test eax, eax
je 0x403cc6
mov ecx, dword [esp + 0x10]
mov esi, ebp
mov edi, eax
push es
mov eax, ds
mov es, eax
push edi
mov eax, ecx
shr ecx, 2
movsd dword es:[edi], dword [esi]
mov cl, al
and cl, 3
repne movsb byte es:[edi], byte [esi]
pop edi
pop es
mov eax, dword [esp + 0x10]
lea esi, [ebx + 1]
mov byte [edx + eax], 0
mov eax, esi
call fcn.00404136
mov dword [esp + 0x14], eax
test eax, eax
je 0x403cf5
inc eax
call fcn.00402a47
mov ebx, eax
mov dword [esp + 0xc], eax
test eax, eax
jne 0x403cd0
mov eax, edx
call fcn.00402386
mov eax, 0xffffffff
jmp 0x403d7f
mov ecx, dword [esp + 0x14]
mov edi, eax
push es
mov eax, ds
mov es, eax
push edi
mov eax, ecx
shr ecx, 2
movsd dword es:[edi], dword [esi]
mov cl, al
and cl, 3
repne movsb byte es:[edi], byte [esi]
pop edi
pop es
add ebx, dword [esp + 0x14]
mov byte [ebx], 0
jmp 0x403cf9
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [esp + 0xc]
push edx
call dword cs:[sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov edx, eax
mov eax, dword [esp + 8]
call fcn.00402386
mov eax, dword [esp + 0xc]
call fcn.00402386
test edx, edx
je 0x403cc6
mov eax, ebp
call fcn.00403d89
test eax, eax
jne 0x403cc6
cmp dword [0x407dd4], 0
je 0x403d7f
mov eax, ebp
call fcn.00404136
lea ebx, [eax + 1]
mov eax, dword [esp]
imul eax, ebx
call fcn.00402a47
mov ecx, eax
test eax, eax
jne 0x403d60
mov eax, 5
call fcn.00404163
jmp 0x403cc6
imul ebx, dword [esp + 4]
mov edx, ebp
call fcn.004041c5
cmp eax, 0xffffffff
jne 0x403d78
mov eax, ecx
jmp 0x403cc1
mov eax, ecx
call fcn.00404363
add esp, 0x18
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4018b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
mov esi, eax
xor eax, eax
test esi, esi
je 0x401908
cmp byte [ebx + esi - 1], 0xa
je 0x4018dc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x407084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x401f20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call dbg.__wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x4020e4
mov edx, dword fs:[0x18]
xor eax, eax
mov edi, dword [0x407084]
cmp dword [edx + 0x24], edi
je 0x402007
test byte [0x404018], 8
jne 0x402090
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x404028], 8
jne 0x402053
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x401fa9
cmp esi, 3
jbe 0x402012
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x401fba
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x4065dc]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.2
jmp 0x401fa9
mov dword [esp], 0x404028
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x401f80
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x401f80
mov dword [esp], 0x404018
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x401f6b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x401f73
mov eax, 0xffffffff
jmp 0x402007

Function at 0x402160
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov ebx, dword [eax]
call sym.___p___argv
mov esi, dword [eax]
call sym.__get_initial_narrow_environment
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x3c]
cmp word [edx + eax + 0x5c], 2
sete dl
movzx edx, dl
add edx, 1
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dbg.main
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0xc2d190
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x637000]
push edi
or ebp, 0xffffffff
jmp 0xc2d1b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc2d1b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc2d1a8
mov eax, 1
add ebx, ebx
jne 0xc2d1cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc2d1dc
jne 0xc2d1ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc2d1ec
dec eax
add ebx, ebx
jne 0xc2d1e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xc2d1c0
xor ecx, ecx
sub eax, 3
jb 0xc2d204
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc2d276
sar eax, 1
mov ebp, eax
jmp 0xc2d20f
add ebx, ebx
jne 0xc2d20f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xc2d21c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xc2d240
inc ecx
add ebx, ebx
jne 0xc2d22c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc2d221
jne 0xc2d23d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc2d221
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc2d260
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc2d251
jmp 0xc2d1ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc2d260
add edi, ecx
jmp 0xc2d1ae
pop esi
mov edi, esi
mov ecx, 0x74e388
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xc2d29b
cmp byte [edi], 0x30
jne 0xc2d280
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xc2d27e
lea edi, [esi + 0x82a000]
mov eax, dword [edi]
or eax, eax
je 0xc2d2ec
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x82e2f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x82e334]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc2d2a1
mov ecx, edi
jns 0xc2d2d0
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x82e338]
or eax, eax
je 0xc2d2e6
mov dword [ebx], eax
add ebx, 4
jmp 0xc2d2be
call dword [esi + 0x82e33c]
popal
jmp 0x424c20
Function at 0xab8200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x46a000]
push edi
jmp 0xab821a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xab8221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xab8210
mov eax, 1
add ebx, ebx
jne 0xab8233
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xab8244
jne 0xab8263
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xab8263
dec eax
add ebx, ebx
jne 0xab8250
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xab8228
add ebx, ebx
jne 0xab825f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xab82b5
xor ecx, ecx
sub eax, 3
jb 0xab827b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xab82ea
sar eax, 1
mov ebp, eax
jmp 0xab8286
add ebx, ebx
jne 0xab8286
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xab8254
inc ecx
add ebx, ebx
jne 0xab8294
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xab8254
add ebx, ebx
jne 0xab82a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xab8296
jne 0xab82b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xab8296
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xab82d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xab82c6
jmp 0xab8216
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xab82d4
add edi, ecx
jmp 0xab8216
pop esi
mov edi, esi
mov ecx, 0xd6c1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xab82f2
cmp byte [edi], 0x3d
jne 0xab82f2
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 0xab82f7
lea edi, [esi + 0x6b4000]
mov eax, dword [edi]
or eax, eax
je 0xab836f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6e0e10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6e0fac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xab8324
mov ecx, edi
jns 0xab8353
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6e0fb4]
or eax, eax
je 0xab8369
mov dword [ebx], eax
add ebx, 4
jmp 0xab8341
call dword [esi + 0x6e0fb0]
mov ebp, dword [esi + 0x6e0fb8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x6b83ca]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xab83bb
sub esp, 0xffffff80
jmp 0x599f84