joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e984
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x43e9d8
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x11c6814]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x11c6c14]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x11c7014]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x11c7414]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x43e993
pop edi
pop esi
pop ebx
ret

Function at 0x462930
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 0xc], 0
jle 0x4629f0
xor ebx, ebx
lea esi, [ebp - 0x114]
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
call fcn.00405574
mov al, byte [edi + eax]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x46295a
xor edx, edx
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4629f0
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
inc edx
and dl, 0xff
mov esi, edx
and esi, 0xff
mov al, byte [ebp + esi - 0x114]
mov cl, byte [ebp - 0xd]
add cl, al
and cl, 0xff
mov byte [ebp - 0xd], cl
xor ecx, ecx
mov cl, byte [ebp - 0xd]
mov cl, byte [ebp + ecx - 0x114]
mov byte [ebp + esi - 0x114], cl
xor ecx, ecx
mov cl, byte [ebp - 0xd]
mov byte [ebp + ecx - 0x114], al
add al, byte [ebp + esi - 0x114]
and al, 0xff
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx]
and eax, 0xff
xor cl, byte [ebp + eax - 0x114]
mov eax, dword [ebp - 8]
mov byte [eax + ebx], cl
inc ebx
dec dword [ebp - 0x14]
jne 0x46298c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4629fc
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 0xc], 0
jle 0x462ab4
xor esi, esi
lea ecx, [ebp - 0x110]
mov eax, esi
cdq
idiv edi
mov al, byte [ebx + edx]
mov byte [ecx], al
inc esi
inc ecx
cmp esi, 0x100
jne 0x462a29
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x462ab4
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
inc edx
and dl, 0xff
xor eax, eax
mov al, dl
mov al, byte [ebp + eax - 0x110]
lea ecx, [eax + ecx]
and cl, 0xff
xor ebx, ebx
mov bl, cl
mov bl, byte [ebp + ebx - 0x110]
mov edi, edx
and edi, 0xff
mov byte [ebp + edi - 0x110], bl
xor ebx, ebx
mov bl, cl
mov byte [ebp + ebx - 0x110], al
xor ebx, ebx
mov bl, dl
add al, byte [ebp + ebx - 0x110]
and al, 0xff
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + esi]
and eax, 0xff
xor bl, byte [ebp + eax - 0x110]
mov eax, dword [ebp - 8]
mov byte [eax + esi], bl
inc esi
dec dword [ebp - 0x10]
jne 0x462a4f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4aabdc
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x11ea1ec]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x1146db5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a2dac
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004a3fd4
mov eax, dword [esi]
call fcn.004918ac
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x4aac4e
mov eax, dword [esi]
call fcn.004918ac
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.004918b8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x4aac72
mov eax, dword [esi]
call fcn.004918b8
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004918a0
cmp eax, dword [ebp - 0x18]
jle 0x4aac88
mov eax, dword [esi]
call fcn.004918a0
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00491894
cmp eax, dword [ebp - 0xc]
jle 0x4aac9e
mov eax, dword [esi]
call fcn.00491894
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.004a9564
push eax
call fcn.0040799c
call fcn.00406e8c
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x4aad65
mov eax, ebx
call fcn.0040457c
cmp eax, 0x64
jge 0x4aad65
cmp dword [0x11d7158], 0
je 0x4aad65
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.004079ec
cmp dword [ebp - 8], 0
je 0x4aad65
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.004079ec
cmp dword [ebp - 8], 0
je 0x4aad28
mov bl, 2
jmp 0x4aad43
lea edx, [ebp - 0x20]
mov eax, dword [0x11f2834]
call fcn.004ade74
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x4aad41
xor ebx, ebx
jmp 0x4aad43
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x11d7260]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.004a9564
push eax
call dword [0x11d7158]
mov eax, dword [0x11e9ff4]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.004a6c98
push 4
mov eax, dword [ebp - 4]
call fcn.004a9564
push eax
call fcn.004079e4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1146dbc
call fcn.00406e8c
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4cd378
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x1169437
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x4cd429
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x4cd412
test esi, esi
jbe 0x4cd429
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a708
test eax, eax
jne 0x4cd404
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x4cd429
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x4cd3e1
jmp 0x4cd429
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x4cd429
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x116943e
ret
Function at 0x4cde58
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x116a007
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.004049cc
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4cde93
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4cdeac
lea eax, [ebp - 0x10]
mov edx, dword [0x11e9fdc]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404a2c
jmp 0x4cdebf
lea eax, [ebp - 0x10]
mov edx, dword [0x11e9fdc]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404a2c
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4cdecb
adc edx, 0
mov edx, dword [edx*4 + 0x11d7790]
call fcn.00404c2c
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404c10
push eax
call fcn.00406bb4
mov esi, eax
cmp esi, 0xffffffff
je 0x4cdfd9
mov eax, 0x40
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406fe4
test eax, eax
je 0x4cdfcc
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4cdfcc
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.0040705c
mov eax, edi
call fcn.00402744
mov eax, 0x18
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406fe4
test eax, eax
je 0x4cdfcc
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4cdfcc
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x4cdfcc
cmp dx, 0x150
ja 0x4cdfcc
mov eax, edi
call fcn.00402744
mov eax, 0xe0
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406fe4
test eax, eax
je 0x4cdfcc
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x4cdfcc
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404a08
mov eax, edi
call fcn.00402744
push esi
call fcn.00406b6c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404d38
jne 0x4cdff1
inc ebx
cmp ebx, 0x19
jne 0x4cde85
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x116a00e
lea eax, [ebp - 0x10]
call fcn.004049cc
ret
Function at 0x51feb8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x11f3580
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x51feda
shr eax, 1
xor eax, 0xedb88320
jmp 0x51fedc
shr eax, 1
dec edx
jne 0x51fec8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x51fec1
mov byte [0x11f3980], 1
pop esi
pop ebx
ret

Function at 0x51fef8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x11f3980], 0
jne 0x51ff0f
call fcn.0051feb8
mov eax, edi
dec eax
test eax, eax
jl 0x51ff38
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x11f3580]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x51ff19
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4068a5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068c9
xor eax, eax
test eax, eax
je 0x4068dc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068dc
xor ecx, ecx
jmp 0x4068df
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a02
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ac], 0
push esi
jne 0x406a39
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a13
mov dword [ecx*4 + 0x4275a8], eax
inc ecx
cmp ecx, 0x100
jl 0x406a0e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a6a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275a8]
xor eax, esi
inc ecx
dec edx
jne 0x406a4c
pop edi
not eax
pop esi
ret 0xc

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 0x408690
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
sub esp, 8
cmp eax, ecx
jbe 0x4086a5
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
lea ecx, [esp]
xor eax, eax
movzx edx, byte [ecx]
imul eax, eax, 0x1000193
xor eax, edx
inc ecx
lea edx, [esp + 8]
cmp ecx, edx
jb 0x4086b1
add esp, 8
ret
Function at 0x40e0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ac723
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edi
mov dword [esp + 0xc], esi
mov byte [esi + 4], bl
lea edi, [esi + 0x1c]
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004010a0
push ebx
push 0x5bb9c6
mov ecx, esi
mov byte [esp + 0x20], 1
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov byte [esi + 0x24], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov word [esi + 0x78], bx
mov byte [esi + 0x7a], bl
mov dword [esi + 0x7c], ebx
call fcn.004041a0
mov ecx, edi
call fcn.00401010
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40f790
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ac7e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
mov eax, dword [0x620368]
mov ecx, dword [ebp + 0xc]
xor eax, ebp
push ebx
mov dword [esp + 0x27c], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x40f8e1
xor ebx, ebx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov dword [esp + 0x38], vtable.CFilename.0
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x298], ebx
call fcn.004facf0
xor eax, eax
mov ecx, 0x89
lea edi, [esp + 0x5c]
rep stosd dword es:[edi], eax
add esp, 4
lea eax, [esp + 0x58]
push eax
push esi
mov dword [esp + 0x60], 0x224
call sub.KERNEL32.DLL_Module32First
cmp eax, ebx
je 0x40f8be
cmp dword [esp + 0x54], 0x10
mov ebx, dword [esp + 0x40]
jae 0x40f852
lea ebx, [esp + 0x40]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f857
sub eax, edx
lea edi, [eax - 1]
mov al, byte [esp + 0x178]
test al, al
lea esi, [esp + 0x178]
je 0x40f892
push edi
push ebx
push esi
call fcn.0057ba84
add esp, 0xc
test eax, eax
je 0x40f88e
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40f875
jmp 0x40f892
test esi, esi
jne 0x40f906
mov edx, dword [esp + 0xc]
xor eax, eax
mov ecx, 0x89
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x58]
push ecx
push edx
mov dword [esp + 0x60], 0x224
call sub.KERNEL32.DLL_Module32Next
test eax, eax
jne 0x40f843
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x38], vtable.CFilename.0
jb 0x40f8e1
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0057ad56
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x284]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057b3d4
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040f740
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
add ecx, 4
mov byte [esp + 0x2a0], 1
call fcn.00403eb0
mov eax, dword [esp + 0x34]
mov esi, 0x10
cmp eax, esi
mov edi, vtable.CFilename.0
mov dword [esp + 0x18], edi
jb 0x40f957
mov edx, dword [esp + 0x20]
push edx
call fcn.0057ad56
add esp, 4
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
push edx
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x54], esi
mov dword [esp + 0x38], edi
jb 0x40f983
mov eax, dword [esp + 0x40]
push eax
call fcn.0057ad56
add esp, 4
mov al, 1
jmp 0x40f8e3
Function at 0x4127a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5acb28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [0x620368]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
push edi
lea edi, [eax + 4]
push 0xa
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.00412170
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x412808
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 8]
push edx
push edi
push ecx
push eax
call fcn.004095c0
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
add esp, 0x14
mov eax, 0xf
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x48], eax
mov eax, esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412837
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.004041a0
mov byte [esp + 0x74], 1
xor edi, edi
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412857
sub eax, edx
push eax
push edi
push ebp
lea ecx, [esp + 0x3c]
call fcn.00411a30
mov esi, eax
cmp esi, ebx
mov eax, dword [esp + 0x48]
jl 0x412977
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x34]
jae 0x41288b
lea eax, [esp + 0x34]
cmp byte [eax + esi], 0x22
jne 0x4128b0
push 1
inc esi
push esi
push 0x5bc114
lea ecx, [esp + 0x3c]
call fcn.00401ce0
cmp eax, ebx
jl 0x41298d
lea edi, [eax + 1]
jmp 0x4128cc
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4128b5
sub eax, edx
push eax
push esi
push ebp
lea ecx, [esp + 0x3c]
call fcn.00401ce0
mov edi, eax
sub eax, esi
push eax
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00411b30
mov ecx, dword [esp + 0x10]
push eax
mov byte [esp + 0x78], 2
call fcn.0040b500
mov eax, dword [esp + 0x2c]
mov esi, 0x10
cmp eax, esi
mov byte [esp + 0x74], 1
jb 0x41290c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0057ad56
add esp, 4
mov eax, ebp
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412921
sub eax, edx
push eax
push edi
push ebp
lea ecx, [esp + 0x3c]
call fcn.00411a30
test eax, eax
jl 0x412944
cmp edi, dword [esp + 0x44]
jb 0x412852
cmp dword [esp + 0x48], esi
jb 0x412957
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0057ad56
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x5c]
pop ebx
xor ecx, esp
call fcn.0057b3d4
add esp, 0x68
ret
cmp eax, 0x10
jb 0x4129a0
mov edx, dword [esp + 0x34]
push edx
call fcn.0057ad56
add esp, 4
xor al, al
jmp 0x412959
cmp dword [esp + 0x48], edi
jb 0x4129a0
mov eax, dword [esp + 0x34]
push eax
call fcn.0057ad56
add esp, 4
xor al, al
jmp 0x412959
Function at 0x42190f
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ace88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x620368]
xor eax, esp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 8]
mov dword [esp + 9], ecx
push edi
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
mov byte [esp + 8], 1
mov dword [esp + 9], eax
call fcn.004d1450
mov edx, dword [esp + 0x40]
push edx
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.004d1470
lea ecx, [esp + 0x14]
call fcn.00406790
push eax
lea eax, [esp + 0xc]
push eax
push 9
lea ecx, [esi + 0xc]
call fcn.004d2370
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.00401000
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x20]
pop esi
xor ecx, esp
call fcn.0057b3d4
add esp, 0x2c
ret 0xc
Function at 0x4392e9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ad7fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CPythonPlayer.1.0
mov dword [esi + 4], vtable.CPythonPlayer.0
mov eax, dword [esi + 0x3e24]
mov ecx, dword [eax]
lea edi, [esi + 0x3e20]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 7
call fcn.004059b0
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x3dc0]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x3dbc]
push eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
mov byte [esp + 0x2c], 6
call fcn.00409f50
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x3db4]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x3db0]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov byte [esp + 0x2c], 5
call fcn.00409f50
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x3da8]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x3da4]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov byte [esp + 0x2c], 4
call fcn.00409f50
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [esp + 0x20], 3
mov eax, dword [esi + 0x3d9c]
mov ecx, dword [eax]
lea edi, [esi + 0x3d98]
push eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00438b80
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x30]
add esp, 4
cmp eax, 0x10
jb 0x439416
mov eax, dword [esi + 0x1c]
push eax
call fcn.0057ad56
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
lea edi, [esi + 0xc]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov byte [esp + 0x2c], 1
call fcn.004059b0
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
mov ecx, dword [esp + 0x1c]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [esi + 4], vtable.TAbstractSingleton_class_IAbstractPlayer_.0
add esp, 4
mov dword [0x621dd8], ebx
mov dword [esi], vtable.CSingleton_class_CPythonPlayer_.0
pop edi
pop esi
mov dword [0x621ddc], ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret