joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401050
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45d95e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x46e074]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebp
push esi
push edi
mov eax, dword [0x46e074]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
mov ebp, dword [esp + 0xd0]
mov esi, ecx
push eax
push esi
lea edi, [esp + 0x94]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebp
call fcn.00401ac0
push ebp
push eax
lea edi, [esp + 0x2c]
mov dword [esp + 0xd4], 0
call fcn.00401ac0
add esp, 0x10
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0xd0], 1
call fcn.004016d0
mov edi, 0x10
cmp dword [esp + 0x34], edi
jb 0x4010f9
mov eax, dword [esp + 0x20]
push eax
call fcn.00445523
add esp, 4
mov dword [esp + 0xc4], 0xffffffff
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
cmp dword [esp + 0xa4], edi
jb 0x401132
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00445523
add esp, 4
mov ebp, 1
jmp 0x401144
mov esi, dword [esp + 0x14]
mov ecx, ebx
call fcn.004016c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x401246
push ebp
lea edx, [esp + 0xac]
push 0x4612b0
push edx
call fcn.00445a09
mov eax, dword [esp + 0x1c]
push eax
push esi
lea edi, [esp + 0x84]
inc ebp
call fcn.00401ac0
push eax
lea edi, [esp + 0xc0]
lea esi, [esp + 0x50]
mov dword [esp + 0xdc], 2
call fcn.00401b70
mov ecx, dword [esp + 0x30]
push ecx
push eax
lea edi, [esp + 0x74]
mov byte [esp + 0xe4], 3
call fcn.00401ac0
add esp, 0x20
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0xd0], 4
call fcn.004016d0
mov esi, 0x10
cmp dword [esp + 0x6c], esi
jb 0x4011e2
mov edx, dword [esp + 0x58]
push edx
call fcn.00445523
add esp, 4
mov edi, 0xf
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
cmp dword [esp + 0x50], esi
jb 0x40120b
mov eax, dword [esp + 0x3c]
push eax
call fcn.00445523
add esp, 4
mov dword [esp + 0xc4], 0xffffffff
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x88], esi
jb 0x40123d
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00445523
add esp, 4
cmp ebp, 0x64
jl 0x401140
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004453f2
add esp, 0xb8
ret
Function at 0x401e40
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x45d903
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x46e074]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x46e074]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0xf
mov dword [esp + 0x10], 0x47081c
mov dword [0x470834], eax
mov dword [0x470830], ebx
mov byte [0x470820], bl
mov dword [esp + 0x30], ebx
mov dword [0x470854], eax
mov dword [0x470850], ebx
mov byte [0x470840], bl
push ebx
push 0x461334
mov byte [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x461338
push str.._log_JumpDaemon.log
call fcn.00445c21
mov dword [0x470838], eax
add esp, 8
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
mov edx, dword [esp + 0xc]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401ef1
sub eax, esi
push eax
push edx
mov ecx, 0x47081c
call fcn.004017b0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeA]
mov eax, 0x47081c
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004453f2
add esp, 0x28
ret
Function at 0x401fc0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x45d8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x46e074]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x46e074]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov eax, dword [0x470838]
cmp eax, ebx
je 0x402009
push eax
call fcn.00445caf
add esp, 4
push 0x14
mov edi, 0xf
push str.._log_JumpDaemon.log
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.004017b0
push 0xffffffffffffffff
mov byte [esp + 0x78], 1
push ebx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.004016d0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
mov byte [esp + 0x94], 2
push ebx
lea edx, [esp + 0x70]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004016d0
lea eax, [esp + 0x30]
push eax
call fcn.004054a0
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x7c], 3
call fcn.00401c40
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x4020ab
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00445523
add esp, 4
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x4020b9
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], esi
jae 0x4020c7
lea eax, [esp + 0x50]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp eax, 1
jne 0x4020fd
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x4020e3
lea eax, [esp + 0x34]
mov edx, dword [0x470838]
push edx
push 0x461338
push eax
call fcn.00445e04
add esp, 0xc
mov dword [0x470838], eax
cmp dword [esp + 0x48], esi
jb 0x402110
mov eax, dword [esp + 0x34]
push eax
call fcn.00445523
add esp, 4
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x64], esi
jb 0x40212f
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00445523
add esp, 4
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x94], esi
jb 0x402154
mov edx, dword [esp + 0x80]
push edx
call fcn.00445523
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004453f2
add esp, 0x68
ret 0x1c
Function at 0x402180
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45de3b
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x46e074]
xor eax, esp
mov dword [esp + 0x468], eax
push ebx
push esi
mov eax, dword [0x46e074]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0x1c], ebx
je 0x40231f
push 0x3ff
lea eax, [esp + 0x79]
push ebx
push eax
mov byte [esp + 0x80], bl
call fcn.004481d0
mov edx, dword [esp + 0x498]
lea ecx, [esp + 0x49c]
push ecx
push edx
lea eax, [esp + 0x88]
push 0x3ff
push eax
call fcn.0044b0fe
push ebx
call fcn.004459b8
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call fcn.00445991
push 0x3f
lea edx, [esp + 0x5d]
push ebx
push edx
mov esi, eax
mov byte [esp + 0x64], bl
call fcn.004481d0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push eax
inc ecx
push ecx
add edx, 0x76c
push edx
lea eax, [esp + 0x7c]
push str._d__d__d__d:_d:_d
push eax
call fcn.00445a09
lea eax, [esp + 0x84]
add esp, 0x50
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402272
sub eax, edx
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
call fcn.004017b0
push ebx
push edi
or eax, 0xffffffff
lea esi, [esp + 0x20]
mov dword [esp + 0x48c], ebx
call fcn.00401c40
push 1
push 0x461370
mov eax, esi
call fcn.00401d30
lea eax, [esp + 0x74]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4022b4
sub eax, edx
push eax
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x20]
call fcn.00401d30
push 2
push 0x461374
lea eax, [esp + 0x20]
call fcn.00401d30
mov eax, dword [esp + 0x1c]
mov esi, 0x10
cmp dword [esp + 0x30], esi
jae 0x4022ef
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 0x1c]
mov edx, dword [esp + 0x2c]
push ecx
push 1
push edx
push eax
call fcn.00445f8c
mov eax, dword [edi + 0x1c]
push eax
call fcn.00446198
add esp, 0x14
cmp dword [esp + 0x30], esi
jb 0x40231f
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00445523
add esp, 4
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.004453f2
add esp, 0x47c
ret

Function at 0x402460
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
push esi
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
push 0
mov dword [edi], 0
mov ecx, dword [eax]
push str.ProcessorNameString
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4024bf
mov eax, dword [esp + 8]
cmp eax, 1
je 0x40249d
cmp eax, 2
jne 0x4024af
mov eax, dword [esp]
test esi, esi
je 0x4024bb
test eax, eax
je 0x4024b8
cmp byte [eax + esi - 1], 0
je 0x4024bb
mov eax, 0xd
pop ecx
ret 4
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop ecx
ret 4
Function at 0x403f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403f77
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403fa8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x403fa4
cmp esi, eax
jae 0x403fa8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x403f94
cmp esi, eax
jb 0x403fae
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x405860
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x45e2e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x46e074]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jae 0x4058a5
lea eax, [esp + 0x30]
push 0x11
push eax
push 0xa
push str.file
lea eax, [esp + 0x24]
push 1
push eax
lea ecx, [esp + 0x28]
call fcn.00411270
push 0x11
push str.upload
push 4
push str.submit
lea ecx, [esp + 0x3c]
push 1
push ecx
lea ecx, [esp + 0x40]
call fcn.00411270
add esp, 0x30
cmp dword [0x470708], ebx
jne 0x4058f5
call fcn.00411e60
test eax, eax
jne 0x4059ae
lea edx, [esp + 0x18]
push edx
call fcn.00417c10
add esp, 4
test eax, eax
jne 0x4059ae
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x4059ae
push ebx
push 0x2727
mov eax, esi
call fcn.00411f10
add esp, 8
cmp dword [edi + 0x18], 0x10
jb 0x405931
mov eax, dword [edi + 4]
jmp 0x405934
lea eax, [edi + 4]
push eax
push 0x2712
mov eax, esi
call fcn.00411f10
mov edi, dword [esp + 0x18]
push edi
push 0x2728
mov eax, esi
call fcn.00411f10
push 5
push 0xd
mov eax, esi
call fcn.00411f10
push ebx
push 0x40
mov eax, esi
call fcn.00411f10
push 1
push 0x51
mov eax, esi
call fcn.00411f10
add esp, 0x28
mov eax, esi
call fcn.004120d0
cmp eax, ebx
je 0x40599c
call fcn.00412170
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push str.curl_easy_perform___failed:__s_n
call fcn.00446332
add esp, 8
push esi
call fcn.00417860
add esp, 4
push edi
call fcn.004114f0
add esp, 4
cmp dword [esp + 0x44], 0x10
jb 0x4059c2
mov eax, dword [esp + 0x30]
push eax
call fcn.00445523
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0x1c
Function at 0x4059e0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x45d48b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x46e074]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [0x46e074]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], 0
mov byte [esp + 8], 0
push 0x9c
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0xd4], 0
call fcn.004481d0
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x405a9b
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x405aac
push str.RtlGetNtVersionNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405aac
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
call eax
xor eax, eax
mov word [esp + 0x2e], ax
jmp 0x405aac
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x94
call fcn.004024d0
mov eax, dword [esp + 0x30]
sub eax, 2
jne 0x405ad4
cmp dword [esp + 0x24], 0xa
jne 0x405ad4
cmp dword [esp + 0x1c], 0x10
jb 0x405ad0
mov ecx, dword [esp + 8]
push ecx
call fcn.00445523
add esp, 4
mov al, 1
jmp 0x405aea
cmp dword [esp + 0x1c], 0x10
jb 0x405ae8
mov edx, dword [esp + 8]
push edx
call fcn.00445523
add esp, 4
xor al, al
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004453f2
add esp, 0xc8
ret
Function at 0x4081b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1c
cmp byte [0x470958], 0
jne 0x40821e
push esi
push str.._jumpDaemon.ini
push 0x4d2
push str.gameid
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea esi, [esp + 8]
call fcn.00407c80
mov esi, 0x10
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x4081f3
mov ecx, dword [eax + 4]
jmp 0x4081f6
lea ecx, [eax + 4]
mov edx, 0x470958
jmp 0x408200
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x408200
cmp dword [esp + 0x1c], esi
pop esi
jb 0x40821e
mov eax, dword [esp + 4]
push eax
call fcn.00445523
add esp, 4
mov eax, 0x470958
add esp, 0x1c
ret

Function at 0x4083b0
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push 0
push 0
push 0
push 0xa
push 0xa
push 0
push 0
push accept
push 0x470598
mov dword [0x4705fc], eax
call fcn.004081b0
push eax
push 0x8000000
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x4083e9
pop esi
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0x3e8
push 1
push esi
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop esi
ret

Function at 0x4086d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x45d758
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x46e074]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
push edi
mov eax, dword [0x46e074]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
mov edi, ecx
mov esi, edx
call fcn.004481d0
xor eax, eax
add esp, 0xc
push 1
push 0x461370
lea ecx, [esp + 0x70]
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], eax
mov byte [esp + 0x74], al
call fcn.004017b0
push 0
push esi
or eax, 0xffffffff
lea esi, [esp + 0x70]
mov dword [esp + 0x98], 0
call fcn.00401c40
mov eax, dword [esp + 0x6c]
mov esi, 0x10
cmp dword [esp + 0x80], esi
jae 0x408788
lea eax, [esp + 0x6c]
cmp dword [edi + 0x18], esi
jb 0x408792
mov edi, dword [edi + 4]
jmp 0x408795
add edi, 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp dword [esp + 0x80], esi
jb 0x4087c9
mov eax, dword [esp + 0x6c]
push eax
call fcn.00445523
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004453f2
add esp, 0x88
ret
Function at 0x409140
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push 0x404
call fcn.00445674
mov esi, dword [esp + 0x14]
mov edi, eax
mov ecx, 0x101
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
lea edx, [esp + 0xc]
push edx
push ecx
push eax
push 0x408e40
push ecx
mov byte [eax + 0x403], cl
push ecx
mov dword [esp + 0x24], ecx
call fcn.00446ebd
add esp, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ecx
ret

Function at 0x4091a0
Capabilities:
Create thread
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x45e571
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x46e074]
xor eax, esp
mov dword [esp + 0x818], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e074]
xor eax, esp
push eax
lea eax, [esp + 0x830]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84c]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.On300Start
mov dword [esp + 0x18], eax
call esi
push 0x461bac
call esi
mov edx, dword [esp + 0x844]
push 0xa
lea ecx, [esp + 0x430]
push ecx
push edx
call fcn.0045a6c2
mov ecx, dword [esp + 0x854]
push 0xa
lea eax, [esp + 0x3c]
push eax
push ecx
call fcn.0045a6c2
push ecx
mov ecx, esp
xor ebx, ebx
mov dword [esp + 0x40], esp
push ebx
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x461377
mov byte [ecx + 4], bl
call fcn.004017b0
mov edx, dword [esp + 0x85c]
push edx
sub esp, 0x1c
mov dword [esp + 0x874], ebx
mov ecx, esp
lea eax, [esp + 0x68]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x58], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x409270
sub eax, esi
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004017b0
sub esp, 0x1c
mov byte [esp + 0x890], 1
mov esi, esp
lea eax, [esp + 0x484]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov dword [esp + 0x80], esp
mov byte [esi + 4], bl
lea ebp, [eax + 1]
jmp 0x4092b0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4092b0
sub eax, ebp
push eax
lea ecx, [esp + 0x488]
push ecx
mov ecx, esi
call fcn.004017b0
mov edx, dword [esp + 0x6c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x94], esp
push 0xffffffffffffffff
mov byte [esp + 0x8b0], 2
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004016d0
mov ecx, 0x470858
mov dword [esp + 0x8ac], 0xffffffff
call fcn.004041e0
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push 0x409190
push ebx
push ebx
mov dword [esp + 0x30], ebx
call fcn.00446ebd
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x830]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.004453f2
add esp, 0x828
ret
Function at 0x40b5e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45e2b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e074]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, ecx
push 0x470938
mov dword [esp + 0x1c], vtable.Share::Thread::CSALocker.0
mov dword [esp + 0x20], 0x470938
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x34], 0
mov esi, dword [0x470928]
cmp esi, dword [0x47092c]
jbe 0x40b63f
call fcn.00446719
mov edi, dword [0x47091c]
jmp 0x40b650
mov ebp, dword [0x47092c]
cmp dword [0x470928], ebp
jbe 0x40b663
call fcn.00446719
test edi, edi
je 0x40b66f
cmp edi, dword [0x47091c]
je 0x40b674
call fcn.00446719
cmp esi, ebp
je 0x40b759
test edi, edi
jne 0x40b6af
call fcn.00446719
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40b691
call fcn.00446719
cmp dword [esi], ebx
je 0x40b6b7
test edi, edi
jne 0x40b6b3
call fcn.00446719
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40b6aa
call fcn.00446719
sub esi, 0xffffff80
jmp 0x40b650
mov eax, dword [edi]
jmp 0x40b687
mov eax, dword [edi]
jmp 0x40b6a0
test edi, edi
jne 0x40b77a
call fcn.00446719
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40b6d0
call fcn.00446719
mov al, byte [esp + 0x3c]
mov byte [esi + 0x14], al
test al, al
je 0x40b759
test edi, edi
jne 0x40b781
call fcn.00446719
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40b6f4
call fcn.00446719
push 0
call fcn.004459b8
sub eax, dword [esi + 0x78]
add esp, 4
mov dword [esp + 0x24], edx
mov ebx, eax
test edi, edi
jne 0x40b788
call fcn.00446719
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40b71c
call fcn.00446719
test edi, edi
jne 0x40b78c
call fcn.00446719
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40b731
call fcn.00446719
test edi, edi
jne 0x40b790
call fcn.00446719
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40b746
call fcn.00446719
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 8]
push ebx
push eax
push 5
push ecx
call fcn.0040a5d0
add esp, 0x10
push 0x470938
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
mov eax, dword [edi]
jmp 0x40b6c6
mov eax, dword [edi]
jmp 0x40b6ea
mov eax, dword [edi]
jmp 0x40b712
mov eax, dword [edi]
jmp 0x40b727
mov eax, dword [edi]
jmp 0x40b73c
Function at 0x40f490
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x40f497
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x40f574
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x462c30]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x462c30]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x462c30]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x462c30]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x462c30]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x462c30]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x462c30]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x462c30]
inc ecx
sub edx, 8
sub esi, 1
jne 0x40f4b0
pop edi
test edx, edx
je 0x40f59b
jmp 0x40f580
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x462c30]
inc ecx
sub edx, 1
jne 0x40f580
not eax
pop esi
ret

Function at 0x40f5a0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x462c30]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x462c30]
mov dword [edx + 8], ecx
ret