joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10068c30
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push esi
mov esi, dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0x101f3dec
mov dword [ebx], 0
call esi
cmp eax, 0xfffffffe
jne 0x10068cbd
push edi
push 0
push 1
push 0x101f7e54
call esi
cmp eax, 1
jne 0x10068c7a
mov edi, dword [sym.imp.kernel32.dll_Sleep]
push 1
call edi
push 0
push 1
push 0x101f7e54
call esi
cmp eax, 1
je 0x10068c66
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0x101f3dec
call esi
mov edi, dword [sym.imp.kernel32.dll_InterlockedExchange]
mov esi, eax
cmp esi, 0xfffffffe
jne 0x10068ca7
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov esi, eax
cmp esi, 0xffffffff
je 0x10068ca7
push esi
push 0x101f3dec
call edi
push 0
push 0x101f7e54
call edi
pop edi
cmp esi, 0xffffffff
jne 0x10068cbd
mov eax, 0x8007000e
pop esi
ret
mov eax, dword [0x101f3dec]
test eax, eax
js 0x10068ce1
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10068ce1
inc dword [eax + 0x12c]
mov dword [ebx], 1
xor eax, eax
pop esi
ret
push 0x130
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x10068cb6
push 0x130
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esi + 0x12c], 1
push esi
mov dword [ebx], 1
push dword [0x101f3dec]
call dword [sym.imp.kernel32.dll_TlsSetValue]
xor eax, eax
pop esi
ret

Function at 0x1006e5a0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x101f3dec]
push edi
test eax, eax
jns 0x1006e5ae
xor edi, edi
jmp 0x1006e5b7
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
xor ecx, ecx
lea edx, [edi + 0x24]
lea esp, [esp]
cmp dword [ecx*4 + 0x10027c6c], esi
jne 0x1006e5ce
cmp dword [edx], 0
jne 0x1006e5e4
inc ecx
add edx, 8
cmp ecx, 0xf
jb 0x1006e5c0
mov ecx, dword [edi + 0x20]
push 0x10
push esi
call fcn.101019a0
pop edi
ret
mov edx, dword [edi + ecx*8 + 0x24]
test edx, edx
je 0x1006e600
mov eax, dword [edx]
mov dword [edi + ecx*8 + 0x24], eax
test eax, eax
jne 0x1006e5fa
mov dword [edi + ecx*8 + 0x28], eax
mov dword [edx], 0xfefefefe
cmp ecx, 0xf
jae 0x1006e5d7
mov eax, edx
pop edi
ret

Function at 0x1006f290
Capabilities:
Get thread local storage value

Disassembly:
test esi, esi
je 0x1006f2e5
mov eax, dword [0x101f3dec]
push ebx
push edi
test eax, eax
jns 0x1006f2a3
xor edi, edi
jmp 0x1006f2ac
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
mov ebx, dword [esi + 4]
push dword [ebx*4 + 0x10027c6c]
push 0xfe
push esi
call sub.msvcrt.dll_memset
mov dword [esi], 0
mov eax, dword [edi + ebx*8 + 0x28]
add esp, 0xc
test eax, eax
je 0x1006f2db
mov dword [eax], esi
mov dword [edi + ebx*8 + 0x28], esi
pop edi
pop ebx
ret
mov dword [edi + ebx*8 + 0x24], esi
mov dword [edi + ebx*8 + 0x28], esi
pop edi
pop ebx
ret
Function at 0x100efc70
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x101f3dec]
test eax, eax
jns 0x100efc7d
xor eax, eax
jmp 0x100efc84
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ecx, dword [eax + 4]
push 0x10
push 0x1c
call fcn.101019a0
test eax, eax
je 0x100efcc8
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xffffffff
mov dword [eax], 0x10041660
mov dword [eax + 4], 2
mov dword [eax + 0x18], 0x11
mov dword [eax + 0x18], edi
ret
mov byte [esi + 0x248], 1
xor eax, eax
ret

Function at 0x100f08b0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x101f3dec]
test eax, eax
jns 0x100f08bd
xor eax, eax
jmp 0x100f08c4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ecx, dword [eax + 4]
push 0x10
push 0x1c
call fcn.101019a0
test eax, eax
je 0x100f090b
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xffffffff
mov dword [eax], 0x100415f0
mov dword [eax + 4], 5
mov dword [eax + 0x18], 0
mov dword [eax + 0x18], esi
mov dword [esi + 0x10], eax
ret
mov byte [edi + 0x248], 1
xor eax, eax
ret

Function at 0x100f5a90
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push esi
xor esi, esi
cmp dword [edi + 4], esi
jbe 0x100f5abc
push ebx
xor ebx, ebx
lea ecx, [ecx]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + ebx + 0x10]
test ecx, ecx
je 0x100f5ab2
push 1
call fcn.101019a0
inc esi
add ebx, 0x18
cmp esi, dword [edi + 4]
jb 0x100f5aa0
pop ebx
mov esi, dword [edi + 0xc]
test esi, esi
je 0x100f5aec
mov eax, dword [0x101f3dec]
test eax, eax
jns 0x100f5ada
xor eax, eax
push esi
push eax
push dword [eax]
call dword [sym.imp.kernel32.dll_HeapFree]
pop esi
ret
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
push esi
push 0
push dword [eax]
call dword [sym.imp.kernel32.dll_HeapFree]
pop esi
ret

Function at 0x101019a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x101019af
pop dword [ebp - 0x10]
mov eax, 0x101019af
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x7cccc
push 0
mov eax, 0xb6d90a54
sub eax, 0xa6d8f9c4
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x460a
mov edx, eax
mov esi, 0xb320a02
add esi, 0x4ee65fe
add esi, dword [ebp - 0x10]
mov ebx, 0x4a383084
add dword [ebp - 0xc], 0x4f0974d1
mov edi, dword [esi]
sub dword [ebp - 4], 0x6c58f4ff
xor edi, ebx
mov dword [ebp - 0xc], 0x6aed2ff8
mov dword [edx], edi
add dword [ebp - 4], 0x3b1ba7a6
add edx, 4
add esi, 0x4e0e3525
sub esi, 0x4e0e3521
loop 0x101019fd
add eax, 0xd04f4f8c
sub eax, 0xd04e4491
xor ebx, ebx
add ebx, eax
add eax, 0xca438828
sub eax, 0xca438823
mov ecx, 0x2bdf389c
add ecx, 0xe420c764
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1014ccf0
Capabilities:
Get thread local storage value

Disassembly:
cmp word [esi], 0
je 0x1014cd3a
mov eax, dword [0x101f3dec]
test eax, eax
jns 0x1014cd03
xor eax, eax
jmp 0x1014cd0a
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
movzx ecx, word [esi]
cmp ecx, dword [eax + 0x128]
ja 0x1014cd2f
mov edx, dword [edi]
add ecx, ecx
push ebx
mov ebx, dword [eax + 0x124]
test edx, edx
je 0x1014cd2e
mov eax, dword [ebx + ecx*8 - 0xc]
mov dword [edx], eax
mov dword [ebx + ecx*8 - 0xc], edx
pop ebx
mov word [esi], 0
mov dword [edi], 0
ret

Function at 0x1014cd40
Capabilities:
Get thread local storage value

Disassembly:
cmp word [esi + 0x4c], 0
push edi
mov edi, dword [sym.imp.kernel32.dll_TlsGetValue]
je 0x1014cd92
mov eax, dword [0x101f3dec]
test eax, eax
jns 0x1014cd5b
xor eax, eax
jmp 0x1014cd5e
push eax
call edi
movzx ecx, word [esi + 0x4c]
cmp ecx, dword [eax + 0x128]
ja 0x1014cd85
mov edx, dword [esi + 0xc]
add ecx, ecx
push ebx
mov ebx, dword [eax + 0x124]
test edx, edx
je 0x1014cd84
mov eax, dword [ebx + ecx*8 - 0xc]
mov dword [edx], eax
mov dword [ebx + ecx*8 - 0xc], edx
pop ebx
mov word [esi + 0x4c], 0
mov dword [esi + 0xc], 0
cmp word [esi + 0x4e], 0
je 0x1014cddb
mov eax, dword [0x101f3dec]
test eax, eax
jns 0x1014cda6
xor eax, eax
jmp 0x1014cda9
push eax
call edi
movzx ecx, word [esi + 0x4e]
cmp ecx, dword [eax + 0x128]
ja 0x1014cdce
mov edx, dword [esi + 0x14]
mov edi, dword [eax + 0x124]
add ecx, ecx
test edx, edx
je 0x1014cdce
mov eax, dword [edi + ecx*8 - 0xc]
mov dword [edx], eax
mov dword [edi + ecx*8 - 0xc], edx
mov word [esi + 0x4e], 0
mov dword [esi + 0x14], 0
pop edi
ret

Function at 0x10150660
Capabilities:
Get thread local storage value

Disassembly:
test esi, esi
je 0x101506a6
mov eax, dword [0x101f3dec]
test eax, eax
js 0x101506a6
push edi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x101506a5
push 0x50
push 0xfe
push esi
call sub.msvcrt.dll_memset
mov dword [esi], 0
mov eax, dword [edi + 0x1c]
add esp, 0xc
test eax, eax
je 0x1015069f
mov dword [eax], esi
mov dword [edi + 0x1c], esi
pop edi
ret
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
pop edi
ret

Function at 0x1015eb00
Capabilities:
Get thread local storage value

Disassembly:
cmp byte [esi + 0xc], 0
mov dword [esi + 8], 0
je 0x1015eb38
push edi
mov edi, dword [esi]
test edi, edi
je 0x1015eb33
mov eax, dword [0x101f3dec]
test eax, eax
jns 0x1015eb21
xor eax, eax
jmp 0x1015eb28
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
push edi
push 0
push dword [eax]
call dword [sym.imp.kernel32.dll_HeapFree]
mov byte [esi + 0xc], 0
pop edi
push esi
mov dword [esi], 0
mov dword [esi + 4], 0
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
ret

Function at 0x10163b70
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x101f3dec]
test eax, eax
jns 0x10163b85
xor eax, eax
mov dword [eax + 8], esi
mov dword [eax + 0xc], eax
mov dword [eax + 0x10], eax
ret
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [eax + 8], esi
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
ret
Function at 0x10163bb0
Capabilities:
Get thread local storage value

Disassembly:
test esi, esi
je 0x10163bf9
mov eax, dword [0x101f3dec]
push edi
test eax, eax
jns 0x10163bc2
xor edi, edi
jmp 0x10163bcb
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
push 0x108
push 0xfe
push esi
call sub.msvcrt.dll_memset
mov dword [esi], 0
mov eax, dword [edi + 0x10]
add esp, 0xc
test eax, eax
je 0x10163bf2
mov dword [eax], esi
mov dword [edi + 0x10], esi
pop edi
ret
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
pop edi
ret

Function at 0x10164ee0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x101f3dec]
push ebx
push esi
push edi
test eax, eax
jns 0x10164ef5
xor ecx, ecx
jmp 0x10164efe
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ecx, eax
cmp dword [ecx + 0xc], 0
je 0x10164f1f
mov edi, dword [ecx + 0xc]
test edi, edi
je 0x10164f30
mov eax, dword [edi]
mov dword [ecx + 0xc], eax
test eax, eax
jne 0x10164f17
mov dword [ecx + 0x10], eax
mov dword [edi], 0xfefefefe
jmp 0x10164f30
mov ecx, dword [ecx + 8]
push 0x10
push 0x108
call fcn.101019a0
mov edi, eax
test edi, edi
je 0x10164fbb
push dword [ebp + 0xc]
mov ebx, edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x58], 0xffffffff
mov dword [edi + 0x60], 0xffffffff
mov dword [edi + 0x24], 0
call fcn.101019a0
mov ebx, eax
test ebx, ebx
js 0x10164fa6
mov ebx, dword [ebp + 8]
push 1
mov esi, edi
call fcn.101019a0
mov ebx, eax
test ebx, ebx
js 0x10164fa6
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
call fcn.1015ea70
mov esi, edi
call fcn.10163bb0
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
pop ebp
ret 0xc

Function at 0x10166010
Capabilities:
Get thread local storage value

Disassembly:
cmp byte [esi + 0xc], 0
mov dword [esi + 8], 0
je 0x10166048
push edi
mov edi, dword [esi]
test edi, edi
je 0x10166043
mov eax, dword [0x101f3dec]
test eax, eax
jns 0x10166031
xor eax, eax
jmp 0x10166038
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
push edi
push 0
push dword [eax]
call dword [sym.imp.kernel32.dll_HeapFree]
mov byte [esi + 0xc], 0
pop edi
mov dword [esi + 4], 0
mov dword [esi], 0
ret

Function at 0x101c5760
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x101f3dec]
test eax, eax
js 0x101c57a7
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x101c57a7
push edi
mov edi, dword [eax + 0x20]
mov dword [eax + 0x20], esi
lea ecx, [eax + 0x24]
mov edx, 0xf
jmp 0x101c5790
mov dword [ecx], 0
mov dword [ecx + 4], 0
add ecx, 8
dec edx
jne 0x101c5790
mov eax, edi
pop edi
ret
xor eax, eax
ret
Function at 0x101e5681
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
push 0x10001838
mov esi, ecx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x101e56b2
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x101e5744
and eax, 0xffff
or eax, 0x80070000
pop esi
ret
push edi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x1000182c
push eax
call edi
mov dword [esi], eax
test eax, eax
je 0x101e5731
push 0x10001820
push dword [esi + 0x1c]
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x101e5731
push 0x10001810
push dword [esi + 0x1c]
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x101e5731
push 0x10001804
push dword [esi + 0x1c]
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x101e5731
push 0x100017f8
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x101e5731
push 0x100017f0
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x101e5731
push 0x100017e4
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x101e5731
xor eax, eax
jmp 0x101e5743
push dword [esi + 0x1c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
and dword [esi + 0x1c], 0
mov eax, 0x80004005
pop edi
pop esi
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00402767
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00402767
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00402767
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00402767
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00402767
mov dword [0x41203c], eax
call fcn.00402767
test eax, eax
jge 0x402550
push 8
call fcn.00402767
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00402767
pop ecx
push 1
call fcn.00402767
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00402767
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00402767
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00402767
jmp 0x402495

Function at 0x402767
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x402776
pop dword [ebp - 0x40]
mov eax, 0xa70cbffc
add eax, 0x5933677a
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3a7f6
push 0
mov eax, 0xabb22ea5
sub eax, 0xab714dcd
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x4ab7
xor edx, edx
add edx, eax
mov edi, 0xa77c6f28
sub edi, 0xa73b3364
add edi, dword [ebp - 0x40]
mov esi, 0x9955edd2
mov dword [ebp - 0x1c], 0xc480018c
mov ebx, dword [edi]
xor dword [ebp - 0x14], eax
xor ebx, esi
mov dword [edx], ebx
add dword [ebp - 4], edx
add edx, 4
add edi, 0x64d66872
add edi, 0x9b299792
loop 0x4027cb
add eax, 0xbab51e66
add eax, 0x454bff49
mov ebx, eax
add eax, 5
mov ecx, 0x91da80ce
add ecx, 0x6e657f32
add ecx, dword [ebp - 0x40]
call ebx
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 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x403e59
pop dword [ebp - 0x2c]
mov eax, 0x462fa361
sub eax, 0x45ef6508
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x7f391e4d
add dword [ebp - 0x3c], 0xcf1926fe
mov dword [ebp - 0x38], 0xf2036636
add dword [ebp - 0x38], 0x402fe60f
mov dword [ebp - 0x34], 0x1fbc3d
add dword [ebp - 0x34], 0x4c2c87f1
mov dword [ebp - 0x30], 0x68ed1494
sub dword [ebp - 0x30], 0x68ed1494
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xb63bcea4
sub dword [ebp - 0x3c], 0x41c9654e
mov dword [ebp - 0x38], 0xc3f10d9
add dword [ebp - 0x38], 0x352d509c
mov dword [ebp - 0x34], 0xfdf8edbc
add dword [ebp - 0x34], 0x65767eb0
mov dword [ebp - 0x30], 0xbb9b83e9
sub dword [ebp - 0x30], 0xbb9b83e9
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xc252687f
add eax, 0x3dee0829
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x36e31
push 0
call eax
mov ecx, 0x397d2e62
sub ecx, 0x397ce5d3
mov edi, eax
mov edx, 0xcd7b3807
sub edx, 0xcd3a3807
add edx, dword [ebp - 0x2c]
mov esi, 0xa525707
sub esi, 0xeadd5f78
add dword [ebp - 4], 0x3bd254cc
mov ebx, dword [edx]
add dword [ebp - 0x24], 0x4b6a50b0
xor ebx, esi
xor dword [ebp - 0x14], 0xcc6c9d23
mov dword [edi], ebx
add edi, 4
add edx, 0xfd4f2508
sub edx, 0xfd4f2504
loop 0x403f76
add eax, 0x2180a099
add eax, 0xde807476
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x416e90
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408d55
mov dword [ebp - 0x14], eax
cmp dword [0x442c40], esi
jne 0x416f83
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x416f10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x417063
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x417063
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417063
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x442c40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x442c44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x442c48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x442c50], eax
test eax, eax
je 0x416f80
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x442c4c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416fa8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416f9b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x416fbd
push 4
pop eax
jmp 0x417065
cmp dword [ebp - 0x14], esi
je 0x416fbd
push dword [0x442c40]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x416fa2
mov eax, dword [0x442c4c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41701b
cmp dword [0x442c50], edi
je 0x41701b
push eax
call ebx
push dword [0x442c50]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41701b
test eax, eax
je 0x41701b
call ecx
test eax, eax
je 0x417010
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x417010
test byte [ebp - 8], 1
jne 0x41701b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41704b
mov eax, dword [0x442c44]
cmp eax, edi
je 0x417048
push eax
call ebx
test eax, eax
je 0x417048
call eax
mov esi, eax
test esi, esi
je 0x417048
mov eax, dword [0x442c48]
cmp eax, edi
je 0x417048
push eax
call ebx
test eax, eax
je 0x417048
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x442c40]
call ebx
test eax, eax
je 0x417063
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x417065
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406f20
mov esp, ebp
pop ebp
ret
Function at 0x1002cc40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc73b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x10106404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x20], 8
lea esi, [edi + 0xc]
jb 0x1002cc7b
mov esi, dword [esi]
push 0x180
push 0x40
push 0x8101
lea ebx, [edi + 0x24]
push esi
push ebx
call fcn.100af018
add esp, 0x14
mov dword [ebp - 0xac], eax
test eax, eax
je 0x1002cd4c
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.100a3120
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
push 2
call fcn.10017460
push 0x100d7ea0
push dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
push str._error.__
push esi
push str.open
push eax
call fcn.10015270
add esp, 8
push eax
call fcn.10015270
add esp, 8
push eax
call fcn.10015270
add esp, 8
mov ecx, eax
call fcn.1002bb90
push eax
call fcn.10015270
add esp, 8
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xa8]
push eax
call fcn.1002cd90
cmp dword [eax + 0x14], 8
jb 0x1002cd2f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xc4]
call fcn.10028df2
lea ecx, [ebp - 0xa8]
call fcn.1001a9a0
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x1002cd65
push 2
push 0
push eax
call fcn.100af441
add esp, 0xc
mov dword [edi + 4], eax
jmp 0x1002cd6c
mov dword [edi + 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009cacf
mov esp, ebp
pop ebp
ret