joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov al, byte [esi + 0x44]
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
test al, al
js 0x452114
je 0x452184
mov eax, dword [esi + 0x74]
call fcn.004174b0
mov al, byte [esi + 0x44]
dec al
mov byte [esi + 0x44], al
je 0x452109
movsx eax, byte [esi + 0x44]
mov ecx, dword [esi + eax*4 + 0x78]
mov eax, dword [ecx + 0x48]
test byte [eax + 0x1c], 0x20
je 0x4520fa
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x10], edx
mov edi, dword [ecx + 0x3c]
mov dword [ecx + 0x88], eax
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov ebx, dword [edi]
dec eax
push edx
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x98]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
push 0
push eax
call fcn.004b5250
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov ebx, dword [ebp - 8]
add esp, 0x10
jmp 0x4520ff
call fcn.00414640
mov al, byte [esi + 0x44]
dec al
mov byte [esi + 0x44], al
jne 0x4520a0
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x74], ecx
jmp 0x4521a0
cmp dword [esi + 0x40], ebx
jne 0x452127
pop edi
mov byte [esi], 1
mov eax, 0x10
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi]
cmp al, 3
jb 0x45214c
cmp al, 4
jne 0x45213a
mov eax, dword [esi + 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
push edx
call fcn.004120f0
add esp, 4
mov dword [esi + 0x10], ebx
mov byte [esi], 1
movzx eax, byte [esi + 2]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
push eax
mov eax, dword [esi + 0x40]
push 0
lea edi, [esi + 0x74]
push edi
push edx
call fcn.004514f0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x452178
pop edi
mov byte [esi], 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov byte [esi + 0x44], 0
mov cl, byte [eax + 2]
mov byte [esi + 0x45], cl
mov eax, dword [esi + 0x74]
cmp byte [eax], 0
je 0x452211
movzx eax, byte [eax + 2]
xor edx, edx
cmp dword [esi + 0x70], edx
sete dl
cmp edx, eax
jne 0x452211
mov eax, dword [esi + 0x74]
and byte [esi + 1], 0xf1
xor ecx, ecx
xor edx, edx
mov word [esi + 0x46], cx
mov word [esi + 0x32], dx
cmp word [eax + 0x18], cx
jbe 0x4521c3
pop edi
mov eax, ebx
mov byte [esi], cl
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 8], cl
jne 0x452201
cmp dword [eax + 4], 1
je 0x4521de
mov eax, 0x10bff
call fcn.0044c590
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [eax + 9]
mov edx, dword [eax + 0x38]
mov eax, dword [ecx + edx + 8]
bswap eax
push eax
mov eax, esi
mov byte [esi], 0
call fcn.00451ff0
add esp, 4
pop edi
mov ebx, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0x10
pop edi
mov eax, ebx
mov byte [esi], 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4e5fc4
push 0x10bf2
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0043f0f0
add esp, 0x14
pop edi
mov eax, 0xb
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452ca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, eax
push esi
mov edi, ecx
mov eax, dword [edi + 0x50]
push ebx
push edi
call eax
movzx edx, word [esi + 0x10]
mov eax, dword [esi + 0xc]
add esp, 0xc
cmp edx, eax
je 0x452d1c
movzx ecx, word [esi + 0x12]
add ecx, ebx
cmp ecx, dword [edi + 0x3c]
jbe 0x452cfb
push 0x4e5fc4
push 0x11071
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0043f0f0
add esp, 0x14
pop edi
pop esi
mov eax, 0xb
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ecx - 4]
mov ebx, dword [edi + 0x34]
mov ecx, dword [ebx + 0x24]
sub ecx, 4
sub eax, edx
lea eax, [eax + ecx - 1]
xor edx, edx
div ecx
xor ecx, ecx
bswap esi
mov dword [ebp - 0x10], ebx
cmp eax, ecx
jne 0x452d2d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
dec eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
cmp esi, 2
jb 0x452e37
cmp esi, dword [ebx + 0x2c]
ja 0x452e37
cmp eax, ecx
je 0x452d6b
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push esi
mov edi, ebx
call fcn.00451ba0
add esp, 0xc
test eax, eax
jne 0x452d1e
mov edi, dword [ebp - 4]
test edi, edi
jne 0x452d7c
push ebx
mov edi, esi
call fcn.00417430
mov edi, eax
add esp, 4
test edi, edi
je 0x452dab
mov ecx, dword [edi + 0x48]
cmp word [ecx + 0x1e], 1
je 0x452dab
push 0x4e5fc4
push 0x11096
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0043f0f0
add esp, 0x14
mov ebx, 0xb
jmp 0x452db9
push esi
push ebx
mov eax, edi
call fcn.00452a00
add esp, 8
mov ebx, eax
test edi, edi
je 0x452e15
mov eax, dword [edi + 0x48]
test eax, eax
je 0x452e15
test byte [eax + 0x1c], 0x20
je 0x452e10
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x10], edx
mov esi, dword [ecx + 0x3c]
mov dword [ecx + 0x88], eax
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov edi, dword [esi]
dec eax
push edx
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x98]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
push 0
push eax
call fcn.004b5250
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x452e15
call fcn.00414640
test ebx, ebx
jne 0x452e2e
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], ebx
jne 0x452d25
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4e5fc4
push 0x11082
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0043f0f0
add esp, 0x14
pop edi
pop esi
mov eax, 0xb
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00452070
cmp eax, 0x10
jne 0x455d3a
mov dword [edi], 0
mov dword [edi + 4], 0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
test eax, eax
jne 0x455e6b
mov ecx, dword [esi + 0x74]
cmp byte [ecx + 8], 0
jne 0x455d52
cmp byte [ecx + 2], 0
jne 0x455d5d
movzx eax, word [ecx + 0x18]
cdq
add dword [ebp - 0xc], eax
adc dword [ebp - 8], edx
cmp byte [ecx + 8], 0
je 0x455e09
jmp 0x455d70
mov al, byte [esi + 0x44]
test al, al
je 0x455e58
and byte [esi + 1], 0xf9
xor edx, edx
mov word [esi + 0x32], dx
movsx edx, al
mov dx, word [esi + edx*2 + 0x46]
dec al
mov byte [esi + 0x44], al
movsx eax, al
mov word [esi + 0x46], dx
mov edx, dword [esi + eax*4 + 0x78]
mov dword [esi + 0x74], edx
mov eax, dword [ecx + 0x48]
test byte [eax + 0x1c], 0x20
je 0x455def
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x10], edx
mov edi, dword [ecx + 0x3c]
mov dword [ecx + 0x88], eax
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov ebx, dword [edi]
dec eax
push edx
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x98]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
push 0
push eax
call fcn.004b5250
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x455df4
call fcn.00414640
mov ecx, dword [esi + 0x74]
mov dx, word [esi + 0x46]
cmp dx, word [ecx + 0x18]
jae 0x455d70
inc word [esi + 0x46]
movzx eax, word [esi + 0x46]
movzx edx, word [ecx + 0x18]
cmp eax, edx
jne 0x455e22
movzx eax, byte [ecx + 9]
mov ecx, dword [ecx + 0x38]
mov eax, dword [eax + ecx + 8]
jmp 0x455e3c
mov edx, dword [ecx + 0x40]
mov ax, word [edx + eax*2]
mov dh, al
mov dl, ah
movzx eax, dx
movzx edx, word [ecx + 0x1a]
mov ecx, dword [ecx + 0x38]
and eax, edx
mov eax, dword [eax + ecx]
bswap eax
push eax
mov eax, esi
call fcn.00451ff0
add esp, 4
test eax, eax
je 0x455d43
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
call fcn.00452070
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x455f00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, eax
mov edi, ecx
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], eax
test esi, esi
je 0x456096
cmp dword [edi + 0x10], 0
je 0x456096
push edi
mov eax, esi
call fcn.004410f0
add esp, 4
test eax, eax
jne 0x456096
mov eax, dword [edi + 4]
mov edx, dword [eax + 0xcc]
dec dword [ebp + 0xc]
push 0
lea ecx, [ebp - 4]
push ecx
push esi
push eax
call edx
add esp, 0x10
test eax, eax
jne 0x456088
cmp dword [ebp + 8], 0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov ecx, dword [edi]
mov dword [ebp - 0x14], ebx
je 0x456000
cmp byte [ecx + 0x11], 0
mov edx, dword [ebx + 4]
bswap edx
mov dword [ebp - 8], edx
je 0x455f96
push 0
push 2
mov eax, edi
call fcn.00455e80
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add esp, 8
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x24]
shr ecx, 2
sub ecx, 2
cmp edx, ecx
jbe 0x455fb8
push esi
push str.freelist_leaf_count_too_big_on_page__d
call fcn.00441060
add esp, 8
dec dword [ebp + 0xc]
jmp 0x45601d
test edx, edx
jle 0x455ffb
mov edx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0xc], edx
mov eax, dword [edi]
cmp byte [eax + 0x11], 0
mov esi, dword [ebx]
bswap esi
je 0x455fdf
push 0
push 2
mov eax, edi
call fcn.00455e80
add esp, 8
push edi
mov eax, esi
call fcn.004410f0
add esp, 4
add ebx, 4
dec dword [ebp - 0xc]
jne 0x455fc5
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
sub dword [ebp + 0xc], edx
jmp 0x456020
cmp byte [ecx + 0x11], 0
je 0x456020
cmp dword [ebp + 0xc], 0
jbe 0x456020
push esi
mov esi, dword [ebx]
push 4
bswap esi
mov eax, edi
call fcn.00455e80
add esp, 8
mov eax, dword [ebp - 4]
mov esi, dword [ebx]
bswap esi
mov ecx, eax
test eax, eax
je 0x45607b
test byte [eax + 0x1c], 0x20
je 0x456076
mov eax, dword [eax + 0x14]
dec dword [eax + 0x78]
mov edx, dword [eax + 0x88]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x3c]
mov dword [eax + 0x88], ecx
mov ebx, dword [edx]
mov eax, dword [eax + 0x98]
mov dword [ebp - 0x14], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004b5250
push edx
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x48]
push edx
call eax
add esp, 0x10
jmp 0x45607b
call fcn.00414640
mov ebx, dword [ebp - 0x10]
test esi, esi
jne 0x455f21
jmp 0x456096
push esi
push str.failed_to_get_page__d
call fcn.00441060
add esp, 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4560c7
mov edx, dword [ebp - 0x18]
cmp edx, dword [edi + 0x14]
jne 0x4560c7
cmp dword [ebp + 8], 0
mov eax, str.size
jne 0x4560b5
mov eax, str.overflow_list_length
push ebx
sub ebx, ecx
push ebx
push eax
push str._s_is__d_but_should_be__d
call fcn.00441060
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458ea0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
push esi
push str.sqlite_master
push esi
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push ebx
call fcn.004443e0
add esp, 0x18
test edi, edi
jne 0x458ed5
push esi
push str.sqlite_master
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push ebx
call fcn.004443e0
add esp, 0x10
pop ebx
pop ebp
ret
Function at 0x4843a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
push eax
call fcn.00482ca0
add esp, 4
add edi, 0x10
mov dword [ebp - 4], 0x20
xor ebx, ebx
call fcn.00426550
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x484423
test byte [eax + 0x1c], 0x20
je 0x48441e
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x10], edx
mov esi, dword [ecx + 0x3c]
mov dword [ecx + 0x88], eax
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov ebx, dword [esi]
dec eax
push edx
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x98]
cdq
push edx
push eax
mov eax, dword [ebp - 8]
push 0
push eax
call fcn.004b5250
push edx
push eax
mov eax, dword [ebx + 0x48]
push esi
call eax
add esp, 0x10
xor ebx, ebx
jmp 0x484423
call fcn.00414640
mov esi, dword [edi + 0xc]
cmp esi, ebx
je 0x48447e
cmp dword [0x4fa060], ebx
je 0x484474
mov eax, dword [0x61e1b8]
cmp eax, ebx
je 0x484445
push eax
call dword [0x4fa0b0]
add esp, 4
push esi
call dword [0x4fa08c]
sub dword [0x61e158], eax
dec dword [0x61e17c]
push esi
call dword [0x4fa084]
mov eax, dword [0x61e1b8]
add esp, 8
cmp eax, ebx
je 0x48447e
push eax
call dword [0x4fa0b8]
jmp 0x48447b
push esi
call dword [0x4fa084]
add esp, 4
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
add edi, 0x28
dec dword [ebp - 4]
jne 0x4843c4
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x518]
mov dword [edi + 0x510], ebx
cmp esi, ebx
je 0x484521
cmp dword [0x4fa060], ebx
je 0x484517
mov eax, dword [0x61e1b8]
cmp eax, ebx
je 0x4844d7
push eax
call dword [0x4fa0b0]
add esp, 4
push esi
call dword [0x4fa08c]
sub dword [0x61e158], eax
dec dword [0x61e17c]
push esi
call dword [0x4fa084]
mov eax, dword [0x61e1b8]
add esp, 8
cmp eax, ebx
je 0x484521
push eax
call dword [0x4fa0b8]
add esp, 4
mov dword [edi + 8], ebx
mov dword [edi + 0x518], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [0x4fa084]
add esp, 4
mov dword [edi + 8], ebx
mov dword [edi + 0x518], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b34d3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x61e20c], 0
push esi
push edi
jne 0x4b3449
call fcn.004b33b5
test eax, eax
je 0x4b348e
mov eax, dword [0x61e20c]
cmp eax, 1
jne 0x4b346a
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4b348e
jmp 0x4b34d0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4b34d0
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4b3492
xor eax, eax
jmp 0x4b34d0
mov eax, dword [esi]
push dword [0x61e20c]
call edi
mov edi, eax
test edi, edi
je 0x4b34b4
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4b34d0
lea edi, [esi + 0xff0]
push esi
push dword [0x61e20c]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4b34ba
mov eax, esi
pop edi
pop esi
ret
jmp 0x4b3435

Function at 0x4b3f21
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4fb744]
jne 0x4b3f2b
repz ret
jmp fcn.004b918c
Function at 0x4bee1a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fb744]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004b8c1c
and dword [ebp - 0x14], 0
cmp dword [0x61f10c], 0
mov dword [ebp - 0x18], eax
jne 0x4beecd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4bef75
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4bef75
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4ed004
push ebx
mov dword [0x61f10c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x61f110], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x61f114], eax
call edi
push eax
call esi
mov dword [0x61f11c], eax
test eax, eax
je 0x4beecd
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x61f118], eax
mov eax, dword [0x61f118]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4bef26
cmp dword [0x61f11c], ecx
je 0x4bef26
push eax
call esi
push dword [0x61f11c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4bef26
test ebx, ebx
je 0x4bef26
call edi
test eax, eax
je 0x4bef1d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4bef1d
test byte [ebp - 8], 1
jne 0x4bef26
or dword [ebp + 0x10], 0x200000
jmp 0x4bef59
mov eax, dword [0x61f110]
cmp eax, dword [ebp - 0x18]
je 0x4bef59
push eax
call esi
test eax, eax
je 0x4bef59
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4bef59
mov eax, dword [0x61f114]
cmp eax, dword [ebp - 0x18]
je 0x4bef59
push eax
call esi
test eax, eax
je 0x4bef59
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x61f10c]
call esi
test eax, eax
je 0x4bef75
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4bef77
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3f21
leave
ret

Function at 0x4c4730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
push edi
mov edi, ecx
jle 0x4c475e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub edx, eax
add byte [eax], 0x67
mov ecx, esi
and ecx, 0xf
mov cl, byte [ecx + edi + 5]
xor cl, byte [edx + eax]
inc esi
mov byte [eax], cl
inc eax
cmp esi, dword [ebp + 0x10]
jl 0x4c4746
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4c4933
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
lea eax, [eax + esi + 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
push edi
push 0x39e51281
mov dword [ebp - 0x10], eax
call fcn.004cf30d
mov edi, eax
mov eax, 0x4bd3
mov word [ebp - 0x3c], ax
add eax, 0xffffffce
mov word [ebp - 0x3a], ax
mov eax, 0x4bd8
mov word [ebp - 0x38], ax
add eax, 0xffffffd0
mov word [ebp - 0x36], ax
mov eax, 0x4bdc
mov word [ebp - 0x34], ax
add eax, 0x13
mov word [ebp - 0x32], ax
mov eax, 0x4bdd
mov word [ebp - 0x30], ax
add eax, 0x16
pop ecx
mov word [ebp - 0x2e], ax
mov eax, 0x4b97
mov ecx, eax
mov word [ebp - 0x2c], cx
add ecx, 0x64
mov word [ebp - 0x2a], cx
mov ecx, eax
push 0xb
mov word [ebp - 0x28], cx
mov word [ebp - 0x26], ax
pop ecx
mov dx, word [ebp + ecx*2 - 0x3e]
lea eax, [ebp + ecx*2 - 0x3c]
xor word [eax], dx
dec ecx
test ecx, ecx
jg 0x4c49b9
mov eax, 0x4bb0
xor word [ebp - 0x3c], ax
lea eax, [ebp - 0x3c]
push eax
call edi
push 0x10
mov byte [ebp - 0x24], 0x6a
mov byte [ebp - 0x23], 0x18
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x21], 0x11
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x35
mov byte [ebp - 0x1e], 0x47
mov byte [ebp - 0x1d], 0x28
mov byte [ebp - 0x1c], 0x5c
mov byte [ebp - 0x1b], 0x39
mov byte [ebp - 0x1a], 0x5a
mov byte [ebp - 0x19], 0x2e
mov byte [ebp - 0x18], 0x6a
mov byte [ebp - 0x17], 0xb
mov byte [ebp - 0x16], 0x7f
mov byte [ebp - 0x15], 0x1e
mov byte [ebp - 0x14], 0x1e
pop eax
mov cl, byte [ebp + eax - 0x25]
xor byte [ebp + eax - 0x24], cl
dec eax
test eax, eax
jg 0x4c4a20
xor byte [ebp - 0x24], 0x29
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 8]
push ecx
push 5
push 0
push 0
push 0
push 0x4ed98c
lea ecx, [ebp - 0x10]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
add eax, 0x34
push eax
mov dword [ecx], eax
call fcn.004b4117
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
push 0xd
mov edi, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
and dword [eax], 0
mov dword [eax + 0x10], ecx
push dword [ebp - 8]
mov eax, dword [edx]
push dword [ebp - 4]
add eax, 0x34
push eax
call fcn.004b4d50
add esp, 0x10
pop edi
pop esi
leave
ret 0xc
Function at 0x4c4a9b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 5
mov ebx, ecx
pop ecx
mov esi, 0x4ed9a8
lea edi, [ebp - 0x14]
push 8
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dx, word [ebp + ecx*2 - 0x16]
lea eax, [ebp + ecx*2 - 0x14]
xor word [eax], dx
dec ecx
test ecx, ecx
jg 0x4c4ab6
push 5
pop ecx
mov esi, 0x4ed990
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov eax, 0x903
xor word [ebp - 0x14], ax
push 9
movsw word es:[edi], word [esi]
pop ecx
mov dx, word [ebp + ecx*2 - 0x2e]
lea eax, [ebp + ecx*2 - 0x2c]
xor word [eax], dx
dec ecx
test ecx, ecx
jg 0x4c4ae2
mov eax, 0x3ef0
xor word [ebp - 0x2c], ax
push 0x39e51281
call fcn.004cf30d
mov edi, eax
mov dword [esp], 0x764afe17
call fcn.004cf30d
mov esi, eax
pop ecx
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jne 0x4c4b27
lea eax, [ebp - 0x2c]
push eax
call edi
lea eax, [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x4c4b37
lea eax, [ebp - 0x14]
push eax
call edi
push 0x104
push 0x61f340
xor esi, esi
push esi
push 0x68f989af
call fcn.004cf30d
pop ecx
call eax
push 1
call fcn.004c7b8c
lea eax, [ebx + 0x18]
push eax
call fcn.004c736c
pop ecx
pop ecx
mov dword [ebx + 0x14], str.XXXXX_a_7XXXXX_bXX7X_XX9X5X
mov edi, 0x219
test esi, esi
je 0x4c4b7d
mov eax, dword [ebx + 0x14]
lea ecx, [eax + esi]
mov al, byte [eax]
xor byte [ecx], al
inc esi
cmp esi, edi
jb 0x4c4b6f
mov eax, dword [ebx + 0x14]
cmp dword [eax + 1], 0
je 0x4c4bc0
xor esi, esi
test esi, esi
je 0x4c4b9b
mov eax, dword [ebx + 0x14]
lea ecx, [eax + esi]
mov al, byte [eax]
xor byte [ecx], al
inc esi
cmp esi, edi
jb 0x4c4b8d
call fcn.004c7447
test al, al
je 0x4c4bc0
push 0xffffffffffffffff
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x186a0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4c4ba9
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4c4bf6
Capabilities:
Terminate process

Disassembly:
test dword [ecx + 0x24], 0x20000
jne 0x4c4c11
add ecx, 0x18
push 0x61f340
push ecx
call fcn.004cb940
pop ecx
call eax
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]