joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1e0120cc
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x1e02e028]
push ebx
mov ebx, 0x10000000
cmp dword [ebp + 8], ebx
push esi
mov dword [ebp - 4], eax
push edi
jne 0x1e01217b
push 0x104
lea eax, [ebp - 0x20c]
push eax
call sym.MIGISM.dll_IsmGetTempFile
xor edi, edi
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.1e01c06d
push eax
mov dword [0x1e032b7c], eax
call fcn.1e01b72d
cmp eax, edi
mov dword [0x1e032b78], eax
je 0x1e01224a
push 8
lea ecx, [ebp - 0x218]
push ecx
push eax
mov dword [ebp - 0x218], 0xf062298f
mov dword [ebp - 0x214], 0x10000
call fcn.1e01b83d
test eax, eax
je 0x1e012255
push edi
push 0x1e001da4
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
mov esi, eax
xor eax, eax
cmp dword [ebp + 0xc], edi
sete al
push eax
push dword [0x1e032b7c]
push esi
call fcn.1e00f18f
push esi
jmp 0x1e012245
xor edi, edi
push edi
push 0x1e001da4
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
push edi
push 2
lea ecx, [ebp - 0x240]
push ecx
push eax
mov esi, 0x1e001934
push esi
mov dword [ebp - 0x210], eax
call sym.MIGISM.dll_IsmGetObjectTypeId
or eax, ebx
push eax
call sym.MIGISM.dll_IsmAcquireObjectEx
test eax, eax
je 0x1e0121f2
push 0x1e001ae8
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.1e01b582
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.1e01c06d
push edi
push eax
push dword [ebp - 0x238]
mov dword [0x1e032b7c], eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1e012233
push dword [0x1e032b7c]
jmp 0x1e012229
push edi
push 2
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x210]
push esi
call sym.MIGISM.dll_IsmGetObjectTypeId
or eax, 0x20000000
push eax
call sym.MIGISM.dll_IsmAcquireObjectEx
test eax, eax
je 0x1e01223f
push edi
push dword [ebp - 0x238]
call fcn.1e01c06d
mov dword [0x1e032b7c], eax
push eax
call fcn.1e01b6cd
mov dword [0x1e032b78], eax
lea eax, [ebp - 0x240]
push eax
call sym.MIGISM.dll_IsmReleaseObject
push dword [ebp - 0x210]
call sym.MIGISM.dll_IsmDestroyObjectHandle
xor eax, eax
cmp dword [0x1e032b78], edi
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.1e01abd2
leave
ret 8
Function at 0x1e01b25e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x1e02e028]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
mov dword [ebp - 4], eax
jne 0x1e01b298
test esi, esi
jne 0x1e01b285
xor eax, eax
jmp 0x1e01b2f1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x1e01b2f1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call ebx
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x1e01b2c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1e01b2da
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x50
pop ecx
lea esi, [ebp - 0x144]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push dword [ebp - 0x148]
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.1e01abd2
leave
ret 8

Function at 0x1e01b304
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x1e02e028]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
mov dword [ebp - 4], eax
jne 0x1e01b33e
test esi, esi
jne 0x1e01b32b
xor eax, eax
jmp 0x1e01b399
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x1e01b399
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call ebx
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x1e01b36c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1e01b382
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, 0x94
lea esi, [ebp - 0x254]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push dword [ebp - 0x258]
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.1e01abd2
leave
ret 8
Function at 0x1e01b86f
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 1
call fcn.1e01c06d
mov edi, eax
mov ax, word [edi + 2]
cmp ax, 0x3a
push 0x5c
pop ebx
jne 0x1e01b8a5
cmp word [edi + 4], bx
jne 0x1e01b8a5
push ebx
lea eax, [edi + 6]
push eax
jmp 0x1e01b8d8
cmp word [edi], bx
jne 0x1e01b8d6
cmp ax, bx
jne 0x1e01b8d6
mov esi, dword [sym.imp.msvcrt.dll_wcschr]
lea eax, [edi + 4]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1e01b92a
add eax, 2
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1e01b92a
push ebx
add eax, 2
push eax
jmp 0x1e01b8de
push ebx
push edi
mov esi, dword [sym.imp.msvcrt.dll_wcschr]
call esi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x1e01b92a
and word [ebx], 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov dword [ebp - 4], eax
jne 0x1e01b910
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1e01b954
mov dword [ebp - 4], 1
mov word [ebx], 0x5c
push 0x5c
add ebx, 2
push ebx
call esi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x1e01b8e8
cmp dword [ebp - 4], eax
je 0x1e01b954
cmp dword [ebp + 0xc], 0
je 0x1e01b954
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov dword [ebp - 4], eax
jne 0x1e01b954
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1e01b954
mov dword [ebp - 4], 1
push edi
push 0
call fcn.1e01c0cf
cmp dword [ebp - 4], 0
jne 0x1e01b987
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 0xf8
pop ecx
jb 0x1e01b987
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x1e01b987
push 0xce
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1e023c30
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
dec eax
push esi
push edi
je 0x1e023c5e
dec eax
jne 0x1e023c94
push dword [0x1e02f37c]
mov edi, 0x1e033208
push edi
mov esi, 0x1e033200
call fcn.1e01e3af
push 0x1e00294c
jmp 0x1e023c79
push dword [0x1e02f37c]
mov edi, 0x1e033328
push edi
mov esi, 0x1e033320
call fcn.1e01e3af
push 0x1e002940
push edi
call fcn.1e01be99
push eax
call fcn.1e01e3af
push 1
lea edi, [esi + 8]
push edi
call fcn.1e0239ec
test eax, eax
jne 0x1e023c9b
xor eax, eax
jmp 0x1e023d43
push ebx
xor ebx, ebx
push edi
mov dword [esi + 4], ebx
mov dword [esi + 0x10c], ebx
call fcn.1e01b6fd
cmp eax, ebx
mov dword [esi], eax
je 0x1e023d40
push 0x10000
push dword [ebp + 8]
call fcn.1e023afd
test eax, eax
je 0x1e023d31
mov eax, dword [esi + 0x10c]
cmp eax, ebx
je 0x1e023d31
mov dword [eax + 4], ebx
mov eax, dword [esi + 0x10c]
or ebx, 0xffffffff
mov dword [eax + 8], ebx
mov eax, dword [esi + 0x10c]
mov dword [eax + 0xc], ebx
mov eax, dword [esi + 0x10c]
mov dword [eax + 0x10], ebx
mov eax, dword [esi + 0x10c]
mov dword [eax + 0x14], ebx
mov eax, dword [esi + 0x10c]
mov dword [eax + 0x18], ebx
call fcn.1e026d7d
mov ecx, dword [esi + 0x10c]
mov dword [ecx + 0x20], eax
mov edi, dword [esi + 0x10c]
xor eax, eax
add edi, 0x24
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0x10c]
mov dword [eax + 0x38], ebx
xor eax, eax
inc eax
jmp 0x1e023d42
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x1e023d4e
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
dec eax
push edi
je 0x1e023d65
dec eax
jne 0x1e023dbc
mov edi, 0x1e033200
jmp 0x1e023d6a
mov edi, 0x1e033320
push esi
lea esi, [edi + 0x10c]
mov eax, dword [esi]
test eax, eax
je 0x1e023d8a
push dword [eax + 0x20]
call fcn.1e0269f1
mov eax, dword [esi]
add eax, 0x24
push eax
call fcn.1e01f4b1
push edi
call fcn.1e0239bb
mov eax, dword [edi]
test eax, eax
pop esi
je 0x1e023da1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi], 0
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x44
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
movzx eax, byte [ebp + 8]
dec eax
je 0x1e023dd2
dec eax
je 0x1e023dc0
xor eax, eax
jmp 0x1e023dfe
mov eax, dword [0x1e03342c]
test eax, eax
je 0x1e023de9
mov byte [0x1e02f378], 1
jmp 0x1e023df0
cmp dword [0x1e03342c], 0
je 0x1e023de9
mov eax, dword [0x1e03330c]
mov byte [0x1e02f378], 2
jmp 0x1e023df0
xor eax, eax
mov byte [0x1e02f378], al
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x1e02f374], eax
mov eax, ecx
pop edi
pop ebp
ret 4
Function at 0x1e023e08
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [0x1e02f374], ebx
mov byte [0x1e02f378], bl
push ebx
je 0x1e023e6b
push dword [ebp + 8]
call fcn.1e01e6f8
mov dword [0x1e02f37c], eax
push 0x44
pop ecx
xor esi, esi
xor eax, eax
inc esi
mov edi, 0x1e033320
push esi
rep stosd dword es:[edi], eax
call fcn.1e023c30
test eax, eax
je 0x1e023e67
push 0x44
pop ecx
xor eax, eax
mov edi, 0x1e033200
push 2
rep stosd dword es:[edi], eax
call fcn.1e023c30
test eax, eax
push esi
jne 0x1e023ea4
call fcn.1e023d4e
xor eax, eax
jmp 0x1e023eaf
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
call esi
mov edi, eax
cmp edi, ebx
je 0x1e023e67
lea eax, [edi + 1]
push eax
call fcn.1e01bfb9
push eax
push edi
mov dword [0x1e02f37c], eax
call esi
test eax, eax
jne 0x1e023e31
push dword [0x1e02f37c]
push ebx
call fcn.1e01c0cf
mov dword [0x1e02f37c], ebx
jmp 0x1e023e67
mov dword [0x1e02f370], esi
call fcn.1e023940
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1e023ebb
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1e023e08

Function at 0x1e027247
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1e026e84
push eax
push esi
push dword [ebp + 8]
call fcn.1e026e39
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1e026e84
push eax
push esi
push dword [ebp + 8]
call fcn.1e026e39
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1e026e74
fst dword ss:[ebx]
bound ecx, qword [eax - 0x8363]
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
Function at 0x1e02a0a3
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x1e02a0b6
push eax
jmp 0x1e02a10d
mov ecx, dword [esi + 0x10]
dec eax
cmp dword [ebp + 0xc], 0
mov dword [esi + 0x34], eax
mov dword [ebp + 8], ecx
je 0x1e02a0d1
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x18]
jmp 0x1e02a0d3
xor ecx, ecx
mov edx, dword [ebp + 0xc]
push ebx
neg edx
sbb edx, edx
lea ebx, [esi + 0x1c]
and edx, ebx
push edx
push ecx
lea ecx, [esi + 0x14]
push ecx
push 0
lea ecx, [ebp + 8]
push ecx
push dword [esi + 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
pop ebx
je 0x1e02a117
mov ecx, eax
sub ecx, 0x103
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1e02a12d
and dword [esi + 0x3c], 0xfffffffb
cmp dword [ebp + 0xc], 0
mov eax, dword [esi + 0x3c]
je 0x1e02a12a
and eax, 0xfffffff7
mov dword [esi + 0x3c], eax
xor eax, eax
inc eax
pop esi
pop ebp
ret 8

Function at 0x1e02a157
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
inc dword [esi + 0x30]
push dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
push dword [esi + 0x28]
dec eax
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
je 0x1e02a1b5
cmp eax, 0xea
jne 0x1e02a1c1
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1e02a198
push eax
push dword [0x1e03347c]
call fcn.1e01fd58
mov eax, dword [esi + 0x2c]
shl eax, 1
mov dword [esi + 0x2c], eax
push 0
add eax, eax
push eax
push dword [0x1e03347c]
call fcn.1e01fc9e
mov dword [esi + 0x28], eax
jmp 0x1e02a163
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1e02a1ca
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
pop esi
pop ebp
ret 4
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x43b64f
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
add edi, 0x693adcf0
or ebx, edi
call fcn.0043b692
mov edi, 0x5b312b40
xor dword [esi], eax
dec ebx
sub ebx, 0x2a890c64
and ebx, edi
add esi, 1
inc edi
cmp esi, edx
jne fcn.0043b64f
add ebx, 0x3ed9dcb0
push ebx
mov edi, dword [esp]
add esp, 4
and edi, edi
ret
Function at 0x10004cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x10004d02
lea esp, [esp]
test cl, 3
je 0x10004d02
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4f3a460]
add ecx, 1
sub esi, 1
jne 0x10004ce0
cmp esi, 0x20
push ebx
push edi
jb 0x10004eec
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4f3a860]
xor edx, dword [ebx*4 + 0x4f3ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4f3a460]
add ecx, 4
xor edx, dword [eax*4 + 0x4f3b060]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4f3a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4f3ac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4f3a460]
add ecx, 4
xor eax, dword [edx*4 + 0x4f3b060]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4f3a860]
xor edx, dword [ebx*4 + 0x4f3ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4f3a460]
xor edx, dword [eax*4 + 0x4f3b060]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4f3a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4f3ac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4f3a460]
xor eax, dword [edx*4 + 0x4f3b060]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4f3a860]
xor edx, dword [ebx*4 + 0x4f3ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4f3a460]
xor edx, dword [eax*4 + 0x4f3b060]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4f3a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4f3ac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4f3a460]
and edx, 0xff
xor eax, dword [edx*4 + 0x4f3b060]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4f3a860]
xor edx, dword [ebx*4 + 0x4f3ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4f3a460]
add ecx, 4
xor edx, dword [eax*4 + 0x4f3b060]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4f3a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4f3ac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4f3a460]
and edx, 0xff
xor eax, dword [edx*4 + 0x4f3b060]
sub edi, 1
jne 0x10004d12
cmp esi, 4
jb 0x10004f39
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x4f3a860]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x4f3ac60]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4f3a460]
and eax, 0xff
xor edi, dword [eax*4 + 0x4f3b060]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x10004ef6
test esi, esi
pop edi
pop ebx
je 0x10004f5d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4f3a460]
add ecx, 1
sub esi, 1
jne 0x10004f40
not eax
pop esi
ret
Function at 0x100190a0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10019281
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
lea eax, [edi + 0x13f44]
push dword [eax]
mov dword [eax], 0xb0fd63da
push eax
push edi
or ebp, 0xffffffff
jmp 0x100190da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100190e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100190d0
mov eax, 1
add ebx, ebx
jne 0x100190f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100190e8
jne 0x10019104
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100190e8
xor ecx, ecx
sub eax, 3
jb 0x10019118
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1001918a
mov ebp, eax
add ebx, ebx
jne 0x10019123
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10019130
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10019154
inc ecx
add ebx, ebx
jne 0x10019140
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10019135
jne 0x10019151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10019135
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10019174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10019165
jmp 0x100190d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10019174
add edi, ecx
jmp 0x100190d6
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x437
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10019196
cmp byte [edi], 4
jne 0x10019196
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 0x1001919b
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x10019213
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x191dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19278]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100191c8
mov ecx, edi
jns 0x100191f7
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 + 0x1927c]
or eax, eax
je 0x1001920d
mov dword [ebx], eax
add ebx, 4
jmp 0x100191e5
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 0x10019244
cmp al, 0xef
ja 0x10019237
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10019219
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10019226
mov ebp, dword [esi + 0x19280]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x10019278
sub esp, 0xffffff80
jmp 0x1000f19f