joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483a40
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 8], 0
je 0x483a50
mov eax, esi
call fcn.0045f0c0
jmp 0x483a5d
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 4]
test eax, eax
js 0x483ab8
je 0x483ab8
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebp
push 1
push 0x8000012f
mov edi, eax
call fcn.004014b0
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call ebx
test eax, eax
je 0x483ab5
add edi, dword [esp + 0x10]
call ebp
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x483ab5
push 1
push 0x8000012f
call fcn.004014b0
add esp, 8
push esi
call ebx
test eax, eax
jne 0x483a94
pop edi
pop ebp
pop ebx
mov eax, esi
ret
Function at 0x483cb0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e60
call fcn.0049ffc0
mov eax, dword [esp + 0x8e68]
push ebx
push ebp
mov ebp, dword [esp + 0x8e6c]
push esi
mov esi, ecx
mov cl, byte [edx]
xor ebx, ebx
cmp cl, 0x41
je 0x483cdb
cmp cl, 0x61
jne 0x483d39
cmp byte [edx + 1], bl
jne 0x483d39
cmp byte [edi], bl
jne 0x483d39
cmp byte [eax], bl
jne 0x483d39
cmp byte [esi], bl
jne 0x483d39
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x483d1a
cmp byte [ebp + 0xca], bl
jne 0x483d1a
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x483d18
push esi
call fcn.00484890
add esp, 4
test al, al
je 0x483d1a
xor esi, esi
cmp byte [esp + 0x8e7c], bl
je 0x483d2d
cmp esi, ebx
je 0x483d2d
mov dword [ebp + 0xa4], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x8e60
ret
cmp cl, bl
jne 0x483d5a
cmp byte [edi], bl
jne 0x483d5a
cmp byte [eax], bl
jne 0x483d5a
cmp byte [esi], bl
jne 0x483d5a
mov eax, ebp
call fcn.00483ea0
pop esi
pop ebp
pop ebx
add esp, 0x8e60
ret
push esi
push edi
push edx
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x828], 0x4a7935
mov byte [esp + 0xc45], bl
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc4c], ebx
mov dword [esp + 0xc50], ebx
mov dword [esp + 0xc54], ebx
mov dword [esp + 0xc58], ebx
mov dword [esp + 0xc5c], ebx
mov dword [esp + 0xc68], ebx
mov dword [esp + 0xc6c], ebx
call fcn.004849f0
test eax, eax
je 0x483e5b
test byte [esp + 0xc], 2
mov al, byte [esp + 0x8e78]
mov byte [esp + 0xc35], al
mov dword [esp + 0xc44], ebx
mov dword [esp + 0xc48], ebx
je 0x483e67
mov eax, dword [esp + 0x828]
cmp eax, 0xffff
je 0x483e33
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x483e5b
cmp byte [ebp + 0xca], bl
jne 0x483e2c
mov esi, dword [esp + 0x828]
call fcn.00484900
cmp al, bl
jne 0x483e2c
mov ecx, dword [esp + 0x828]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
je 0x483e5b
mov eax, dword [esp + 0x828]
cmp dword [esp + 0xc5c], eax
je 0x483e4c
lea esi, [esp + 0xc]
mov dword [esp + 0xc5c], eax
call fcn.00484e30
push ebx
lea edx, [esp + 0x10]
push edx
call fcn.00484ef0
test eax, eax
jne 0x483e77
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x8e60
ret
lea eax, [esp + 0xc]
push eax
push 0x483f20
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0xc3c]
cmp byte [esp + 0x8e7c], bl
je 0x483e91
cmp eax, ebx
je 0x483e91
mov dword [ebp + 0xa4], eax
pop esi
pop ebp
pop ebx
add esp, 0x8e60
ret
Function at 0x4840a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x8018
call fcn.0049ffc0
push ebx
push ebp
mov ebp, dword [esp + 0x8028]
push esi
push edi
mov edi, dword [esp + 0x802c]
mov esi, ecx
test edi, edi
je 0x4840c9
mov ecx, edi
call fcn.0041c2e0
cmp dword [esp + 0x8038], 0
jne 0x4840de
mov dword [esp + 0x8038], 0x1f4
cmp dword [esp + 0x803c], 1
jge 0x4840f3
mov dword [esp + 0x803c], 0x32
cmp ebp, 1
jge 0x4840fd
mov ebp, 1
test esi, esi
je 0x4842ca
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea eax, [esp + 0x20]
push eax
push 0x7d0
push 2
push 0
push 0
push 0x406
push esi
call ebx
test eax, eax
je 0x4842ca
cmp ebp, dword [esp + 0x20]
jg 0x4842ca
push 0x8000
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x1c]
call fcn.00480b90
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4842c3
dec ebp
mov byte [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
jmp 0x484170
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push 0
push ebp
push 0x403
push esi
call ebx
test eax, eax
je 0x4841e7
mov edx, 0x7fff
cmp word [esp + 0x14], dx
ja 0x48423e
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push edi
push ebp
push 0x402
push esi
call ebx
test eax, eax
je 0x4841e7
movzx ecx, word [esp + 0x14]
mov eax, dword [esp + 0x18]
push 0
inc ecx
push ecx
lea edx, [esp + 0x30]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x484239
mov edx, dword [esp + 0x8034]
lea eax, [esp + 0x28]
call fcn.004835f0
test al, al
jne 0x484264
cmp dword [esp + 0x802c], 0
jne 0x484248
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x484297
mov edi, dword [esp + 0x8038]
test edi, edi
js 0x48421e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x24]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x48427c
mov edx, dword [esp + 0x803c]
push 1
push edx
call fcn.004014b0
mov edi, dword [esp + 0x24]
add esp, 8
jmp 0x484170
mov byte [esp + 0x28], 0
cmp dword [esp + 0x802c], 0
je 0x484297
mov eax, dword [esp + 0x802c]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push edx
push eax
call fcn.004828b0
mov esi, eax
jmp 0x48429c
mov eax, dword [0x4bbc50]
push 1
push 0
push 0xffffffffffffffff
push 0x4a7950
push eax
call fcn.004828b0
jmp 0x48423e
mov ecx, dword [0x4bbc50]
push 1
push 0
push 0xffffffffffffffff
push 0x4a7dfc
push ecx
call fcn.004828b0
mov edi, dword [esp + 0x1c]
mov esi, 1
push 0x8000
push 0
push edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
mov edi, dword [esp + 0x802c]
mov eax, 0x4a7dfc
test edi, edi
jne 0x4842d8
mov eax, 0x4aa308
mov ecx, dword [0x4b7a70]
test byte [ecx + 0xe0], 1
jne 0x484305
mov edx, dword [0x4bbc50]
push 1
push 0
push 0xffffffffffffffff
push eax
push edx
call fcn.004828b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
mov ebx, dword [0x4bc7d4]
push 0x4a7935
push 0
push eax
call fcn.0043b050
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
Function at 0x484e30
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0xc50]
test ecx, ecx
je 0x484ee7
mov eax, dword [esi]
test eax, eax
je 0x484ee7
push edi
test al, 1
jne 0x484e59
mov eax, dword [esi + 0x80c]
cmp byte [eax], 0
je 0x484e72
push 0x7fff
lea edi, [esi + 0xc58]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x484e72
mov byte [edi], al
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x484e8d
mov edx, dword [esi + 0xc50]
lea ecx, [esi + 0xc54]
push ecx
push edx
call edi
test byte [esi], 0x20
je 0x484ec8
mov ecx, dword [esi + 0xc50]
lea eax, [esp + 4]
push eax
push ecx
call edi
test eax, eax
je 0x484ec8
movzx edx, byte [esi + 0xc28]
mov ecx, dword [esp + 4]
push edx
lea eax, [esi + 0x8d58]
call fcn.0045b970
add esp, 4
test eax, eax
jne 0x484ec8
mov byte [esi + 0x8d58], al
test byte [esi], 8
pop edi
je 0x484ee7
mov ecx, dword [esi + 0xc50]
push 0x101
lea eax, [esi + 0x8c57]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClassNameA]
pop ecx
ret

Function at 0x485630
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e5c
call fcn.0049ffc0
mov eax, dword [esp + 0x8e60]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x4856dd
mov dword [esp + 0xc44], eax
lea eax, [esp + 4]
push eax
push 0x485e50
mov dword [esp + 0xc], ebx
mov dword [esp + 0x818], 0x4a7935
mov byte [esp + 0xc35], bl
mov dword [esp + 0xc38], ebx
mov dword [esp + 0xc3c], ebx
mov dword [esp + 0xc40], ebx
mov dword [esp + 0xc44], ebx
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc58], ebx
mov dword [esp + 0xc5c], ebx
mov byte [esp + 0xc50], cl
mov dword [esp + 0xc54], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0xc34], ebx
je 0x4856dd
mov ecx, dword [0x4b7a70]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x4856dd
push 1
push eax
call fcn.004014b0
add esp, 8
mov eax, 1
pop ebx
add esp, 0x8e5c
ret 4
Function at 0x4856f0
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 0x48570c
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 [0x4b7a70]
push eax
push esi
mov ecx, edi
call fcn.00485c50
cmp byte [edi], 0
je 0x48573f
test eax, eax
jne 0x485747
mov edx, dword [esp + 0x1c]
push eax
push edx
push edi
call fcn.00485820
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x4857e8
test esi, esi
je 0x4857c2
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.004014b0
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x4857a5
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x4857a5
push 1
push 0x8000012f
call fcn.004014b0
add esp, 8
push esi
call edi
test eax, eax
jne 0x485780
mov edx, dword [0x4b7a70]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x4857be
push 1
push eax
call fcn.004014b0
add esp, 8
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x485802
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x4857e8
mov ecx, dword [0x4b7a70]
push ecx
push eax
mov ecx, edi
call fcn.00485c50
test eax, eax
jne 0x4856ff
cmp byte [edi], 0
je 0x485802
mov edx, dword [esp + 0x1c]
push 0
push edx
push edi
call fcn.00485820
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00485a20
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x485820
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e68
call fcn.0049ffc0
mov eax, dword [esp + 0x8e74]
push ebx
push ebp
mov ebp, dword [esp + 0x8e74]
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x485844
mov dword [eax], edi
cmp dword [ebp + 8], edi
je 0x4859e4
mov cl, 1
mov eax, ebp
call fcn.00485bc0
test eax, eax
je 0x485a0a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4b7a70]
push eax
push esi
mov ecx, ebp
call fcn.00485c50
test eax, eax
setne cl
mov byte [esp + 0x17], cl
test cl, cl
jne 0x48588a
xor eax, eax
mov dword [0x4bc3cc], eax
jmp 0x48588f
mov eax, dword [0x4bc3cc]
cmp byte [esp + 0x8e80], 0
mov dword [esp + 0xc44], edi
mov dword [esp + 0xc48], edi
mov dword [esp + 0xc4c], edi
mov dword [esp + 0xc58], edi
mov dword [esp + 0xc64], edi
mov dword [esp + 0xc68], edi
je 0x4858cf
mov byte [esp + 0xc41], 0
test cl, cl
je 0x4858d7
mov byte [esp + 0xc41], 1
mov edx, dword [0x4bc3c8]
mov ecx, 0x4a7935
mov dword [esp + 0x824], ecx
mov dword [esp + 0x82c], ecx
mov dword [esp + 0x830], ecx
mov ecx, dword [0x4b7a70]
cmp eax, edi
mov dword [esp + 0x828], edi
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0xc50], edx
mov dword [esp + 0xc54], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x83c], ebp
mov dword [esp + 0x18], 0x10
setg bl
cmp byte [esp + 0x17], 0
je 0x48595a
xor ecx, ecx
test eax, eax
jle 0x48594a
lea ecx, [ecx]
cmp dword [edx + ecx*4], esi
je 0x48595a
inc ecx
cmp ecx, eax
jl 0x485940
cmp eax, 0x1f4
jge 0x48595a
mov dword [edx + eax*4], esi
inc eax
mov dword [0x4bc3cc], eax
lea edx, [esp + 0x18]
push edx
push 0x483f20
mov dword [esp + 0xc5c], eax
call edi
mov eax, dword [esp + 0xc48]
test eax, eax
jne 0x48598b
test bl, bl
je 0x4859f6
mov edx, dword [0x4bc3c8]
mov dword [0x4bc3cc], eax
xor bl, bl
jmp 0x485930
call fcn.00483790
mov ecx, dword [0x4bc3cc]
mov edx, dword [esp + 0xc48]
mov esi, dword [0x4bc3c8]
xor eax, eax
test ecx, ecx
jle 0x4859ba
lea esp, [esp]
cmp dword [esi + eax*4], edx
je 0x4859cc
inc eax
cmp eax, ecx
jl 0x4859b0
cmp ecx, 0x1f4
jge 0x4859cc
mov dword [esi + ecx*4], edx
inc ecx
mov dword [0x4bc3cc], ecx
mov eax, dword [0x4b7a70]
mov eax, dword [eax + 0x54]
cmp eax, 0xffffffff
jle 0x4859e4
push 1
push eax
call fcn.004014b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 0xc
mov ecx, dword [esp + 0x8e84]
test ecx, ecx
je 0x485a0a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x485a0a
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8e68
ret 0xc
Function at 0x485a20
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e68
call fcn.0049ffc0
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x485ba0
xor cl, cl
mov eax, edi
call fcn.00485bc0
test eax, eax
jne 0x485a55
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4b7a70]
push eax
push ebp
mov ecx, edi
call fcn.00485c50
test eax, eax
je 0x485a78
xor eax, eax
mov dword [0x4bc3cc], eax
jmp 0x485a7d
mov eax, dword [0x4bc3cc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x824], 0x4a7935
mov dword [esp + 0xc44], ebx
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc4c], ebx
mov dword [esp + 0xc64], ebx
mov dword [esp + 0xc68], ebx
cmp byte [esp + 0x8e7c], bl
je 0x485ac3
mov byte [esp + 0xc41], bl
cmp eax, ebx
je 0x485acb
mov byte [esp + 0xc41], 1
mov ecx, dword [0x4bc3c8]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0xc54], eax
lea eax, [esp + 0x18]
push eax
push 0x485d20
mov dword [esp + 0xc58], ecx
mov dword [esp + 0xc60], edx
call esi
mov eax, dword [esp + 0xc48]
cmp eax, ebx
je 0x485b78
lea ecx, [esp + 0x10]
push ecx
push 0x484760
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x485b35
mov edx, dword [esp + 0xc48]
call fcn.00485340
mov dword [esp + 0xc48], esi
mov eax, dword [esp + 0xc48]
call fcn.00483790
mov edx, dword [esp + 0xc48]
call fcn.00485340
mov edx, dword [0x4b7a70]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x485ba0
push 1
push eax
call fcn.004014b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 4
mov eax, dword [0x4bc3cc]
cmp eax, ebx
je 0x485ba0
cmp eax, 1
setg al
mov dword [0x4bc3cc], ebx
cmp al, bl
je 0x485ba0
mov edx, ebp
call fcn.00485340
push ebx
mov ecx, edi
call fcn.00485a20
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8e68
ret 4
Function at 0x49a071
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b6ddc]
jne 0x49a07b
repz ret
jmp fcn.0049f201

Function at 0x49c820
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b6ddc]
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.00497082
and dword [ebp - 0x14], 0
cmp dword [0x4b9c6c], 0
mov dword [ebp - 0x18], eax
jne 0x49c8d3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49c97b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x49c97b
mov esi, dword [fcn.00492850]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4b9c6c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b9c70], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b9c74], eax
call edi
push eax
call esi
mov dword [0x4b9c7c], eax
test eax, eax
je 0x49c8d3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b9c78], eax
mov eax, dword [0x4b9c78]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00492854]
cmp eax, ecx
je 0x49c92c
cmp dword [0x4b9c7c], ecx
je 0x49c92c
push eax
call esi
push dword [0x4b9c7c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x49c92c
test ebx, ebx
je 0x49c92c
call edi
test eax, eax
je 0x49c923
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x49c923
test byte [ebp - 8], 1
jne 0x49c92c
or dword [ebp + 0x10], 0x200000
jmp 0x49c95f
mov eax, dword [0x4b9c70]
cmp eax, dword [ebp - 0x18]
je 0x49c95f
push eax
call esi
test eax, eax
je 0x49c95f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x49c95f
mov eax, dword [0x4b9c74]
cmp eax, dword [ebp - 0x18]
je 0x49c95f
push eax
call esi
test eax, eax
je 0x49c95f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b9c6c]
call esi
test eax, eax
je 0x49c97b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49c97d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049a071
leave
ret
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 0x8e11fc
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e1202
pop ebp
sub ebp, 6
sub ebp, 0x4e11fc
jmp 0x8e1260
jmp 0x8e1269
mov eax, 0x4e11fc
add eax, ebp
add eax, 0x93
mov ecx, 0x62f
mov edx, 0x10b2b5ab
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e1280
jmp 0x8e1293
shr ebx, 0xc3
stosd dword es:[edi], eax
mov ebx, 0xabc3abab
xchg dword [bp + di + 0x6b98], ebp
sti
push esp
xchg edi, eax
cli
out dx, eax
stosd dword es:[edi], eax
sti
and byte [esi + 0x20], ah
and dl, byte [edi + 0x2aababab]
push 0x53
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test al, 0x66
adc ebp, dword [ebp + 0x11ababab]
sub dword [ebx + 0x495cabab], 0xffffffa8
arpl word [eax], sp
sub ah, byte [edi - 0x57545455]
outsb dx, byte [esi]
sti
ret
Function at 0x421a8b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x421aca
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x421aca
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x421aca
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x421aca
cmp dword [ecx + 0x74], 0xe
jbe 0x421aca
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x427648
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4276e5
push ebx
push esi
call fcn.00427611
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004275a5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x427692
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4276e4
push edi
push eax
call fcn.00425fab
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4276b2
call fcn.00425ff9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4276e3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004275a5
add esp, 0x20
test eax, eax
jne 0x4276d1
push edi
call fcn.00425ff9
jmp 0x4276d9
push ebx
call fcn.00425ff9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4288f4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4310c8
push 0x4310c0
push str.FlsAlloc
push 0x1f
call fcn.004287b3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x428928
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f130]
call esi
jmp 0x42892e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x428972
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4310d8
push 0x4310d0
push str.FlsGetValue
push 0x21
call fcn.004287b3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4289a9
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4289b1
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4310e0
push 0x4310d8
push str.FlsSetValue
push 0x22
call fcn.004287b3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4289eb
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42f130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42ddb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42dddd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42dddd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001060
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
push str._b_u_tY6
lea ecx, [ebp - 0x308]
call fcn.10001980
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xb7
je 0x1000109c
cmp dword [ebp - 4], 5
jne 0x100010a0
mov al, 1
jmp 0x100010a2
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x100012a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
push str._b_u_tY6
lea ecx, [ebp - 0x308]
call fcn.10001980
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xb7
je 0x100012dc
cmp dword [ebp - 4], 5
jne 0x100012fb
cmp dword [0x1001b1c0], 0
je 0x100012fb
mov ecx, dword [0x1001b1c0]
call fcn.1000b5f0
mov ecx, dword [0x1001b1c0]
call fcn.1000c2e0
mov esp, ebp
pop ebp
ret
Function at 0x10001760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x1001a06c
lea ecx, [ebp - 0x308]
call fcn.10001980
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
push 0x16
push 0x3f7
push str._d__d
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 0x32c], 0
push 0
lea ecx, [ebp - 0x32c]
push ecx
lea edx, [ebp - 0x328]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x328]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10001320
mov esp, ebp
pop ebp
ret 0x10