joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d95bc80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6da31db4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6da31dac]
sub esp, 4
test ebx, ebx
je 0x6d95bcd5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6d95bcce
test esi, esi
je 0x6d95bcce
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6d95bcb0
mov dword [esp], 0x6da31db4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6d95c010
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x6d8c0000], 0x5a4d
jne 0x6d95c035
mov ecx, dword [0x6d8c003c]
cmp dword [ecx + 0x6d8c0000], 0x4550
lea edx, [ecx + 0x6d8c0000]
je 0x6d95c040
ret
cmp word [ecx + 0x6d8c0018], 0x10b
jne 0x6d95c035
push esi
movzx eax, word [ecx + 0x6d8c0014]
push ebx
movzx esi, word [ecx + 0x6d8c0006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x6d8c0000
test si, si
je 0x6d95c088
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6d95c07e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6d95c08a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6d95c070
xor eax, eax
pop ebx
pop esi
ret

Function at 0x1129b00
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1129b0a
pushal
call 0x1129b10
pop ebp
sub ebp, 0x10
sub ebp, 0xd29b00
jmp 0x1129b26
mov eax, 0xd29b00
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bb
mov edx, 0xf1e34445
xor byte [eax], dl
inc eax
dec ecx
jne 0x1129b3d
jmp 0x1129b50
into
mov dh, cl
int3
Function at 0x20001270
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x20023fde]
push ebx
push 0
push 0x80
push 4
push 0
push 3
add eax, 0xd
push 0x40000000
push eax
call dword [0x2001a22e]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x20001313
push 0
push ebx
mov dword [esp + 0xc], 0
call dword [0x2001a236]
cmp eax, 0x3200000
jae 0x200012bf
push 2
push 0
push 0
push ebx
call dword [0x2001a20e]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
call dword [0x2001a226]
mov edi, eax
push edi
call fcn.2001969c
add esp, 4
mov esi, eax
test edi, edi
jle 0x200012f0
mov ecx, ebp
mov ebp, edi
sub ecx, esi
mov dl, byte [ecx + eax]
xor dl, 0x44
mov byte [eax], dl
inc eax
dec ebp
jne 0x200012e4
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [0x2001a202]
push ebx
call dword [0x2001a27e]
push esi
call fcn.20019696
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x2000225b
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x200199a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.200083e0
xor ebx, ebx
push 0x134
mov dword [esp + 0x18], ebx
mov dword [esi], 0x2001ad12
mov byte [esi + 0x1c], 1
mov dword [esi + 0x28], 8
call fcn.2001969c
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x14], 1
je 0x200022a7
push 0x64
push ebx
push 8
mov ecx, eax
call fcn.2000f690
jmp 0x200022a9
xor eax, eax
push 1
push ebx
push ebx
push esi
push 0x2000e356
push ebx
push ebx
mov byte [esp + 0x30], bl
mov dword [esi + 0x34], eax
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], ebx
mov byte [esi + 0x14], bl
mov byte [esi + 0x24], bl
call fcn.200042a0
push 1
push ebx
push ebx
push esi
push 0x20001c46
push ebx
push ebx
mov dword [esi + 0x2c], eax
call fcn.200042a0
mov ecx, dword [esp + 0x44]
add esp, 0x38
mov dword [esi + 0x30], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x20002530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x114
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
push esi
cmp ebx, ecx
push edi
je 0x2000263d
mov eax, dword [ebx + 0x3c]
mov ebp, dword [esp + 0x12c]
add eax, ebx
mov dword [esp + 0x10], ecx
mov esi, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
add esi, ebx
mov dword [esp + 0x1c], eax
test ebp, 0x80000000
jne 0x200025db
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add eax, ebx
cmp edx, ecx
mov dword [esp + 0x18], ecx
jbe 0x200025f9
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
push 0
mov edi, dword [ecx]
add edi, ebx
push edi
call fcn.20004cc0
add esp, 4
push eax
push edi
call sym.advapi32.dll_BuildSecurityDescriptorA
and eax, 0x7fffffff
add esp, 0xc
cmp eax, ebp
je 0x200025c6
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x18]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jb 0x20002583
jmp 0x200025f9
mov edx, dword [esi + 0x24]
mov eax, dword [esp + 0x18]
lea ecx, [edx + eax*2]
mov dx, word [ecx + ebx]
mov word [esp + 0x10], dx
jmp 0x200025f9
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov eax, ebp
add edx, ecx
and eax, 0xffff
cmp eax, edx
jae 0x2000263d
cmp eax, ecx
jb 0x2000263d
sub bp, cx
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1c]
and eax, 0xffff
lea edx, [ecx + eax*4]
mov eax, dword [edx + ebx]
add eax, ebx
je 0x2000263f
cmp eax, esi
jb 0x2000263f
mov ecx, dword [esp + 0x1c]
add ecx, esi
cmp eax, ecx
jae 0x2000263f
mov dl, byte [eax]
xor ecx, ecx
test dl, dl
mov esi, eax
je 0x2000263d
lea edx, [esp + 0x20]
sub edx, eax
mov al, byte [esi]
inc ecx
mov byte [edx + esi], al
inc esi
cmp al, 0x2e
je 0x2000264a
cmp byte [esi], 0
jne 0x2000262d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
test ecx, ecx
jle 0x2000263d
mov byte [esp + ecx + 0x20], 0x64
inc ecx
mov al, 0x6c
lea edx, [esp + 0x20]
mov byte [esp + ecx + 0x20], al
inc ecx
push edx
mov byte [esp + ecx + 0x24], al
mov byte [esp + ecx + 0x25], 0
call sym.advapi32.dll_AccessCheckByTypeResultListAndAuditAlarmW
add esp, 4
lea eax, [esp + 0x20]
push eax
call fcn.2000c8f0
push 0
push esi
mov edi, eax
call fcn.20004cc0
add esp, 4
push eax
push esi
call sym.advapi32.dll_BuildSecurityDescriptorA
and eax, 0x7fffffff
push eax
push edi
call fcn.20002530
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret

Function at 0x200031c0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x2002397a
mov eax, edx
mov esi, 8
test al, 1
je 0x200031dc
shr eax, 1
xor eax, 0xedb88320
jmp 0x200031de
shr eax, 1
dec esi
jne 0x200031cf
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x20023d7a
jl 0x200031c8
pop esi
ret
Function at 0x2000af80
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x200199de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x2001ad12
mov edi, dword [0x2001a1fa]
lea eax, [esi + 0x18]
push 0
push eax
mov dword [esp + 0x1c], 0
call edi
lea ecx, [esi + 0x10]
push 0
push ecx
call edi
mov edx, dword [esi + 0x2c]
mov edi, dword [0x2001a212]
push 0xffffffffffffffff
push edx
call edi
mov eax, dword [esi + 0x30]
push 0xffffffffffffffff
push eax
call edi
mov ecx, dword [esi + 0x2c]
mov edi, dword [0x2001a27e]
push ecx
call edi
mov edx, dword [esi + 0x30]
push edx
call edi
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x2000aff7
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.2000bcf0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x2000c8f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
pushal
mov eax, dword fs:[0x30]
mov edx, dword [eax + 0xc]
add edx, 0x14
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x2000c931
mov esi, dword [edx + 0x28]
mov edi, dword [ebp + 8]
mov bx, word [esi]
mov bh, byte [edi]
cmp bl, 0x5a
jg 0x2000c925
cmp bl, 0x41
jl 0x2000c925
add bl, 0x20
cmp bl, bh
jne 0x2000c904
inc esi
inc esi
inc edi
test bx, bx
jne 0x2000c913
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x2000cfd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ecx, 0x5f8
mov eax, esi
mov dl, byte [esi + 0xf]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec ecx
jne 0x2000cfe0
mov al, byte [esi]
mov cl, byte [esi + 0xe]
pop esi
cmp al, cl
pop ebx
jne 0x2000cffc
cmp al, 0x2b
jne 0x2000cffc
mov al, 1
ret
xor al, al
ret

Function at 0x2000d000
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
push 0x1c
push eax
push edi
call dword [0x2001a276]
test eax, eax
je 0x2000d076
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
push ecx
push edx
push esi
call dword [0x2001a2da]
test eax, eax
je 0x2000d076
mov eax, dword [esi + 0x3c]
xor ecx, ecx
add eax, esi
sub edi, esi
xor ebp, ebp
mov cx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
xor ecx, ecx
mov cx, word [eax + 6]
test ecx, ecx
jbe 0x2000d076
lea eax, [edx + 0x10]
mov edx, dword [eax]
mov esi, dword [eax - 8]
mov ebx, dword [eax - 4]
cmp edx, esi
ja 0x2000d064
mov edx, esi
cmp edi, ebx
jb 0x2000d06e
add edx, ebx
cmp edi, edx
jbe 0x2000d080
inc ebp
add eax, 0x28
cmp ebp, ecx
jb 0x2000d056
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
inc ebp
sub edi, ebx
mov dword [edx], ebp
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret
Function at 0x20012d70
Capabilities:
Encode data using xor

Disassembly:
push esi
call fcn.200031c0
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 8]
or eax, 0xffffffff
test esi, esi
jbe 0x20012da5
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x2002397a]
xor eax, edx
inc ecx
dec esi
jne 0x20012d86
pop ebx
not eax
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x20012dc1
push esi
push 0x2002143a
push eax
call dword [0x2001a596]
add esp, 0xc
mov eax, esi
pop esi
ret

Function at 0x20013ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
mov dword [ebp - 4], 1
call sym.advapi32.dll_AccessCheckByType
add esp, 8
nop
xor ecx, ecx
test eax, eax
jle 0x20014044
push ebx
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
add bl, 0x7a
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x5f
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x46
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x20014013
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x401130
Capabilities:
Delete directory
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push 0
push 0x13
push 4
push 0x15
push 0
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x401199
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x143
jge 0x4011ad
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x401190
cmp dword [ebp - 4], 0
jbe 0x4011fc
push 0x40
mov eax, 0x1000
push eax
mov ecx, 0x1400
push ecx
push 0
push 0x4010e0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x28]
push 0
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x4011f5
push 0
call fcn.004015d1
add esp, 4
mov dword [0x4db138], eax
mov dword [ebp + 8], 0x27
mov eax, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401208
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], 0x1000
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 4
mov eax, dword [0x4010e4]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x4010e8]
mov dword [ebp - 0xc], ecx
mov edx, dword [0x4010ec]
mov dword [ebp - 8], edx
mov ax, word [0x4010f0]
mov word [ebp - 4], ax
mov cl, byte [0x4010f2]
mov byte [ebp - 2], cl
mov byte [ebp - 0xf], 0x69
lea edx, [ebp - 0x10]
push edx
push 0x4010f4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp loc.004e2081

Function at 0x4015d1
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0x1000
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0xa
jne 0x401601
movsx eax, byte [0x417c38]
cmp eax, 0x16
je 0x401601
jmp loc.004e2040
mov ecx, dword [ebp + 8]
add ecx, 1
push ecx
call fcn.004015d1
add esp, 4
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401b74
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [0x4db144], 1
jne fcn.00401b82
jmp loc.004e22b3

Function at 0x401b99
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
cmp dword [0x4db144], 1
jne fcn.00401ba7
jmp loc.004e2f9f

Function at 0x401d0a
Capabilities:
Packed with generic packer

Disassembly:
push 0
push 0
push dword [esp + 0xc]
jmp loc.004e3951

Function at 0x401d2c
Capabilities:
Terminate process

Disassembly:
push edi
push 1
pop edi
cmp dword [0x4db190], edi
jne fcn.00401d49
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
jmp loc.004e3209

Function at 0x401ddf
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
jmp loc.004e2480
Function at 0x401e1a
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [esp + 4], 0xffffffe0
ja 0x401e43
push dword [esp + 4]
call fcn.00401e46
test eax, eax
pop ecx
jne 0x401e45
cmp dword [esp + 8], eax
je 0x401e45
push dword [esp + 4]
jmp loc.004e3981
xor eax, eax
ret

Function at 0x401e46
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp esi, dword [0x417920]
ja 0x401e5e
push esi
jmp loc.004e386b
test esi, esi
jne 0x401e65
push 1
pop esi
add esi, 0xf
and esi, 0xfffffff0
push esi
push 0
push dword [0x4db520]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
pop esi
ret

Function at 0x40263b
Capabilities:
Packed with generic packer

Disassembly:
xor eax, eax
push 0
cmp dword [esp + 8], eax
push 0x1000
sete al
push eax
call dword [sym.imp.KERNEL32.dll_HeapCreate]
test eax, eax
mov dword [0x4db520], eax
je 0x402670
jmp loc.004e2020
xor eax, eax
ret

Function at 0x402881
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
jmp loc.004e2f7f

Function at 0x40355d
Capabilities:
Packed with generic packer

Disassembly:
push 4
push 0
push dword [esp + 0xc]
jmp loc.004e38c7

Function at 0x403980
Capabilities:
Packed with generic packer

Disassembly:
push edi
mov edi, dword [esp + 8]
jmp 0x4039f1
mov ecx, dword [esp + 0xc]
test ecx, 3
je 0x403a16
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x403a68
mov byte [edi], dl
inc edi
test ecx, 3
jne 0x4039fd
jmp 0x403a16
jmp 0x4e2c35
mov edx, 0x7efefeff
mov eax, dword [ecx]
add edx, eax
xor eax, 0xffffffff
xor eax, edx
mov edx, dword [ecx]
add ecx, 4
test eax, 0x81010100
je 0x403a11
test dl, dl
je 0x403a68
test dh, dh
je 0x403a5f
test edx, 0xff0000
je 0x403a52
test edx, 0xff000000
je 0x403a4a
jmp 0x403a11
mov dword [edi], edx
mov eax, dword [esp + 8]
pop edi
ret
mov word [edi], dx
mov eax, dword [esp + 8]
mov byte [edi + 2], 0
pop edi
ret
mov word [edi], dx
mov eax, dword [esp + 8]
pop edi
ret
mov byte [edi], dl
mov eax, dword [esp + 8]
pop edi
ret

Function at 0x403990
Capabilities:
Packed with generic packer

Disassembly:
mov ecx, dword [esp + 4]
push edi
test ecx, 3
je 0x4039ac
mov al, byte [ecx]
inc ecx
test al, al
je 0x4039df
test ecx, 3
jne 0x40399d
mov eax, dword [ecx]
mov edx, 0x7efefeff
add edx, eax
xor eax, 0xffffffff
xor eax, edx
add ecx, 4
test eax, 0x81010100
je 0x4039ac
mov eax, dword [ecx - 4]
test al, al
je 0x4039ee
test ah, ah
je 0x4039e9
test eax, 0xff0000
je 0x4039e4
test eax, 0xff000000
je 0x4039df
jmp 0x4039ac
lea edi, [ecx - 1]
jmp 0x4039f1
lea edi, [ecx - 2]
jmp 0x4039f1
lea edi, [ecx - 3]
jmp 0x4039f1
lea edi, [ecx - 4]
Function at 0x402f38
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x402f58
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402f67
mov ebx, 0x40fe48
mov eax, dword [ebp + 8]
test eax, eax
jl 0x402f7c
mov ecx, dword [0x4291f8]
add ecx, eax
push ecx
call fcn.00403166
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.00403134
test eax, eax
je 0x4030df
test byte [ebp + 0x17], 0x80
je 0x4030c8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x40bdb8
mov dword [ebp - 0xc], eax
call fcn.004061a5
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x40312a
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402fcc
mov esi, dword [ebp + 0x14]
mov edi, 0x40be48
push esi
push edi
call fcn.00403134
test eax, eax
je 0x4030df
sub dword [ebp + 0x14], esi
mov dword [0x40bdd0], edi
mov dword [0x40bdd4], esi
mov eax, dword [ebp - 8]
mov ecx, 0x40bdb8
mov dword [0x40bdd8], ebx
mov dword [0x40bddc], eax
call fcn.004061c5
test eax, eax
mov dword [ebp - 0x10], eax
jl 0x4030c0
mov esi, dword [0x40bdd8]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x429254], 1
mov edi, eax
je 0x403074
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x40303b
cmp dword [ebp + 0x14], 0
jne 0x403074
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x94]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.00404fd3
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x4030b5
cmp dword [ebp + 0x10], eax
jne 0x40309d
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4030c4
cmp dword [ebp - 0x14], esi
jne 0x4030c4
add dword [ebp - 4], esi
jmp 0x4030a9
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x40bdd8]
cmp dword [ebp - 0x10], 1
jne 0x402fef
jmp 0x40312a
cmp dword [ebp + 0x14], eax
jg 0x402fbf
jmp 0x40312a
push 0xfffffffffffffffc
jmp 0x4030e1
push 0xfffffffffffffffe
jmp 0x4030e1
test edi, edi
je 0x40311f
cmp dword [ebp + 0x14], esi
jge 0x4030d4
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00403134
test eax, eax
jne 0x403127
push 0xfffffffffffffffd
pop eax
jmp 0x40312d
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x4030ef
mov esi, dword [ebp + 0x14]
mov edi, 0x40be48
push esi
push edi
call fcn.00403134
test eax, eax
je 0x4030df
lea eax, [ebp + 0x10]
push 0
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4030c4
cmp esi, dword [ebp + 0x10]
jne 0x4030c4
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x4030e4
jmp 0x40312a
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x537d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x112000]
push edi
or ebp, 0xffffffff
jmp 0x537d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x537d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x537d48
mov eax, 1
add ebx, ebx
jne 0x537d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x537d7c
jne 0x537d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x537d9b
dec eax
add ebx, ebx
jne 0x537d88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x537d60
add ebx, ebx
jne 0x537d97
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x537ded
xor ecx, ecx
sub eax, 3
jb 0x537db3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x537e22
sar eax, 1
mov ebp, eax
jmp 0x537dbe
add ebx, ebx
jne 0x537dbe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x537d8c
inc ecx
add ebx, ebx
jne 0x537dcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x537d8c
add ebx, ebx
jne 0x537dd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x537dce
jne 0x537dea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x537dce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x537e0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x537dfe
jmp 0x537d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x537e0c
add edi, ecx
jmp 0x537d4e
pop esi
mov edi, esi
mov ecx, 0x423
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x537e2a
cmp byte [edi], 2
jne 0x537e2a
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 0x537e2f
lea edi, [esi + 0x135000]
mov eax, dword [edi]
or eax, eax
je 0x537ea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x137b94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x137bd0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x537e5c
mov ecx, edi
jns 0x537e8b
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 + 0x137bd4]
or eax, eax
je 0x537ea1
mov dword [ebx], eax
add ebx, 4
jmp 0x537e79
call dword [esi + 0x137be4]
mov ebp, dword [esi + 0x137bd8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x537edb
sub esp, 0xffffff80
jmp 0x402844