joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012bee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1036e400]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], 0
mov dword [ebp - 0xc], 0xf
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.100da14e
add esp, 0xc
mov byte [ebp - 0x16], 0
movzx eax, word [ebp - 0x20]
and eax, 0x7fff
mov word [ebp - 0x20], ax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
jmp 0x1012bf38
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jge 0x1012bf54
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 0xd]
xor eax, edx
mov byte [ebp - 0xd], al
jmp 0x1012bf2f
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0xe]
movzx eax, byte [ebp - 0xd]
cmp edx, eax
jne 0x1012bf67
xor eax, eax
jmp 0x1012bf6c
mov eax, 2
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100dba62
mov esp, ebp
pop ebp
ret

Function at 0x1012bfe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov byte [ebp - 0xd], 0
mov dword [ebp - 0xc], 0xa
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.100da14e
add esp, 0xc
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x1012c021
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jge 0x1012c03d
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 0xd]
xor edx, ecx
mov byte [ebp - 0xd], dl
jmp 0x1012c018
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 9]
movzx edx, byte [ebp - 0xd]
cmp ecx, edx
jne 0x1012c050
xor eax, eax
jmp 0x1012c055
mov eax, 2
mov esp, ebp
pop ebp
ret

Function at 0x1012ca90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1036e400]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x10354ae0
push 0x10354bec
lea eax, [ebp - 0x218]
push eax
call fcn.100dc809
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.100de014
add esp, 0xc
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
test ecx, ecx
jne 0x1012cae5
mov ax, word [ebp - 4]
jmp 0x1012cb3d
push 0x104
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x110]
push eax
push 0x10354c00
lea ecx, [ebp - 0x218]
push ecx
call fcn.100dc809
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.100de014
add esp, 0xc
mov word [ebp - 4], ax
movzx edx, word [ebp - 4]
test edx, edx
jne 0x1012cb39
xor eax, eax
jmp 0x1012cb3d
mov ax, word [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100dba62
mov esp, ebp
pop ebp
ret
Function at 0x1012d6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x1036e400]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
jne 0x1012d6ff
push 0x10354c8c
lea eax, [ebp - 0x12c]
push eax
call fcn.100daed2
add esp, 8
jmp 0x1012d712
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x12c]
push edx
call fcn.100daed2
add esp, 8
lea eax, [ebp - 0x12c]
push eax
push 0x10354c94
lea ecx, [ebp - 0x108]
push ecx
call fcn.100dc809
add esp, 0xc
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x130]
push eax
push 0
push 0x20019
push 0
push 0x10354cb0
push 0
lea ecx, [ebp - 0x108]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x1012d776
mov eax, 0x19a
jmp 0x1012d813
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x13c], edx
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x134]
push edx
push 0
push 0x10354cc4
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1012d7bd
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 3
jmp 0x1012d813
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x13c], edx
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x134]
push edx
push 0
push 0x10354cd4
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1012d804
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 3
jmp 0x1012d813
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100dba62
mov esp, ebp
pop ebp
ret
Function at 0x1012d830
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x1036e400]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
jne 0x1012d85f
push 0x10354ce0
lea eax, [ebp - 0x12c]
push eax
call fcn.100daed2
add esp, 8
jmp 0x1012d87b
push 0x20
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x12c]
push edx
call fcn.100dc255
add esp, 0xc
mov byte [ebp - 0x10d], 0
lea eax, [ebp - 0x12c]
push eax
push str.SoftwareRADinfo_sCOMMON
lea ecx, [ebp - 0x108]
push ecx
call fcn.100dc809
add esp, 0xc
lea edx, [ebp - 0x134]
push edx
lea eax, [ebp - 0x130]
push eax
push 0
push 0xf003f
push 0
push str.RADinfo_Software
push 0
lea ecx, [ebp - 0x108]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x1012d8dc
mov eax, 0x19a
jmp 0x1012d93f
mov edx, dword [ebp + 8]
push edx
call fcn.100dc791
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
push 1
push 0
push str.ApplicationCode
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp + 0xc]
push edx
call fcn.100dc791
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
push str.SerialCode
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100dba62
mov esp, ebp
pop ebp
ret

Function at 0x1012d950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0xe6a97384
mov dword [ebp - 4], 0
jmp 0x1012d96f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1012d9b5
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
shl eax, 0x10
and eax, 0xff0000
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
and edx, 0xff
or eax, edx
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 4
mov ecx, dword [ebp - 8]
shr ecx, 0x1c
and ecx, 0xf
or eax, ecx
mov dword [ebp - 8], eax
jmp 0x1012d966
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10199d40
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x12], 0xcc
je 0x10199d89
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x178]
mov ecx, dword [eax]
call ecx
add esp, 4
cmp esi, esp
call fcn.100dd93e
mov edx, dword [ebp + 8]
mov dword [edx + 0x72], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x12], 0xcc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x178]
movzx eax, byte [edx + 8]
test eax, eax
je 0x10199e81
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x72]
cmp eax, dword [edx + 0x5a]
jae 0x10199e37
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x10199df1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x72]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5a]
mov dword [ecx + 8], eax
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
call ecx
add esp, 4
cmp esi, esp
call fcn.100dd93e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x72]
mov dword [ebp - 4], eax
mov esi, esp
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x72
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x17c]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
cmp esi, esp
call fcn.100dd93e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x72]
cmp ecx, dword [ebp - 4]
jne 0x10199e32
xor al, al
jmp 0x10199e9b
jmp 0x10199d9e
mov esi, esp
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x178]
mov edx, dword [ecx + 4]
call edx
add esp, 4
cmp esi, esp
call fcn.100dd93e
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x178]
mov eax, dword [edx]
call eax
add esp, 4
cmp esi, esp
call fcn.100dd93e
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x72], 0
jmp 0x10199d89
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x3f]
neg eax
sbb eax, eax
neg eax
add eax, 0xcd
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x12], eax
mov al, 1
pop esi
add esp, 4
cmp ebp, esp
call fcn.100dd93e
mov esp, ebp
pop ebp
ret
Function at 0x1019bc00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x20]
push eax
call fcn.1019bcb0
add esp, 4
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 8]
push ecx
call fcn.100dbc29
add esp, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x14]
jae 0x1019bc43
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
jmp 0x1019bc55
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x14]
jae 0x1019bc96
call fcn.100dd4ca
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 1]
add ecx, eax
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 2]
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + 3]
sub eax, edx
xor ecx, eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
mov byte [eax], cl
jmp 0x1019bc4c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1019cf40
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 2
push str.PROT_
mov edx, dword [ebp - 8]
push edx
call fcn.100daed2
add esp, 8
mov eax, dword [ebp - 8]
push eax
call fcn.100dc791
add esp, 4
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
test edx, edx
je 0x1019d088
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
sub ecx, 0x30
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 1
jne 0x1019cfaf
mov dword [ebp - 0x10], 5
jmp 0x1019d03d
cmp dword [ebp - 0x10], 2
jne 0x1019cfbe
mov dword [ebp - 0x10], 8
jmp 0x1019d03d
cmp dword [ebp - 0x10], 3
jne 0x1019cfcd
mov dword [ebp - 0x10], 1
jmp 0x1019d03d
cmp dword [ebp - 0x10], 4
jne 0x1019cfdc
mov dword [ebp - 0x10], 9
jmp 0x1019d03d
cmp dword [ebp - 0x10], 5
jne 0x1019cfeb
mov dword [ebp - 0x10], 2
jmp 0x1019d03d
cmp dword [ebp - 0x10], 6
jne 0x1019cffa
mov dword [ebp - 0x10], 3
jmp 0x1019d03d
cmp dword [ebp - 0x10], 7
jne 0x1019d009
mov dword [ebp - 0x10], 6
jmp 0x1019d03d
cmp dword [ebp - 0x10], 8
jne 0x1019d018
mov dword [ebp - 0x10], 4
jmp 0x1019d03d
cmp dword [ebp - 0x10], 9
jne 0x1019d027
mov dword [ebp - 0x10], 0
jmp 0x1019d03d
cmp dword [ebp - 0x10], 0
jne 0x1019d036
mov dword [ebp - 0x10], 7
jmp 0x1019d03d
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x14], 0
je 0x1019d060
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x1019d06b
mov edx, dword [ebp - 0x10]
add edx, 0x30
mov eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x1019cf7c
mov ecx, dword [ebp - 8]
mov byte [ecx], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x5360a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdf000]
push edi
jmp 0x5360ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5360c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5360b0
mov eax, 1
add ebx, ebx
jne 0x5360d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5360e4
jne 0x536103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x536103
dec eax
add ebx, ebx
jne 0x5360f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5360c8
add ebx, ebx
jne 0x5360ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x536155
xor ecx, ecx
sub eax, 3
jb 0x53611b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53618a
sar eax, 1
mov ebp, eax
jmp 0x536126
add ebx, ebx
jne 0x536126
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5360f4
inc ecx
add ebx, ebx
jne 0x536134
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5360f4
add ebx, ebx
jne 0x536141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x536136
jne 0x536152
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x536136
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x536174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x536166
jmp 0x5360b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x536174
add edi, ecx
jmp 0x5360b6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x536192
cmp byte [edi], 0x11
jne 0x536192
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 0x536197
lea edi, [esi + 0x12f000]
mov eax, dword [edi]
or eax, eax
je 0x53620f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x192fac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x193128]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5361c4
mov ecx, edi
jns 0x5361f3
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 + 0x19312c]
or eax, eax
je 0x536209
mov dword [ebx], eax
add ebx, 4
jmp 0x5361e1
call dword [esi + 0x19313c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x536240
cmp al, 0xef
ja 0x536233
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x536215
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x536222
mov ebp, dword [esi + 0x193130]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x536274
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x401190
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x457428
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
mov eax, dword [0x46f1b0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
push 0xd
push 0x869
push 0x45e5a8
mov dword [esp + 0x28], 0
call fcn.00433609
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
call fcn.00402830
push 0x37
push 0x36f3
push 0x45e5b8
mov dword [esp + 0x34], 0
call fcn.00433609
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.00402830
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x34], 1
call fcn.0043288c
add esp, 0xc
mov byte [esp + 0x28], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401246
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40126b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], 0
jne 0x401286
push 0x45e59a
mov ecx, ebp
call fcn.00402830
jmp 0x401347
push 0x37
push 0x36f3
push 0x45e5b8
call fcn.00433609
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
call fcn.00402830
push 1
push 0x45e5f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.00402a40
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.00402a40
push 0xc
push 0x33be
push 0x45e5f4
call fcn.00433609
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
call fcn.00402830
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
push ebp
mov byte [esp + 0x34], 6
call fcn.0043288c
mov byte [esp + 0x34], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401322
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401347
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x28], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401367
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x20
ret
Function at 0x4037f0
Capabilities:
Hide graphical window

Disassembly:
add ecx, 0xffff7ffe
push esi
mov esi, edx
cmp ecx, 0xd
ja case.0x403802.32780
jmp dword [ecx*4 + 0x40397c]
mov ecx, dword [eax + 4]
mov dword [esi + 0xec], ecx
mov eax, dword [eax + 8]
mov edx, ecx
sub edx, eax
mov dword [esi + 0xf4], eax
mov eax, dword [esi + 0xf8]
sub eax, dword [esi + 0xf4]
push esi
mov dword [esi + 0x100], edx
mov dword [esi + 0x104], eax
call fcn.00404b20
xor eax, eax
pop esi
ret
mov al, byte [eax]
mov edx, dword [esi + 0x68]
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push edx
mov byte [esi + 0xaf], al
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x68]
push 5
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
pop esi
ret
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00404de0
xor eax, eax
pop esi
ret
add eax, 0x10
push eax
lea ecx, [esi + 0xe4]
call fcn.00402d80
xor eax, eax
pop esi
ret
add eax, 0x14
push eax
lea ecx, [esi + 0xe8]
call fcn.00402d80
mov edx, dword [esi + 0x68]
push 5
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
pop esi
ret
mov al, byte [eax + 0x18]
mov byte [esi + 0x110], al
xor eax, eax
pop esi
ret
cmp byte [eax + 0x1c], 0
je case.0x403802.32780
cmp byte [esi + 0xb0], 0
jne case.0x403802.32780
call fcn.004042e0
xor eax, eax
pop esi
ret
mov edx, dword [esi + 0x68]
mov cl, byte [eax + 0x1a]
push 5
push 0
push 0
push edx
mov byte [esi + 0x111], cl
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
pop esi
ret
mov ecx, dword [esi + 0x68]
mov al, byte [eax + 0x1b]
push 5
push 0
push 0
push ecx
mov byte [esi + 0x112], al
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
pop esi
ret
fldz
mov dword [esi + 0x434], 0
fstp qword [esi + 0x108]
xor eax, eax
pop esi
ret
mov dl, byte [esi + 0xb0]
mov byte [eax + 0x1c], dl
xor eax, eax
pop esi
ret
cmp byte [eax + 0x1d], 0
je 0x403959
cmp byte [esi + 0xae], 0
jne case.0x403802.32780
mov eax, esi
call fcn.00404410
xor eax, eax
pop esi
ret
cmp byte [esi + 0xae], 0
je case.0x403802.32780
mov eax, esi
call fcn.00404440
xor eax, eax
pop esi
ret
mov cl, byte [esi + 0xae]
mov byte [eax + 0x1d], cl
xor eax, eax
pop esi
ret
Function at 0x403af0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45739c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46f1b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], 0x45e988
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esi + 0x18], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esi + 0x74], eax
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esi + 0x78], eax
mov dword [esi + 0x70], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov eax, 0x45f0b0
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edi
mov byte [esp + 0x14], 3
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esi + 0xe4], eax
mov byte [esp + 0x14], 4
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esi + 0xe8], eax
mov byte [esp + 0x14], 5
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esi + 0xf0], eax
mov byte [esp + 0x14], 6
push 0x7f89
push edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x2c], 0x2ee
mov dword [esi + 0x9c], edi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esi + 0xa0], eax
mov dword [esi + 0x84], edi
call fcn.004039c0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x403e50
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, eax
xor eax, eax
xor ebx, ebx
cmp dword [esi + 0x84], 2
push 5
setne al
push 0x864
push str.2EC_b
dec eax
and eax, dword [esp + 0x18]
mov dword [esi + 0x30], eax
call fcn.00433609
add esp, 0xc
push eax
push 0xe3
lea eax, [esi + 0x88]
call fcn.0040bc40
push 5
push 0x864
push str.2EC_b
call fcn.00433609
add esp, 0xc
push eax
push 0xe5
lea eax, [esi + 0x90]
call fcn.0040bc40
call fcn.004039c0
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov dword [esi + 0x9c], eax
cmp eax, ebx
je 0x403f11
lea ecx, [esp + 0xc]
push ecx
push ebx
push esi
push 0x404230
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edx, dword [esi + 0x9c]
push 0xffffffffffffffff
push edx
mov dword [esi + 0x98], eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [esi + 0x9c]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 0x9c], ebx
pop esi
mov al, 1
pop ebx
ret 4
pop esi
mov al, bl
pop ebx
ret 4