joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4eac4b
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x56c89d
call fcn.00546334
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004029a0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5728d8
call fcn.00403faa
cmp eax, 0xffffffff
jne 0x4ead16
push 0
push 0x57c154
lea ecx, [ebp - 0x4d0]
call fcn.00403faa
cmp eax, 0xffffffff
jne 0x4ead16
push 0
push 0x57227c
lea ecx, [ebp - 0x4d0]
call fcn.00403faa
cmp eax, 0xffffffff
jne 0x4ead16
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004029a0
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4eacf3
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.005462c3
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00401d00
jmp 0x4ead4e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00403130
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00401d00
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4ead3c
mov edi, dword [ebp - 0x4cc]
jmp 0x4ead4e
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.005462c3
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00401d00
mov eax, edi
call fcn.005462de
ret

Function at 0x55e9b3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055e673

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 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 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x401c66
pop dword [ebp - 0x34]
mov eax, 0x53877fef
sub eax, 0x53476389
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x9acf82dd
add dword [ebp - 0x44], 0xb382c26e
mov dword [ebp - 0x40], 0xb470d287
sub dword [ebp - 0x40], 0x823d8642
mov dword [ebp - 0x3c], 0x9949a4e6
add dword [ebp - 0x3c], 0xb3029f48
mov dword [ebp - 0x38], 0x885a143e
sub dword [ebp - 0x38], 0x885a143e
lea eax, [ebp - 0x44]
push eax
mov eax, 0x8d8b5f1f
sub eax, 0x8d4b2ecb
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x9972692e
add dword [ebp - 0x44], 0xdb000028
mov dword [ebp - 0x40], 0x41b5141e
add dword [ebp - 0x40], 0xffb74d57
mov dword [ebp - 0x3c], 0xf43a4c29
add dword [ebp - 0x3c], 0x6f352043
mov dword [ebp - 0x38], 0x26fc52f7
add dword [ebp - 0x38], 0xd903ad09
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xe314e429
sub eax, 0xe2d4b3fd
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x375ca
push 0
call eax
mov ecx, 0x4b86
xor ebx, ebx
add ebx, eax
mov esi, 0x1bcafa93
sub esi, 0x1b8a8a93
add esi, dword [ebp - 0x34]
mov edi, 0xd57db2fc
sub edi, 0x1e0d37bb
xor dword [ebp - 0x2c], eax
mov edx, dword [esi]
xor dword [ebp - 0x14], edx
sub edx, edi
xor dword [ebp - 0x2c], esi
mov dword [ebx], edx
xor dword [ebp - 4], 0x5e6f8eda
add ebx, 0x870c1860
sub ebx, 0x870c185c
add esi, 0xc88c57d4
sub esi, 0xc88c57d0
loop 0x401d84
add eax, 0x578b1505
add eax, 0xa8760be6
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x87c88745
add ecx, 0x787778bb
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x4031f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [ecx + 4]
push ebx
push esi
mov dword [esp + 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
test al, 3
je 0x403230
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x40dfa4]
test eax, eax
jne 0x403254
mov ecx, 0xd3dbc32a
call fcn.00403d50
mov edx, 0x3d233cad
mov ecx, eax
call fcn.00403cb0
mov dword [0x40dfa4], eax
call eax
mov ebx, eax
mov eax, dword [0x40df00]
test eax, eax
jne 0x40327c
mov ecx, 0xd3dbc32a
call fcn.00403d50
mov edx, 0xdd7f8201
mov ecx, eax
call fcn.00403cb0
mov dword [0x40df00], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x403332
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
mov ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x403322
cmp ebx, 8
jb 0x403307
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x4032c6
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x403307
movdqa xmm1, xmmword [esp + 0x20]
mov eax, ebx
and eax, 7
mov dword [esp + 0xc], ebx
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx]
movdqu xmm0, xmmword [esi]
add edx, 8
pxor xmm0, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esi + 0x10]
add esi, 0x20
pxor xmm0, xmm1
movdqu xmmword [edi + 0x10], xmm0
add edi, 0x20
cmp edx, eax
jb 0x4032e0
cmp edx, ebx
jae 0x403322
sub edi, esi
lea ecx, [ecx]
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [esp + 0x14]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ebx
jb 0x403310
mov edx, dword [esp + 0x18]
test edx, edx
je 0x403330
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4033a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x4033c9
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x40dfa4]
test eax, eax
jne 0x4033ed
mov ecx, 0xd3dbc32a
call fcn.00403d50
mov edx, 0x3d233cad
mov ecx, eax
call fcn.00403cb0
mov dword [0x40dfa4], eax
call eax
mov edi, eax
mov eax, dword [0x40df00]
test eax, eax
jne 0x403415
mov ecx, 0xd3dbc32a
call fcn.00403d50
mov edx, 0xdd7f8201
mov ecx, eax
call fcn.00403cb0
mov dword [0x40df00], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x403495
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x40348a
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x403450
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x4034a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x4034ca
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x40dfa4]
test eax, eax
jne 0x4034ee
mov ecx, 0xd3dbc32a
call fcn.00403d50
mov edx, 0x3d233cad
mov ecx, eax
call fcn.00403cb0
mov dword [0x40dfa4], eax
call eax
mov edi, eax
mov eax, dword [0x40df00]
test eax, eax
jne 0x403516
mov ecx, 0xd3dbc32a
call fcn.00403d50
mov edx, 0xdd7f8201
mov ecx, eax
call fcn.00403cb0
mov dword [0x40df00], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x403582
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x40357a
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x403550
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x403a80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp], 0x3f54
mov eax, 0xd41d41d5
shl dword [esp], 3
push ebx
push esi
mov esi, dword [esp + 8]
mov ebx, ecx
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 6
mov dword [esp + 8], esi
add dword [esp + 8], 0xfe7f
add dword [esp + 8], 0x2e7
xor dword [esp + 8], 0x108a2
mov dword [esp + 0xc], 0x3498
imul eax, dword [esp + 0xc], 0x15
mov dword [esp + 0xc], eax
add dword [esp + 0xc], 0xffffaffa
xor dword [esp + 0xc], 0x40074
mov dword [esp + 0xc], 0xe0d1
shr dword [esp + 0xc], 9
xor dword [esp + 0xc], 0xa5da35cd
xor dword [esp + 0xc], 0xa5da35ad
cmp byte [ebx], 0
je 0x403b85
push edi
lea ebx, [ebx]
mov edi, dword [esp + 0xc]
lea ebx, [ebx + 1]
mov dword [esp + 0x10], 0x3498
imul eax, dword [esp + 0x10], 0x15
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffffaffa
xor dword [esp + 0x10], 0x40074
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], 0xe0d1
shr dword [esp + 0x10], 9
xor dword [esp + 0x10], 0xa5da35cd
xor dword [esp + 0x10], 0xa5da35ad
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
movsx eax, byte [ebx - 1]
mov dword [esp + 0xc], eax
add dword [esp + 0xc], esi
shl edx, cl
add dword [esp + 0xc], edx
sub dword [esp + 0xc], edi
cmp byte [ebx], 0
jne 0x403b10
pop edi
mov eax, dword [esp + 8]
pop esi
pop ebx
add esp, 8
ret
Function at 0x403cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x403d0c
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.00403a80
xor eax, 0x7916d308
cmp eax, dword [esp + 0x10]
je 0x403d16
inc esi
cmp esi, dword [edi + 0x18]
jb 0x403cf0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x403d44
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x403d44
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x403ed0
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x403ef6
cmp al, 0x2e
je 0x403ef3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x403ee3
jmp 0x403ef6
mov byte [edx], 0
mov eax, dword [0x40e5c8]
test eax, eax
jne 0x403f1a
mov ecx, 0xd3dbc32a
call fcn.00403d50
mov edx, 0x8e2e6c3f
mov ecx, eax
call fcn.00403cb0
mov dword [0x40e5c8], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x403f61
mov eax, dword [0x40e4d4]
test eax, eax
jne 0x403f4b
mov ecx, 0xd3dbc32a
call fcn.00403d50
mov edx, 0xa63d68e4
mov ecx, eax
call fcn.00403cb0
mov dword [0x40e4d4], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x403f61
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.00403a80
xor eax, 0x7916d308
mov ecx, edi
mov edx, eax
call fcn.00403cb0
pop edi
pop esi
add esp, 0x104
ret
Function at 0x403d50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
push ebx
push ebp
push esi
mov ebx, dword [eax + 0xc]
add ebx, 0xc
mov dword [esp + 0x18], ecx
push edi
mov dword [esp + 0x18], ebx
mov ebp, dword [ebx]
cmp ebp, ebx
je 0x403eb3
jmp 0x403d80
mov esi, dword [ebp + 0x30]
mov eax, 0xd41d41d5
mov dword [esp + 0x10], 0x3f54
shl dword [esp + 0x10], 3
mov ecx, dword [esp + 0x10]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [esp + 0x10], ecx
add dword [esp + 0x10], 0xfe7f
add dword [esp + 0x10], 0x2e7
xor dword [esp + 0x10], 0x108a2
mov dword [esp + 0x14], 0x3498
imul eax, dword [esp + 0x14], 0x15
mov dword [esp + 0x14], eax
add dword [esp + 0x14], 0xffffaffa
xor dword [esp + 0x14], 0x40074
mov dword [esp + 0x14], 0xe0d1
shr dword [esp + 0x14], 9
xor dword [esp + 0x14], 0xa5da35cd
xor dword [esp + 0x14], 0xa5da35ad
cmp word [esi], 0
je 0x403e99
jmp 0x403e10
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], 0x3498
imul eax, dword [esp + 0x14], 0x15
mov dword [esp + 0x14], eax
add dword [esp + 0x14], 0xffffaffa
xor dword [esp + 0x14], 0x40074
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], 0xe0d1
shr dword [esp + 0x14], 9
xor dword [esp + 0x14], 0xa5da35cd
xor dword [esp + 0x14], 0xa5da35ad
shl edx, cl
movzx ecx, byte [esp + 0x14]
mov edi, dword [esp + 0x10]
movzx eax, word [esi]
shl edi, cl
cmp eax, 0x41
jb 0x403e78
cmp eax, 0x5a
ja 0x403e78
add eax, 0x20
mov dword [esp + 0x10], eax
add esi, 2
add dword [esp + 0x10], edx
add dword [esp + 0x10], edi
sub dword [esp + 0x10], ebx
cmp word [esi], 0
jne 0x403e10
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor eax, 0x5ca52558
cmp eax, dword [esp + 0x1c]
je 0x403ebd
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x403d80
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x404190
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x40432e
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x40432e
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x40432e
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x40432e
mov eax, dword [0x40dbf4]
test eax, eax
jne 0x4041fb
mov ecx, 0xd3dbc32a
call fcn.00403d50
mov edx, 0x40c77542
mov ecx, eax
call fcn.00403cb0
mov dword [0x40dbf4], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x404325
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x40e678]
test eax, eax
jne 0x40425b
mov ecx, 0x8e8b054c
call fcn.00403d50
mov edx, 0x44ab0c7f
mov ecx, eax
call fcn.00403cb0
mov dword [0x40e678], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x4042de
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x40e678]
test eax, eax
jne 0x4042c6
mov ecx, 0x8e8b054c
call fcn.00403d50
mov edx, 0x44ab0c7f
mov ecx, eax
call fcn.00403cb0
mov dword [0x40e678], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x404285
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.00404460
mov edx, edi
mov ecx, ebx
call fcn.00404370
pop esi
test eax, eax
jne 0x404325
mov eax, dword [0x40e460]
test eax, eax
jne 0x404319
mov ecx, 0xd3dbc32a
call fcn.00403d50
mov edx, 0x83e40c5f
mov ecx, eax
call fcn.00403cb0
mov dword [0x40e460], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x100370be
Capabilities:
Encode data using xor

Disassembly:
push 0x203
call fcn.100375cd
jb 0x10037387
xchg esi, eax
mov eax, dword [esp + 4]
bswap eax
mov edx, eax
and eax, 0xf0f0f0f
xor edx, eax
rol eax, 8
or eax, edx
mov edx, eax
and eax, 0x33333333
xor edx, eax
rol eax, 4
or eax, edx
mov edx, eax
and eax, 0x55555555
xor edx, eax
rol eax, 2
or eax, edx
ror eax, 7
push eax
mov eax, esi
bswap eax
mov edx, eax
and eax, 0xf0f0f0f
xor edx, eax
rol eax, 8
or eax, edx
mov edx, eax
and eax, 0x33333333
xor edx, eax
rol eax, 4
or eax, edx
mov edx, eax
and eax, 0x55555555
xor edx, eax
rol eax, 2
or eax, edx
ror eax, 7
pop ebx
push esi
add eax, ebx
xchg ecx, eax
lea esi, [ebp + 0x776]
mov ebx, ecx
shr ebx, 0x10
mov edx, 0x3575
dec edx
shr edx, 1
mov ch, cl
dec cx
and cl, 0xf
mov ax, word [esi]
xor ax, bx
add ax, cx
ror ax, cl
xor ax, cx
mov word [esi], ax
inc esi
inc esi
dec edx
jne 0x1003714c
mov ecx, 0x3575
dec ecx
shr ecx, 2
lea esi, [ebp + 0x776]
mov edi, esi
lodsw ax, word [esi]
mov bx, ax
lodsw ax, word [esi]
stosw word es:[edi], ax
mov ax, bx
stosw word es:[edi], ax
loop 0x1003717b
lea esi, [ebp + 0x776]
pop ecx
mov ebx, ecx
shr ebx, 0x10
mov edx, 0x3575
dec edx
mov ch, cl
dec cx
and cl, 0xf
mov al, byte [esi]
xor al, bl
add al, ch
ror al, cl
xor al, cl
mov byte [esi], al
inc ebx
inc esi
dec edx
jne 0x1003719d
lea esi, [ebp + 0x776]
mov ecx, dword [esp + 4]
mov ebx, ecx
shr ebx, 0x10
mov edx, 0x3575
dec edx
shr edx, 1
mov ch, cl
dec cx
and cl, 0xf
mov ax, word [esi]
xor ax, bx
add ax, cx
ror ax, cl
xor ax, cx
mov word [esi], ax
inc esi
inc esi
dec edx
jne 0x100371cc
clc
xor ecx, ecx
pop ebx
pop eax
call fcn.10037776

Function at 0x10037436
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x3c]
add edi, eax
mov ecx, dword [edi + 0x7c]
jecxz 0x10037490
mov ebx, eax
add ebx, dword [edi + 0x78]
mov edx, eax
add edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
mov edi, edx
mov ebp, eax
xor eax, eax
push eax
mov esi, ebp
add esi, dword [edx + eax*4]
push esi
mov edi, esi
push eax
push ecx
mov al, 0
xor ecx, ecx
dec ecx
repne scasb al, byte es:[edi]
pop ecx
pop eax
xchg edi, esi
sub esi, dword [esp]
mov edi, esi
pop esi
call fcn.1003707b
cmp eax, dword [esp + 0x18]
pop eax
je 0x100374a1
inc eax
loop 0x10037465
xor eax, eax
pop dword fs:[0]
add esp, 4
pop ebp
clc
ret 8
mov edx, ebp
add edx, dword [ebx + 0x24]
movzx eax, word [edx + eax*2]
cmp eax, dword [ebx + 0x14]
jae 0x10037490
mov edx, ebp
add edx, dword [ebx + 0x1c]
add ebp, dword [edx + eax*4]
xchg ebp, eax
jmp 0x10037492