joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b8838
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.USER32.DLL_GetMessagePos
call fcn.0045885c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004b28c8
test ebx, ebx
jne 0x4b888b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004b86b4
mov ebx, eax
test ebx, ebx
je 0x4b8981
cmp esi, ebx
je 0x4b88b4
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x4b88c9
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x4b8901
add eax, 0xffffff5f
sub eax, 2
jb 0x4b8919
dec eax
sub eax, 2
jb 0x4b892d
dec eax
sub eax, 2
jb 0x4b8923
jmp 0x4b8937
add eax, 0xfffffdff
sub eax, 2
jb 0x4b8919
dec eax
sub eax, 2
jb 0x4b892d
dec eax
sub eax, 2
jb 0x4b8923
jmp 0x4b8937
mov byte [esp + 0x120], 0
jmp 0x4b893f
mov byte [esp + 0x120], 2
jmp 0x4b893f
mov byte [esp + 0x120], 1
jmp 0x4b893f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004955a0
mov esi, eax
call fcn.004af210
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004b42a0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4b8983
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4db3d8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4db3f4
call fcn.004dcbbc
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x4db413
test bl, 1
je 0x4db413
call fcn.004e3a4c
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4db5f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.004dc738
test byte [ebp + 0xd], 0xc0
jne 0x4db618
mov eax, dword [0x4f00f0]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x4db625
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x4db652
je 0x4db664
sub ecx, 0x100
je 0x4db676
sub ecx, 0x100
je 0x4db67f
sub ecx, 0x100
je 0x4db66d
jmp 0x4db688
sub ecx, 0x600
je 0x4db67f
sub ecx, 0x100
je 0x4db664
jmp 0x4db688
mov dword [ebp - 8], 1
jmp 0x4db68f
mov dword [ebp - 8], 2
jmp 0x4db68f
mov dword [ebp - 8], 4
jmp 0x4db68f
mov dword [ebp - 8], 5
jmp 0x4db68f
mov dword [ebp - 8], 3
test byte [ebp + 0xd], 1
je 0x4db6b6
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x4efb68]
test al, 0x80
je 0x4db6af
mov ebx, 0x80
jmp 0x4db6c8
mov ebx, 1
jmp 0x4db6c8
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4db6c8
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x4db6da
je 0x4db6e3
dec eax
je 0x4db6ec
jmp 0x4db6f5
mov dword [ebp - 4], SysStringLen
jmp 0x4db704
mov dword [ebp - 4], 0x40000000
jmp 0x4db704
mov dword [ebp - 4], 0xc0000000
jmp 0x4db704
push 1
call fcn.004dcb50
pop ecx
mov ebx, eax
jmp 0x4db804
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x4db720
sub eax, 0x10
je 0x4db724
sub eax, 0x10
je 0x4db72b
sub eax, 0x10
je 0x4db732
jmp 0x4db732
xor edi, edi
jmp 0x4db737
mov edi, 1
jmp 0x4db737
mov edi, 2
jmp 0x4db737
mov edi, 3
test byte [ebp + 0xc], 4
je 0x4db74f
cmp dword [ebp - 4], 0x80000000
jne 0x4db74d
mov edi, 1
jmp 0x4db74f
xor edi, edi
mov dword [ebp - 0x14], 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
and edx, 0x80
cmp edx, 1
sbb ecx, ecx
neg ecx
mov dword [ebp - 0xc], ecx
push 0
push ebx
mov ecx, dword [ebp - 8]
push ecx
lea eax, [ebp - 0x14]
push eax
push edi
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x4db7bd
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x4db7b2
test byte [ebp + 0xd], 1
je 0x4db7ad
mov ebx, 0x50
jmp 0x4db7b2
mov ebx, 2
push ebx
call fcn.004dcb50
pop ecx
mov ebx, eax
jmp 0x4db804
mov edi, esi
push edi
call fcn.004db558
pop ecx
test eax, eax
je 0x4db7d1
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x4db7dd
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.004dc878
add esp, 8
mov ebx, eax
inc eax
jne 0x4db804
push 4
call fcn.004dcb50
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.004dc76c
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4db9c8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.004dc738
test byte [ebp + 0xd], 0xc0
jne 0x4db9ec
mov eax, dword [0x4f00f0]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x4db9f9
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x4dba26
je 0x4dba38
sub ecx, 0x100
je 0x4dba4a
sub ecx, 0x100
je 0x4dba53
sub ecx, 0x100
je 0x4dba41
jmp 0x4dba5c
sub ecx, 0x600
je 0x4dba53
sub ecx, 0x100
je 0x4dba38
jmp 0x4dba5c
mov dword [ebp - 8], 1
jmp 0x4dba63
mov dword [ebp - 8], 2
jmp 0x4dba63
mov dword [ebp - 8], 4
jmp 0x4dba63
mov dword [ebp - 8], 5
jmp 0x4dba63
mov dword [ebp - 8], 3
test byte [ebp + 0xd], 1
je 0x4dba8a
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x4efb68]
test al, 0x80
je 0x4dba83
mov ebx, 0x80
jmp 0x4dba9c
mov ebx, 1
jmp 0x4dba9c
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4dba9c
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x4dbaae
je 0x4dbab7
dec eax
je 0x4dbac0
jmp 0x4dbac9
mov dword [ebp - 4], SysStringLen
jmp 0x4dbad8
mov dword [ebp - 4], 0x40000000
jmp 0x4dbad8
mov dword [ebp - 4], 0xc0000000
jmp 0x4dbad8
push 1
call fcn.004dcb50
pop ecx
mov ebx, eax
jmp 0x4dbbd8
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x4dbaf4
sub eax, 0x10
je 0x4dbaf8
sub eax, 0x10
je 0x4dbaff
sub eax, 0x10
je 0x4dbb06
jmp 0x4dbb06
xor edi, edi
jmp 0x4dbb0b
mov edi, 1
jmp 0x4dbb0b
mov edi, 2
jmp 0x4dbb0b
mov edi, 3
test byte [ebp + 0xc], 4
je 0x4dbb23
cmp dword [ebp - 4], 0x80000000
jne 0x4dbb21
mov edi, 1
jmp 0x4dbb23
xor edi, edi
mov dword [ebp - 0x14], 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
and edx, 0x80
cmp edx, 1
sbb ecx, ecx
neg ecx
mov dword [ebp - 0xc], ecx
push 0
push ebx
mov ecx, dword [ebp - 8]
push ecx
lea eax, [ebp - 0x14]
push eax
push edi
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileW
mov esi, eax
cmp eax, 0xffffffff
jne 0x4dbb91
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x4dbb86
test byte [ebp + 0xd], 1
je 0x4dbb81
mov ebx, 0x50
jmp 0x4dbb86
mov ebx, 2
push ebx
call fcn.004dcb50
pop ecx
mov ebx, eax
jmp 0x4dbbd8
mov edi, esi
push edi
call fcn.004db558
pop ecx
test eax, eax
je 0x4dbba5
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x4dbbb1
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.004dc878
add esp, 8
mov ebx, eax
inc eax
jne 0x4dbbd8
push 4
call fcn.004dcb50
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.004dc76c
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dfc78
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.004da0b8
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
call fcn.004da168
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.004da168
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x4f0db1
lea ecx, [ebp - 0x200]
push ecx
call fcn.004da0b8
add esp, 8
push 0xa
lea ecx, [ebp - 0x200]
push ecx
call fcn.004da168
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov eax, dword [ebx]
push eax
call fcn.004e13b4
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x4dfd89
push esi
call fcn.004da168
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.004da168
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.004d91ac
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x4dfd60
xor eax, eax
jmp 0x4dfe10
push esi
call fcn.004da168
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.004da168
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.004d9fe7
add esp, 0xc
jmp 0x4dfdc9
mov edi, dword [ebx + 0x24]
push edi
call fcn.004da168
pop ecx
push eax
push esi
call fcn.004da168
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.004da168
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.004d91cc
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x4dfdc9
xor eax, eax
jmp 0x4dfe10
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.004da0b8
add esp, 8
push 0x4f0db3
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.004da0b8
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
mov eax, dword [ebx + 0x24]
push eax
call fcn.004da0b8
add esp, 8
push 0x4f0db5
mov edx, dword [ebx + 0x24]
push edx
call fcn.004da0b8
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e39e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x4e3a0d
jmp 0x4e3a44
call fcn.004e3990
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004da168
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004da168
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4e3ac8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4f13f0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4e3ba2
cmp dword [0x4f13ec], 0
jne 0x4e3ba2
cmp dword [0x4f1680], 0
je 0x4e3b5c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004e3440
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4e3b42
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004e3440
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4e3b42
lea ebx, [ebp - 0x84]
jmp 0x4e3b43
inc ebx
call fcn.004e3a80
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4e3bdd
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4f13f4
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004da168
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4f13f7
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4e3bdd
cmp dword [0x4f13ec], 0
je 0x4e3bbc
cmp dword [0x4f13ec], 0xffffffff
je 0x4e3bdd
push esi
call dword [0x4f13ec]
pop ecx
mov eax, dword [0x4f13f0]
test eax, eax
je 0x4e3bdd
cmp dword [0x4f13f0], 0xffffffff
je 0x4e3bdd
cmp byte [eax], 0
je 0x4e3bdd
push esi
push eax
call fcn.004e39e0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10073a90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x100870b8], 0x238b
mov dword [ebp - 8], 0
mov dword [0x100870b8], 0x1d7a
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x104
jge 0x10073b10
mov dword [0x100870bc], 0x3c9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, 0
jne 0x10073b01
jmp 0x10073b10
jmp 0x10073b03
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x10073ad0
mov dword [0x100870bc], 0x17fe
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
sete dl
mov byte [ebp - 0x15], dl
mov al, byte [ebp - 0x15]
test al, 1
jne 0x10073b3c
jmp 0x10073c11
mov eax, dword [0x100870b8]
sub eax, 0x82d
mov dword [0x100870b8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
jne 0x10073c0f
mov dword [0x100870b8], 0x12a0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx + eax*2 - 0x16]
cmp eax, 0x61
jne 0x10073c0d
mov dword [0x100870b8], 0x1fd2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x10073c0b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
jne 0x10073c09
mov dword [0x100870b8], 0x2335
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
jne 0x10073c07
mov dword [0x100870b8], 0x202
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
add eax, 0xfffffff2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax]
cmp ecx, 0x6c
jne 0x10073c05
mov dword [ebp - 4], 1
jmp 0x10073c22
jmp 0x10073c07
jmp 0x10073c09
jmp 0x10073c0b
jmp 0x10073c0d
jmp 0x10073c0f
jmp 0x10073c11
mov dword [0x100870b8], 0x3b1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x20
pop ebp
ret
Function at 0x10074350
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.10074350]
mov dword [0x100870b8], 0x1abd
mov dword [ebp - 4], eax
mov dword [0x100870b8], 0x24bb
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100743a2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x100743a0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x100743df
jmp 0x100743a2
mov eax, dword [ebp - 4]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 4], eax
mov eax, dword [0x100870b8]
add eax, 0x1449
mov dword [0x100870b8], eax
mov al, 1
test al, 1
jne 0x10074373
jmp 0x100743c9
mov eax, dword [0x100870b8]
sub eax, 0x24d8
mov dword [0x100870b8], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop ebp
ret
Function at 0x40e370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x422669
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x43501c]
xor eax, esp
mov dword [esp + 0x1c], eax
push edi
mov eax, dword [0x43501c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.K8TRAY_AD_FMT__d
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov eax, dword [esp + 0x38]
add eax, 0xffffffff
cmp eax, 0x15
mov dword [esp + 0x30], 0
mov edi, 8
ja case.0x40e3ce.4
movzx eax, byte [eax + 0x40e4c0]
jmp dword [eax*4 + 0x40e4ac]
cmp dword [esp + 0x20], edi
mov eax, dword [esp + 0xc]
jae 0x40e3e3
lea eax, [esp + 0xc]
push 1
jmp 0x40e427
cmp dword [esp + 0x20], edi
mov eax, dword [esp + 0xc]
jae 0x40e3f5
lea eax, [esp + 0xc]
push 2
push eax
lea edx, [esp + 0x10]
push edx
jmp 0x40e42d
cmp dword [esp + 0x20], edi
mov eax, dword [esp + 0xc]
jae 0x40e40d
lea eax, [esp + 0xc]
push 3
push eax
lea eax, [esp + 0x10]
push eax
jmp 0x40e42d
cmp dword [esp + 0x20], edi
mov eax, dword [esp + 0xc]
jae 0x40e425
lea eax, [esp + 0xc]
push 4
push eax
lea ecx, [esp + 0x10]
push ecx
call sub.K8Common.dll_public:_static_void___cdecl_GameMgr::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
add esp, 0xc
cmp dword [esp + 0x20], edi
mov eax, dword [esp + 0xc]
jae 0x40e443
lea eax, [esp + 0xc]
push 0
push eax
push 0
push 0
lea ecx, [esi + 0x20]
call sub.K8Common.dll_public:_unsigned_long_int___thiscall_GameMgr::GMBaseEvent::Create_bool__bool__wchar_t_const___struct__SECURITY_ATTRIBUTES__
test eax, eax
jne 0x40e479
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40e479
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x40e48d
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00420f36
add esp, 0x2c
ret 4
Function at 0x414670
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x422db7
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push edi
mov eax, dword [0x43501c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ecx, 0x435938
mov dword [esp + 0xc], 0x435938
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor ebx, ebx
mov ecx, 0x435954
mov dword [esp + 0x34], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov ecx, 0x435970
mov byte [esp + 0x34], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov ecx, 0x43598c
mov byte [esp + 0x34], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push 0x4359c0
mov byte [esp + 0x38], 3
call fcn.00414a70
mov dword [0x4359dc], ebx
mov dword [0x4359e0], ebx
mov ecx, 0x4359e4
mov byte [esp + 0x34], 5
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMBaseEvent::constructor_void_
mov byte [esp + 0x34], 6
push ebx
push ebx
push ebx
push ebx
mov ecx, 0x4359e4
mov dword [0x4359a8], ebx
mov dword [0x4359ac], ebx
mov dword [0x435a04], ebx
mov dword [0x435a08], ebx
mov word [0x4359d4], bx
mov word [0x4359d6], bx
mov word [0x4359d8], bx
mov word [0x4359da], bx
mov dword [0x4359bc], 0xfffffffe
call sub.K8Common.dll_public:_unsigned_long_int___thiscall_GameMgr::GMBaseEvent::Create_bool__bool__wchar_t_const___struct__SECURITY_ATTRIBUTES__
lea edi, [esp + 0x10]
call fcn.004167b0
cmp dword [eax + 0x18], 8
jb 0x414768
mov eax, dword [eax + 4]
jmp 0x41476b
add eax, 4
push eax
push ebx
push 0x429250
push str.GUEST
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x10]
mov dword [0x4359b0], eax
mov dword [0x4359b4], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [0x435a14], bl
mov dword [0x435a0c], ebx
mov dword [0x435a10], ebx
mov eax, 0x435938
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x2c
ret
Function at 0x415f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x422633
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x43501c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x43501c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
call fcn.00415b70
test al, al
jne 0x415f70
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
jmp 0x415fb7
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esp + 0x10]
push eax
push str.uuid
mov ecx, esi
mov dword [esp + 0x40], 1
call sub.K8Common.dll_public:_bool___thiscall_GameMgr::GMRegFile::GetValue_wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x10]
mov dword [esp + 8], 1
mov byte [esp + 0x38], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00420f36
add esp, 0x34
ret
Function at 0x415fe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4225e3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x43501c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x43501c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
call fcn.00415b70
test al, al
jne 0x416030
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
jmp 0x416077
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esp + 0x10]
push eax
push str.SubChannel
mov ecx, esi
mov dword [esp + 0x40], 1
call sub.K8Common.dll_public:_bool___thiscall_GameMgr::GMRegFile::GetValue_wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x10]
mov dword [esp + 8], 1
mov byte [esp + 0x38], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00420f36
add esp, 0x34
ret