joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467b50
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8960
call fcn.00488480
mov al, byte [ecx]
push ebx
push ebp
mov ebp, dword [esp + 0x896c]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x8974]
cmp al, 0x41
je 0x467b77
cmp al, 0x61
jne 0x467bc8
cmp byte [ecx + 1], bl
jne 0x467bc8
cmp byte [edi], bl
jne 0x467bc8
cmp byte [esi], bl
jne 0x467bc8
cmp byte [edx], bl
jne 0x467bc8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x467ba9
cmp byte [ebp + 0xc2], bl
jne 0x467ba9
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x467ba9
xor esi, esi
cmp byte [esp + 0x897c], bl
je 0x467bbc
cmp esi, ebx
je 0x467bbc
mov dword [ebp + 0xa0], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x8960
ret
cmp al, bl
jne 0x467be9
cmp byte [edi], bl
jne 0x467be9
cmp byte [esi], bl
jne 0x467be9
cmp byte [edx], bl
jne 0x467be9
mov eax, ebp
call fcn.00467d40
pop esi
pop ebp
pop ebx
add esp, 0x8960
ret
push edx
push esi
push edi
push ecx
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x830], 0x49588a
mov byte [esp + 0x84c], bl
mov dword [esp + 0x850], ebx
mov dword [esp + 0x854], ebx
mov dword [esp + 0x858], ebx
mov dword [esp + 0x85c], ebx
mov dword [esp + 0x860], ebx
mov dword [esp + 0x864], ebx
mov dword [esp + 0x870], ebx
mov dword [esp + 0x874], ebx
call fcn.00468780
test eax, eax
je 0x467cfa
test byte [esp + 0x10], 2
mov al, byte [esp + 0x8978]
mov ecx, dword [esp + 0x8980]
mov edx, dword [esp + 0x8984]
mov byte [esp + 0x838], al
mov dword [esp + 0x848], ecx
mov dword [esp + 0x84c], edx
je 0x467d06
mov eax, dword [esp + 0x82c]
cmp eax, 0xffff
je 0x467cd3
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x467cfa
cmp byte [ebp + 0xc2], bl
jne 0x467ccc
mov eax, dword [esp + 0x82c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x467ccc
mov ecx, dword [esp + 0x82c]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
je 0x467cfa
mov eax, dword [esp + 0x82c]
cmp dword [esp + 0x860], eax
je 0x467cec
lea esi, [esp + 0x10]
mov dword [esp + 0x860], eax
call fcn.00468bd0
push ebx
lea ecx, [esp + 0x14]
call fcn.00468c50
test eax, eax
jne 0x467d16
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x8960
ret
lea edx, [esp + 0x10]
push edx
push 0x467db0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x840]
cmp byte [esp + 0x897c], bl
je 0x467d30
cmp eax, ebx
je 0x467d30
mov dword [ebp + 0xa0], eax
pop esi
pop ebp
pop ebx
add esp, 0x8960
ret
Function at 0x467f20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8014
call fcn.00488480
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
test ecx, ecx
je 0x467f50
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.004668b0
mov eax, 0x4916f4
jmp 0x467f55
mov eax, 0x491918
mov ecx, dword [0x4a13a4]
mov edi, 1
push edi
push 0
push 0xffffffffffffffff
push eax
call fcn.004668b0
cmp dword [ebp + 0x14], 0
jne 0x467f78
mov dword [ebp + 0x14], 0x1f4
cmp dword [ebp + 0x18], edi
jge 0x467f84
mov dword [ebp + 0x18], 0x32
cmp dword [ebp + 0xc], edi
jge 0x467f8c
mov dword [ebp + 0xc], edi
test esi, esi
je 0x468128
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea eax, [esp + 0x1c]
push eax
push 0x7d0
push 2
push 0
push 0
push 0x406
push esi
call ebx
test eax, eax
je 0x468128
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [esp + 0x1c]
jg 0x468128
push 0x8000
mov ecx, esi
lea edi, [esp + 0x18]
call fcn.004653f0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x468128
mov edi, dword [ebp + 0xc]
dec edi
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
lea esp, [esp]
lea edx, [esp + 0xc]
push edx
push 0x7d0
push 2
push 0
push edi
push 0x403
push esi
call ebx
test eax, eax
je 0x46807b
mov eax, 0x7fff
cmp word [esp + 0xc], ax
ja 0x4680be
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0x7d0
push 2
push edx
push edi
push 0x402
push esi
call ebx
test eax, eax
je 0x46807b
movzx eax, word [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0
inc eax
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4680b9
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x20]
call fcn.004674b0
test al, al
jne 0x4680db
cmp dword [ebp + 8], 0
jne 0x4680c4
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x468109
cmp dword [ebp + 0x14], 0
jl 0x4680a6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x18]
add ecx, dword [ebp + 0x14]
sub ecx, eax
cmp ecx, 5
jle 0x4680f3
mov eax, dword [ebp + 0x18]
push 1
push eax
call fcn.00401340
add esp, 8
jmp 0x468000
mov byte [esp + 0x20], 0
cmp dword [ebp + 8], 0
je 0x468109
push 1
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004668b0
mov edi, eax
jmp 0x46810e
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.004668b0
jmp 0x4680be
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
mov edi, 1
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push edx
call fcn.00465470
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469150
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x895c
call fcn.00488480
mov eax, dword [esp + 0x8960]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x4691fd
mov dword [esp + 0x848], eax
lea eax, [esp + 8]
push eax
push 0x469880
mov dword [esp + 0x10], ebx
mov dword [esp + 0x81c], 0x49588a
mov byte [esp + 0x838], bl
mov dword [esp + 0x83c], ebx
mov dword [esp + 0x840], ebx
mov dword [esp + 0x844], ebx
mov dword [esp + 0x848], ebx
mov dword [esp + 0x84c], ebx
mov dword [esp + 0x85c], ebx
mov dword [esp + 0x860], ebx
mov byte [esp + 0x854], cl
mov dword [esp + 0x858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x838], ebx
je 0x4691fd
mov ecx, dword [0x49d3c8]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x4691fd
push 1
push eax
call fcn.00401340
add esp, 8
mov eax, 1
pop ebx
add esp, 0x895c
ret 4

Function at 0x469210
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x46922c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x49d3c8]
push eax
push esi
mov ecx, edi
call fcn.004696c0
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x469263
test eax, eax
jne 0x469267
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.00469320
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x4692e6
test esi, esi
je 0x4692e6
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.00401340
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x4692c5
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x4692c5
push 1
push 0x8000012f
call fcn.00401340
add esp, 8
push esi
call edi
test eax, eax
jne 0x4692a0
mov edx, dword [0x49d3c8]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x4692de
push 1
push eax
call fcn.00401340
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x469300
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.00469320
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00469490
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x469490
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8960
call fcn.00488480
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x469610
xor cl, cl
mov eax, edi
call fcn.00469630
test eax, eax
jne 0x4694c5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8960
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x49d3c8]
push eax
push ebp
mov ecx, edi
call fcn.004696c0
test eax, eax
je 0x4694e8
xor eax, eax
mov dword [0x4a2bb0], eax
jmp 0x4694ed
mov eax, dword [0x4a2bb0]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x824], 0x49588a
mov dword [esp + 0x844], ebx
mov dword [esp + 0x848], ebx
mov dword [esp + 0x84c], ebx
mov dword [esp + 0x864], ebx
mov dword [esp + 0x868], ebx
cmp byte [esp + 0x8974], bl
je 0x469533
mov byte [esp + 0x840], bl
cmp eax, ebx
je 0x46953b
mov byte [esp + 0x840], 1
mov ecx, dword [0x4a2bac]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x854], eax
lea eax, [esp + 0x18]
push eax
push 0x469790
mov dword [esp + 0x858], ecx
mov dword [esp + 0x860], edx
call esi
mov eax, dword [esp + 0x848]
cmp eax, ebx
je 0x4695e8
lea ecx, [esp + 0x10]
push ecx
push 0x468590
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4695a5
mov edx, dword [esp + 0x848]
call fcn.00468f70
mov dword [esp + 0x848], esi
mov eax, dword [esp + 0x848]
call fcn.00467640
mov edx, dword [esp + 0x848]
call fcn.00468f70
mov edx, dword [0x49d3c8]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x469610
push 1
push eax
call fcn.00401340
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8960
ret 4
mov eax, dword [0x4a2bb0]
cmp eax, ebx
je 0x469610
cmp eax, 1
setg al
mov dword [0x4a2bb0], ebx
cmp al, bl
je 0x469610
mov edx, ebp
call fcn.00468f70
push ebx
mov ecx, edi
call fcn.00469490
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8960
ret 4
Function at 0x46f290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
jmp 0x46f2b0
movzx eax, byte [edi]
movzx eax, byte [eax + 0x4968b0]
movzx edx, byte [eax + edi]
add eax, edi
lea ecx, [edx - 4]
cmp ecx, 0x64
ja 0x46f306
jmp 0x46f2d0
movzx ecx, byte [ecx + 0x46f3bc]
jmp dword [ecx*4 + 0x46f3ac]
movzx ecx, byte [eax]
cmp ecx, 0x5e
je 0x46f377
cmp ecx, 0x5f
jne 0x46f332
movzx ecx, byte [eax + 3]
movzx edx, byte [eax + 4]
shl ecx, 8
or ecx, edx
mov edx, 1
cmp ecx, 0x20
jge 0x46f32c
shl edx, cl
push ebp
or edx, ebx
push edx
jmp 0x46f379
cmp ecx, 0x58
je 0x46f377
cmp ecx, 0x5d
je 0x46f377
cmp ecx, 0x60
je 0x46f377
cmp ecx, 0x39
je 0x46f36b
cmp ecx, 0x3a
je 0x46f36b
cmp ecx, 0x42
je 0x46f36b
cmp ecx, 1
je 0x46f387
cmp ecx, 2
je 0x46f387
test byte [esi], 2
jne 0x46f364
cmp ecx, 0x1a
je 0x46f387
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
cmp byte [eax + 1], 0xd
jne 0x46f364
test ebp, ebx
jne 0x46f364
jmp 0x46f387
push ebp
push ebx
push esi
push eax
call fcn.0046f290
add esp, 0x10
test eax, eax
je 0x46f364
movzx eax, byte [edi + 1]
movzx ecx, byte [edi + 2]
shl eax, 8
or eax, ecx
add edi, eax
cmp byte [edi], 0x54
je 0x46f2b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x46f6a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
or edi, 0xffffffff
movzx edx, byte [ebp + 3]
lea eax, [ebp + 3]
lea ecx, [edx - 4]
cmp ecx, 0x64
ja case.0x46f6c9.6
movzx ecx, byte [ecx + 0x46f7b0]
jmp dword [ecx*4 + 0x46f7a0]
movzx ecx, byte [eax + 1]
mov edx, dword [esi]
xor edx, ecx
test dl, 1
je 0x46f6df
mov dword [esi], ecx
add eax, 2
jmp 0x46f70f
movzx ecx, byte [eax + 1]
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
add eax, ecx
cmp byte [eax], 0x54
je case.0x46f6c9.89
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x4968b0]
add eax, edx
jmp 0x46f70f
movzx ecx, byte [edx + 0x4968b0]
add eax, ecx
movzx edx, byte [eax]
lea ecx, [edx - 4]
cmp ecx, 0x64
jbe 0x46f6c2
movzx ecx, byte [eax]
lea edx, [ecx - 0x1c]
cmp edx, 0x44
ja case.0x46f72c.30
movzx edx, byte [edx + 0x46f828]
jmp dword [edx*4 + 0x46f818]
xor edx, edx
cmp ecx, 0x58
sete dl
push edx
push esi
push eax
call fcn.0046f6a0
add esp, 0xc
test eax, eax
js case.0x46f72c.30
test edi, edi
jns 0x46f772
mov edi, eax
jmp 0x46f776
add eax, 2
test ebx, ebx
je case.0x46f72c.30
test edi, edi
jns 0x46f76e
test byte [esi], 1
movzx edi, byte [eax + 1]
je 0x46f776
or edi, 0x100
jmp 0x46f776
movzx eax, byte [eax + 1]
cmp edi, eax
jne case.0x46f72c.30
movzx ecx, byte [ebp + 1]
movzx edx, byte [ebp + 2]
shl ecx, 8
or ecx, edx
add ebp, ecx
cmp byte [ebp], 0x54
je 0x46f6b3
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x475c20
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x398
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x290]
call fcn.004760f6
push 0
push dword [esi + 8]
push dword [esi]
call fcn.0047b2c8
add esp, 0xc
lea eax, [ebp - 0x398]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.00475f02
test eax, eax
je 0x475c64
push 6
jmp 0x475cf3
push dword [esi]
lea eax, [ebp - 1]
push 1
pop ebx
push ebx
push ebx
push eax
call fcn.0047b221
push dword [esi]
lea eax, [ebp - 8]
push ebx
push 4
push eax
call fcn.0047b221
push dword [esi]
mov edi, dword [ebp - 8]
lea eax, [ebp - 8]
xor edi, 0x45aa
push ebx
push 4
push eax
call fcn.0047b221
mov eax, dword [ebp - 8]
push dword [esi]
xor eax, 0x45aa
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x14]
push 4
push eax
call fcn.0047b221
add esp, 0x40
lea eax, [ebp - 0x18]
push dword [esi]
push ebx
push 4
push eax
call fcn.0047b221
push dword [esi]
lea eax, [ebp - 0x1c]
push ebx
push 4
push eax
call fcn.0047b221
push dword [esi]
lea eax, [ebp - 0x20]
push ebx
push 4
push eax
call fcn.0047b221
push dword [ebp - 0xc]
call fcn.00476de3
add esp, 0x34
mov dword [ebp + 8], eax
test eax, eax
jne 0x475cf9
push 8
pop eax
jmp 0x475dd0
push edi
call fcn.00476de3
test eax, eax
pop ecx
mov dword [ebp - 0x10], eax
jne 0x475d0f
push 8
pop esi
jmp 0x475dc5
push dword [esi]
push ebx
push edi
push eax
call fcn.0047b221
mov eax, dword [esi + 0x110]
add esp, 0x10
add eax, 0x22af
mov ecx, esi
push eax
push edi
mov edi, dword [ebp - 0x10]
push edi
call fcn.00475bf2
cmp byte [ebp - 1], bl
jne 0x475d73
lea ecx, [ebp - 0x290]
call fcn.004760f6
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x290], eax
call fcn.00476122
push edi
call fcn.004785bf
pop ecx
jmp 0x475d7f
push dword [ebp + 8]
call fcn.004785bf
pop ecx
mov dword [ebp + 8], edi
push 0x49c014
push dword [ebp + 0xc]
call fcn.0047a3c6
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x475d9b
push 7
jmp 0x475d09
push edi
push ebx
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.0047a534
push edi
call fcn.0047a61b
add esp, 0x14
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call fcn.0047604e
xor esi, esi
push dword [ebp + 8]
call fcn.004785bf
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x475dd7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x380
push esi
mov esi, ecx
lea ecx, [ebp - 0x278]
call fcn.004760f6
push 0
push dword [esi + 8]
push dword [esi]
call fcn.0047b2c8
add esp, 0xc
lea eax, [ebp - 0x380]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.00475f02
test eax, eax
je 0x475e1a
push 6
pop eax
jmp 0x475efd
push ebx
push edi
push dword [esi]
lea eax, [ebp - 1]
push 1
pop ebx
push ebx
push ebx
push eax
call fcn.0047b221
push dword [esi]
lea eax, [ebp - 8]
push ebx
push 4
push eax
call fcn.0047b221
push dword [esi]
mov edi, dword [ebp - 8]
lea eax, [ebp - 8]
xor edi, 0x45aa
push ebx
push 4
push eax
call fcn.0047b221
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
xor eax, 0x45aa
push ebx
push 0x10
mov dword [ecx], eax
push dword [esi]
call fcn.0047b2c8
mov eax, dword [ebp + 0x10]
push dword [eax]
call fcn.00476de3
add esp, 0x40
mov dword [ebp + 0x10], eax
push edi
call fcn.00476de3
push dword [esi]
mov dword [ebp + 8], eax
push ebx
push edi
push eax
call fcn.0047b221
mov eax, dword [esi + 0x110]
add esp, 0x14
add eax, 0x22af
mov ecx, esi
push eax
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00475bf2
cmp byte [ebp - 1], bl
jne 0x475ee5
lea ecx, [ebp - 0x278]
call fcn.004760f6
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], eax
call fcn.00476122
push edi
call fcn.004785bf
pop ecx
jmp 0x475ef1
push dword [ebp + 0x10]
call fcn.004785bf
pop ecx
mov dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
pop edi
pop ebx
mov dword [eax], ecx
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x475f02
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
push 1
pop ebx
mov esi, ecx
mov byte [ebp - 1], bl
push dword [esi]
lea eax, [ebp - 0x14]
push 4
push ebx
push eax
call fcn.0047b221
add esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, esi
push 0x16fa
push 4
push eax
call fcn.00475bf2
and byte [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push str.FILE
push eax
call fcn.0047b3e0
pop ecx
test eax, eax
pop ecx
jne 0x476033
push dword [esi]
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.0047b221
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0x29bc
lea eax, [ebp - 0x11c]
push edi
push ebx
push eax
call fcn.0047b221
add esp, 0x20
lea eax, [edi + 0xa25e]
mov ecx, esi
push eax
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.00475bf2
push dword [esi]
and byte [ebp + edi - 0x11c], 0
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.0047b221
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0x29ac
push edi
push ebx
push dword [ebp + 0xc]
call fcn.0047b221
add esp, 0x20
lea eax, [edi + 0xf25e]
mov ecx, esi
push eax
push edi
push dword [ebp + 0xc]
call fcn.00475bf2
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
and byte [edi + eax], 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0047b3e0
pop ecx
test eax, eax
pop ecx
je 0x47604a
push ebx
push ebx
push dword [esi]
call fcn.0047b2c8
push dword [esi]
lea eax, [ebp - 8]
push ebx
push 4
push eax
call fcn.0047b221
xor dword [ebp - 8], 0x45aa
push ebx
push 4
push dword [esi]
call fcn.0047b2c8
push ebx
push 0x10
push dword [esi]
call fcn.0047b2c8
push ebx
push dword [ebp - 8]
push dword [esi]
call fcn.0047b2c8
add esp, 0x40
jmp 0x476037
and byte [ebp - 1], 0
cmp byte [ebp - 1], bl
je 0x475f16
push 6
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
xor eax, eax
jmp 0x476043

Function at 0x47608e
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, ecx
push esi
push edi
mov edi, eax
or dword [eax + 0x400], 0xffffffff
xor esi, esi
mov edx, esi
push 8
shl edx, 0x18
pop ecx
test edx, 0x80000000
je 0x4760b7
add edx, edx
xor edx, 0x4c11db7
jmp 0x4760b9
shl edx, 1
dec ecx
jne 0x4760a5
mov dword [edi], edx
inc esi
add edi, 4
cmp esi, 0x100
jl 0x47609d
pop edi
pop esi
ret

Function at 0x476241
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0x476266
mov eax, dword [esi + 0xc]
push 8
add eax, dword [esi + 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0047b470
add esp, 0xc
jmp 0x476279
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.0047b221
add esp, 0x10
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 3]
shl eax, 8
or eax, ecx
add dword [esi + 0xc], 8
movzx ecx, byte [ebp - 2]
shl eax, 8
or eax, ecx
and byte [ebp - 4], 0
movzx ecx, byte [ebp - 1]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 8]
push str.JB01
mov dword [ecx], eax
lea eax, [ebp - 8]
push eax
call fcn.0047b3e0
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
pop esi
leave
ret 4

Function at 0x47f404
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49cdb0]
jne 0x47f40e
repz ret
jmp fcn.00487498
Function at 0x485524
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49cdb0]
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.0047c542
and dword [ebp - 0x14], 0
cmp dword [0x49f260], 0
mov dword [ebp - 0x18], eax
jne 0x4855d7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x48567f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x48567f
mov esi, dword [fcn.004759f0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x49f260], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x49f264], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49f268], eax
call edi
push eax
call esi
mov dword [0x49f270], eax
test eax, eax
je 0x4855d7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49f26c], eax
mov eax, dword [0x49f26c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.004759f4]
cmp eax, ecx
je 0x485630
cmp dword [0x49f270], ecx
je 0x485630
push eax
call esi
push dword [0x49f270]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x485630
test ebx, ebx
je 0x485630
call edi
test eax, eax
je 0x485627
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x485627
test byte [ebp - 8], 1
jne 0x485630
or dword [ebp + 0x10], 0x200000
jmp 0x485663
mov eax, dword [0x49f264]
cmp eax, dword [ebp - 0x18]
je 0x485663
push eax
call esi
test eax, eax
je 0x485663
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x485663
mov eax, dword [0x49f268]
cmp eax, dword [ebp - 0x18]
je 0x485663
push eax
call esi
test eax, eax
je 0x485663
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49f260]
call esi
test eax, eax
je 0x48567f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x485681
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047f404
leave
ret