joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4489c0
Capabilities:
Create http request

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
jne 0x4489e1
pop esi
xor al, al
pop ebx
ret
push edi
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
push 0x549e5c
push 2
push esi
call edi
push 4
push 0x549e60
push 3
push esi
call edi
cmp dword [ebx + 0x18], 0x10
jb 0x448a0b
mov eax, dword [ebx + 4]
jmp 0x448a0e
lea eax, [ebx + 4]
push 0
push 0x84000000
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
jne 0x448a32
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
xor al, al
pop ebx
ret
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call edi
push esi
call edi
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x448c90
Capabilities:
Get http content length
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x50b0eb
mov eax, dword fs:[0]
push eax
mov eax, 0x1018
call fcn.004fc7a0
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x1010], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x102c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x103c]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x20], eax
mov edi, ecx
je 0x448d79
mov eax, dword [eax]
cmp eax, ebp
mov byte [esp + 0x16], 0
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], ebp
je 0x448d1d
push ebp
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
setne al
test al, al
jne 0x448d39
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x448d79
mov byte [esp + 0x16], 1
mov dword [esp + 0x18], 0x3200000
jmp 0x448d3f
cmp dword [esp + 0x18], ebp
je 0x448d79
mov dword [esp + 0x1c], 0xffffffff
push 0x80
push 2
push 3
push 0x40000000
lea esi, [esp + 0x2c]
mov dword [esp + 0x1044], ebp
call fcn.0043eb10
test al, al
jne 0x448d80
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x448d79
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x448e55
push 0x30
call fcn.004e7d83
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x448d9d
mov eax, dword [esp + 0x18]
call fcn.00448070
mov esi, eax
jmp 0x448d9f
xor esi, esi
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x17], 1
jae 0x448e2b
cmp byte [esp + 0x16], 0
mov edi, 0x1000
jne 0x448dc7
sub ecx, eax
cmp ecx, edi
jae 0x448dc7
mov edi, ecx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
mov edx, edi
call fcn.0045c490
mov edi, eax
cmp edi, 0xffffffff
je 0x448e27
test edi, edi
jne 0x448df7
cmp byte [esp + 0x16], al
jne 0x448e27
push 0xa
call sub.KERNEL32.dll_Sleep
add ebp, 1
cmp ebp, 3
ja 0x448e27
cmp ebx, 0xffffffff
je 0x448e37
push 0
lea ecx, [esp + 0x20]
push ecx
push edi
lea edx, [esp + 0x30]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x448e37
cmp edi, dword [esp + 0x1c]
jne 0x448e37
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jb 0x448db3
jmp 0x448e2b
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0xc], ecx
je 0x448e3c
cmp byte [esp + 0x16], 0
jne 0x448e3c
mov byte [esp + 0x17], 0
push esi
call fcn.004e7d7e
add esp, 4
cmp ebx, 0xffffffff
je 0x448e51
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x102c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1010]
xor ecx, esp
call fcn.004e7d6f
add esp, 0x1024
ret
Function at 0x4497c0
Capabilities:
Delete file
Set file attributes

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x18], 8
push esi
push edi
lea edi, [ebp + 4]
jb 0x4497d7
mov edx, dword [edi]
jmp 0x4497d9
mov edx, edi
push ebx
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4497f2
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x18]
call fcn.00407330
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x44981f
lea eax, [esp + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
sete bl
cmp dword [esp + 0x28], esi
jb 0x44983f
mov eax, dword [esp + 0x14]
push eax
call fcn.004e7d7e
add esp, 4
test bl, bl
pop ebx
je 0x44984d
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x1c
ret
cmp dword [ebp + 0x18], esi
jb 0x449867
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
test eax, eax
pop esi
setne al
pop ebp
add esp, 0x1c
ret
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
test eax, eax
pop esi
setne al
pop ebp
add esp, 0x1c
ret

Function at 0x449880
Capabilities:
Get common file path

Disassembly:
sub esp, 0x624
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x620], eax
push esi
push edi
xor edi, edi
cmp dword [0x549304], edi
mov esi, ecx
je 0x4498ca
push 0xffffffffffffffff
push edi
push 0x5492f0
mov eax, esi
call fcn.00401610
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.004e7d6f
add esp, 0x624
ret
push 0x20a
lea eax, [esp + 0xe]
push edi
push eax
mov word [esp + 0x14], di
call fcn.004f1960
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x4499b3
push 0x410
lea edx, [esp + 0x21a]
push edi
push edx
mov word [esp + 0x21e], di
mov word [esp + 0x220], di
call fcn.004f1960
add esp, 0xc
push 0x208
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x449977
cmp eax, edi
je 0x449977
push esi
lea edx, [esp + 0x218]
mov word [esp + eax*2 + 0x218], di
call fcn.00406b00
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.004e7d6f
add esp, 0x624
ret
lea eax, [esp + 8]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x449980
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc]
push edx
call fcn.00407330
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.004e7d6f
add esp, 0x624
ret
mov ecx, dword [esp + 0x628]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.004e7d6f
add esp, 0x624
ret
Function at 0x4499d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
push esi
push edi
push 0x20a
lea eax, [esp + 0x12]
push 0
push eax
mov edi, ecx
mov esi, edx
mov word [esp + 0x18], 0
call fcn.004f1960
mov eax, 8
add esp, 0xc
cmp dword [edi + 0x18], eax
jb 0x449a1c
mov edi, dword [edi + 4]
jmp 0x449a1f
add edi, 4
cmp dword [ebx + 0x18], eax
jb 0x449a29
mov ebx, dword [ebx + 4]
jmp 0x449a2c
add ebx, 4
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jbe 0x449a84
lea eax, [esp + 0xc]
mov word [esp + 0x216], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x449a50
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10]
push edx
call fcn.00407330
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004e7d6f
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.004e7d6f
add esp, 0x210
ret

Function at 0x449d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x438
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x434], eax
push esi
push edi
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0041f970
lea ecx, [esp + 8]
push ecx
mov esi, eax
call fcn.0041f910
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov eax, edi
call fcn.0041f840
push 0x410
lea edx, [esp + 0x26]
push 0
push edx
mov word [esp + 0x2c], 0
call fcn.004f1960
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add esp, 0xc
push 0
push 0
call esi
test eax, eax
jne 0x449d9f
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.004e7d6f
mov esp, ebp
pop ebp
ret
cmp eax, 0x208
jae 0x449d89
lea eax, [esp + 0x20]
push eax
push 0x209
call esi
test eax, eax
je 0x449d89
cmp eax, 0x208
jae 0x449d89
push edi
lea edx, [esp + 0x24]
mov word [esp + 0x434], 0
call fcn.00406b00
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.004e7d6f
mov esp, ebp
pop ebp
ret
Function at 0x44abb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x50d032
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x244]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x20], esi
mov edi, edx
mov word [esi + 4], bx
push 0x208
lea eax, [esp + 0x2a]
mov dword [esp + 0x240], ebx
push ebx
push eax
mov dword [esp + 0x28], 1
mov word [esp + 0x30], bx
call fcn.004f1960
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [esp + 0x14], 0x208
mov dword [esp + 0x18], 1
jb 0x44ac50
mov edi, dword [edi + 4]
jmp 0x44ac53
add edi, 4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44acaa
mov eax, dword [esp + 0x14]
cmp eax, 0x104
ja 0x44ac81
mov word [esp + eax*2 + 0x24], bx
jmp 0x44ac89
mov word [esp + 0x22c], bx
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44ac90
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00407330
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004e7d6f
add esp, 0x22c
ret 4
Function at 0x44cc60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x50eaa9
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov dword [esp + 0x58], edi
mov word [edi + 4], bx
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x80], 1
mov esi, 0x20019
call fcn.0043e860
test al, al
je 0x44cccf
mov esi, 0x20119
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x44cce2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push esi
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x44cd07
mov dword [esp + 0x10], ebx
jmp 0x44cd3c
mov eax, 4
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
push ebx
push str.InstallDate
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x44cd40
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x30], ebx
call fcn.004e9c87
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x50]
push edx
add eax, 1
push eax
add ecx, 0x76c
push ecx
push str._04d_02d_02d_02d_02d_02d
push edi
call fcn.0042c380
mov eax, dword [edi + 0x14]
add esp, 0x28
cmp eax, 0xe
jae 0x44cdd4
mov edi, edi
push 1
push 0x51b528
mov ecx, edi
call fcn.00407230
cmp dword [edi + 0x14], 0xe
jb 0x44cdc0
cmp dword [edi + 0x14], 0xe
jbe 0x44ce10
push 0xe
xor ecx, ecx
lea esi, [esp + 0x60]
mov edx, edi
call fcn.00406be0
push 0xffffffffffffffff
push ebx
push eax
mov eax, edi
mov byte [esp + 0x8c], 2
call fcn.00401610
cmp dword [esp + 0x74], 8
jb 0x44ce10
mov edx, dword [esp + 0x60]
push edx
call fcn.004e7d7e
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x44ce1f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x78
ret
Function at 0x44ee80
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x50b458
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
lea eax, [esp + 0x18]
push eax
call fcn.0044d7b0
xor ebx, ebx
push 0x51af61
xor esi, esi
lea edi, [esp + 0x2c]
mov dword [esp + 0x3c], ebx
call fcn.004628e0
push 0x51af61
lea edi, [esp + 0x30]
call fcn.004628e0
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 0x40]
lea eax, [esp + 0x18]
push eax
call edx
test al, al
jne 0x44ef33
mov eax, dword [esp + 0x2c]
cmp eax, 0x54cfa8
je 0x44ef04
push eax
call fcn.004e7d6a
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, 0x54cfa8
je 0x44ef18
push eax
call fcn.004e7d6a
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, 0x54cfa8
je 0x44ef2c
push eax
call fcn.004e7d6a
add esp, 4
xor al, al
jmp 0x44efeb
cmp dword [ebp + 0x18], 8
mov dword [esp + 0x44], ebx
jb 0x44ef42
mov eax, dword [ebp + 4]
jmp 0x44ef45
lea eax, [ebp + 4]
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44efad
mov eax, dword [esp + 0x24]
mov edi, dword [eax]
add eax, 8
cmp eax, ebx
je 0x44ef84
push ebx
lea ecx, [esp + 0x48]
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44ef84
cmp edi, dword [esp + 0x44]
je 0x44ef93
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
test eax, eax
jne 0x44efad
jmp 0x44efa5
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
test eax, eax
je 0x44efa3
or esi, 0xffffffff
mov bl, 1
cmp esi, 0xffffffff
je 0x44efad
push esi
call edi
mov eax, dword [esp + 0x2c]
cmp eax, 0x54cfa8
je 0x44efc1
push eax
call fcn.004e7d6a
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, 0x54cfa8
je 0x44efd5
push eax
call fcn.004e7d6a
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, 0x54cfa8
je 0x44efe9
push eax
call fcn.004e7d6a
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x44f010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50b0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
call fcn.0044d7b0
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 0x40]
lea eax, [esp + 0xc]
push eax
call edx
test al, al
jne 0x44f0b4
mov eax, dword [esp + 0x20]
cmp eax, 0x54cfa8
je 0x44f076
push eax
call fcn.004e7d6a
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 0x54cfa8
je 0x44f08a
push eax
call fcn.004e7d6a
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, 0x54cfa8
je 0x44f09e
push eax
call fcn.004e7d6a
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x18]
mov edi, dword [eax]
mov esi, dword [ebp + 8]
call fcn.00401110
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [esi + 8]
push ecx
add eax, 8
push eax
push edx
call fcn.004efdb0
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, 0x54cfa8
je 0x44f0ed
push eax
call fcn.004e7d6a
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 0x54cfa8
je 0x44f101
push eax
call fcn.004e7d6a
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, 0x54cfa8
je 0x44f115
push eax
call fcn.004e7d6a
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x452910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x515aaa
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, dword [esp + 0x58]
xor ebx, ebx
mov dword [esp + 0x4c], ebx
push edi
mov dword [esp + 0x1c], ebx
call fcn.004522b0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], ebx
mov ebp, 1
lea esi, [esp + 0x1c]
mov dword [esp + 0x18], ebp
call fcn.004529e0
mov eax, esi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], ebp
call fcn.00462db0
mov ebp, eax
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x4c], 2
mov edx, dword [ecx + 4]
mov esi, dword [edx + 0xc]
mov ecx, esi
call fcn.004632a0
push eax
mov ecx, esi
call fcn.00463320
mov esi, eax
mov eax, ebp
call fcn.00462fb0
mov ecx, dword [edi + 4]
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x4c], 1
call fcn.00462f10
lea eax, [esp + 0x1c]
mov byte [esp + 0x4c], bl
call fcn.00462f10
mov eax, edi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
Function at 0x457240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x510558
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
push 1
push edi
lea ecx, [esp + 0x30]
call fcn.00456fb0
cmp dword [esp + 0x40], 8
mov eax, dword [eax + 0x14]
lea eax, [eax + eax + 0xc]
mov dword [esp + 0x24], eax
jb 0x457294
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004e7d7e
add esp, 4
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x20], ebp
xor ebx, ebx
mov edi, edi
mov eax, dword [edi + 0x14]
cmp eax, ebp
je 0x457305
mov ecx, dword [edi + 0x18]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x457305
mov eax, dword [edi + 0x14]
cmp eax, ebp
je 0x4572e2
mov ecx, dword [edi + 0x18]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4572e7
call fcn.004e89bf
mov ecx, dword [edi + 0x14]
add ecx, ebx
call fcn.00457240
mov edx, dword [esp + 0x20]
lea eax, [edx + eax + 4]
add esi, 1
mov dword [esp + 0x20], eax
add ebx, 0x44
jmp 0x4572a0
xor esi, esi
mov ecx, edi
mov dword [esp + 0x18], esi
call fcn.004358e0
test eax, eax
jbe 0x4573ea
mov dword [esp + 0x28], vtable.GameMgr::GMBuffer_unsigned_char_.0
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 4]
test eax, eax
je 0x45734b
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x457350
call fcn.004e89bf
mov ebx, dword [edi + 4]
add ebx, dword [esp + 0x1c]
lea esi, [esp + 0x44]
mov eax, ebx
call fcn.004476d0
cmp dword [esp + 0x5c], 8
mov eax, dword [eax + 0x14]
lea esi, [ebp + eax*2 + 6]
jb 0x45737d
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004e7d7e
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea edx, [esp + 0x28]
push edx
push ebx
mov dword [esp + 0x70], eax
call fcn.004473e0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], 0xffffffff
lea ebp, [esi + eax + 4]
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x28], vtable.GameMgr::GMBuffer_unsigned_char_.0
je 0x4573cb
push eax
call fcn.004e7d6a
add esp, 4
mov dword [esp + 0x30], 0
mov esi, dword [esp + 0x18]
add dword [esp + 0x1c], 0x70
add esi, 1
mov ecx, edi
mov dword [esp + 0x18], esi
call fcn.004358e0
cmp esi, eax
jb 0x457326
mov ecx, dword [esp + 0x20]
lea eax, [ecx + ebp]
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x4581e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50ce5e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], esi
mov ecx, esi
mov dword [esp + 0x18], 1
call fcn.004e8270
lea eax, [esi + 0x10]
mov dword [esi], vtable.GameMgr::GMRegException.0
xor ebx, ebx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
mov word [eax + 4], bx
lea edi, [esi + 0x2c]
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov word [edi + 4], bx
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x24]
mov byte [esp + 0x18], 4
push 0xffffffffffffffff
mov dword [esi + 0x50], ecx
push ebx
lea ecx, [esp + 0x30]
push ecx
mov byte [esi + 0x4c], dl
call fcn.00401610
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x4c]
push edx
mov eax, edi
call fcn.00401610
mov eax, dword [esp + 0x60]
mov edi, 8
cmp dword [esp + 0x40], edi
mov dword [esi + 0x48], eax
mov byte [esi + 0xc], bl
jb 0x458291
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004e7d7e
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jb 0x4582b5
mov edx, dword [esp + 0x48]
push edx
call fcn.004e7d7e
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret 0x44

Function at 0x458300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x510500
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
push ebx
sub esp, 0x1c
mov dword [esp + 0x40], ebx
mov esi, esp
mov dword [esp + 0x30], esp
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x51a1d4
mov word [esi + 4], bx
call fcn.00407330
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x50], esp
mov byte [esp + 0x5c], 1
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x51a1d4
mov word [esi + 4], bx
call fcn.00407330
push ebx
push ebx
lea esi, [edi + 0x14]
mov byte [esp + 0x64], bl
call fcn.004581e0
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x68], eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8