joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404820
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40489f
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea ecx, [edi + 1]
push ecx
call fcn.00404c71
mov esi, eax
add esp, 4
test esi, esi
je 0x404897
push 0
lea edx, [esp + 0x10]
push edx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp edi, dword [esp + 0xc]
je 0x404893
push esi
call fcn.00404c97
add esp, 4
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
mov byte [edi + esi], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret

Function at 0x404fc4
Capabilities:
Terminate process

Disassembly:
push 0x11c
push 0x406ba0
call fcn.004053c0
mov eax, dword [0x408088]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x408204]
test eax, eax
je 0x405004
and dword [ebp - 4], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x40510e
mov eax, dword [ebp + 8]
dec eax
je 0x405020
mov ebx, str.Unknown_security_failure_detected_
mov dword [ebp - 0x12c], str.A_security_error_of_unknown_cause_has_been_detected_which_has_ncorrupted_the_programs_internal_state.__The_program_cannot_safely_ncontinue_execution_and_must_now_be_terminated._n
mov edi, 0xd4
jmp 0x405034
mov ebx, str.Buffer_overrun_detected_
mov dword [ebp - 0x12c], str.A_buffer_overrun_has_been_detected_which_has_corrupted_the_programs_ninternal_state.__The_program_cannot_safely_continue_execution_and_must_nnow_be_terminated._n
mov edi, 0xb9
mov byte [ebp - 0x20], 0
push 0x104
lea eax, [ebp - 0x124]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405063
push str._program_name_unknown_
lea eax, [ebp - 0x124]
push eax
call fcn.00405a90
pop ecx
pop ecx
lea eax, [ebp - 0x124]
mov dword [ebp - 0x128], eax
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
add eax, 0xb
cmp eax, 0x3c
jbe 0x4050aa
lea eax, [ebp - 0x124]
push eax
call esi
lea ecx, [ebp - 0x124]
sub ecx, 0x31
add eax, ecx
mov dword [ebp - 0x128], eax
push 3
push 0x4069ec
push eax
call fcn.00405750
add esp, 0xc
push dword [ebp - 0x128]
call esi
lea eax, [eax + edi + 0xc]
add eax, 3
and eax, 0xfffffffc
call fcn.00405320
mov dword [ebp - 0x18], esp
mov edi, esp
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, 0x4069e8
push ebx
push edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call esi
push str.Program:
push edi
call esi
push dword [ebp - 0x128]
push edi
call esi
push ebx
push edi
call esi
push dword [ebp - 0x12c]
push edi
call esi
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 3
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x405b88
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x405bb6
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x405bbd
cmp ebx, dword [eax + 4]
jae 0x405bbd
xor eax, eax
jmp 0x405dad
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x405bce
xor eax, eax
inc eax
jmp 0x405dac
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x405be4
cmp ecx, edx
jae 0x405d29
cmp dword [eax + 4], 0
je 0x405bed
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x405bd5
cmp dword [ebp + 8], 0
je 0x405c0f
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x405d29
cmp eax, esi
jae 0x405d29
mov eax, dword [0x408208]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x405c34
cmp dword [esi*4 + 0x408210], edi
je 0x405d2d
inc esi
cmp esi, eax
jl 0x405c22
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405da9
cmp dword [ebp - 8], 0x1000000
jne 0x405da9
test byte [ebp - 0xc], 0xcc
je 0x405cb2
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x405da9
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x405da9
cmp word [eax + 0x18], 0x10b
jne 0x405da9
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x405da9
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x405cb2
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x405cb2
test byte [ecx + 0x27], 0x80
jne 0x405d29
push 1
push 0x408250
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x405bc6
mov ecx, dword [0x408208]
test ecx, ecx
mov edx, ecx
jle 0x405ce6
lea eax, [ecx*4 + 0x40820c]
cmp dword [eax], edi
je 0x405ce6
dec edx
sub eax, 4
test edx, edx
jg 0x405cda
test edx, edx
jne 0x405d17
push 0xf
pop ebx
cmp ecx, ebx
jg 0x405cf3
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x405d0b
lea eax, [edx*4 + 0x408210]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x405cf9
cmp ecx, 0x10
jge 0x405d17
inc ecx
mov dword [0x408208], ecx
push 0
push 0x408250
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x405bc6
xor eax, eax
jmp 0x405dac
test esi, esi
jle 0x405bc6
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x408250
call ebx
test eax, eax
jne 0x405bc6
cmp dword [esi*4 + 0x408210], edi
je 0x405d83
mov eax, dword [0x408208]
lea esi, [eax - 1]
test esi, esi
jl 0x405d71
cmp dword [esi*4 + 0x408210], edi
je 0x405d6d
dec esi
jns 0x405d61
test esi, esi
jge 0x405d81
cmp eax, 0x10
jge 0x405d7c
inc eax
mov dword [0x408208], eax
lea esi, [eax - 1]
jmp 0x405d83
je 0x405d9b
xor ecx, ecx
test esi, esi
jl 0x405d9b
lea eax, [ecx*4 + 0x408210]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x405d89
push 0
push 0x408250
call ebx
jmp 0x405bc6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406670
Capabilities:
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp eax, 0x100
push edi
mov edx, eax
ja 0x4066c6
je 0x40669c
cmp eax, 0x20
je 0x4066a1
cmp eax, 0x30
je 0x406711
cmp eax, 0x40
je 0x4066e1
pop edi
mov eax, 1
pop esi
ret
mov edx, 0x20
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov esi, 0x43fba8
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea edi, [eax + 8]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0xd0], edx
pop edi
xor eax, eax
pop esi
ret
cmp eax, 0x180
je 0x40670c
cmp eax, 0x200
je 0x4066dc
pop edi
mov eax, 1
pop esi
ret
mov edx, 0x40
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov esi, 0x4400c8
mov dword [eax + 8], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 4], ecx
lea edi, [eax + 0x10]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0xd0], edx
pop edi
xor eax, eax
pop esi
ret
mov edx, 0x30
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov esi, 0x43fe48
mov dword [eax + 8], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 4], ecx
lea edi, [eax + 0x10]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0xd0], edx
pop edi
xor eax, eax
pop esi
ret

Function at 0x409920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43a69b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x440540
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x4099b0
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x409977
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [0x43f0a8]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x4099a1
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0043963c
jmp 0x4099b6
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0043963c
jmp 0x4099b6
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4405e4
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.00439660
mov ecx, esi
mov dword [edi], 0x4405d0
mov dword [esp + 0x1c], 0xffffffff
call fcn.0043962a
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40d7c0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43acf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.0043942c
lea ebp, [esi + 8]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x1c], edi
call fcn.0043942c
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
call fcn.0043942c
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 2
call fcn.0043942c
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 3
call fcn.0043942c
lea ecx, [esi + 0x24]
mov byte [esp + 0x1c], 4
call fcn.0043942c
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 5
call fcn.0043942c
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 6
call fcn.0043942c
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 7
call fcn.0043942c
lea ecx, [esi + 0x70]
mov byte [esp + 0x1c], 8
call fcn.00439582
lea ecx, [esi + 0x84]
mov byte [esp + 0x1c], 9
call fcn.00439582
lea ecx, [esi + 0xa4]
mov byte [esp + 0x1c], 0xa
call fcn.00439582
lea ecx, [esi + 0xb8]
mov byte [esp + 0x1c], 0xb
call fcn.00439582
lea ecx, [esi + 0xcc]
mov byte [esp + 0x1c], 0xc
call fcn.00439582
push 0x451f28
mov ecx, ebx
mov byte [esp + 0x20], 0xd
mov dword [esi], 0x440f24
call fcn.00439426
push 0x451f28
mov ecx, ebp
call fcn.00439426
push 0x451f28
lea ecx, [esi + 0xc]
call fcn.00439426
or ebx, 0xffffffff
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebx
push 0x451f28
lea ecx, [esi + 0x20]
call fcn.00439426
push 0x451f28
lea ecx, [esi + 0x28]
call fcn.00439426
push 0x451f28
lea ecx, [esi + 0x2c]
call fcn.00439426
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x60], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40e4e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43af0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c4
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.0043942c
mov edi, dword [esp + 0x8e0]
lea eax, [esp + 0xc]
xor ebx, ebx
push edi
push eax
mov ecx, esi
mov dword [esp + 0x8e0], ebx
call fcn.0040e8f0
push eax
lea ecx, [esi + 0x20]
mov byte [esp + 0x8dc], 1
call fcn.0043944a
lea ecx, [esp + 0xc]
mov byte [esp + 0x8d8], bl
call fcn.0043941a
cmp dword [esi + 0x14], ebx
je 0x40e55a
inc edi
lea ecx, [esp + 0x10]
push edi
push str.SHOST_d
push ecx
jmp 0x40e566
inc edi
lea edx, [esp + 0x10]
push edi
push str.CHOST_d
push edx
call fcn.00439420
mov eax, dword [esi + 4]
add esp, 0xc
push ebp
push eax
mov eax, dword [esp + 0x18]
push ebx
push 0x44cd60
push eax
call dword [0x43f16c]
mov edi, eax
push 0xffffffffffffffff
lea ecx, [esi + 0x70]
push ebx
mov dword [esp + 0x24], edi
mov dword [esi + 0x60], 0xffffffff
call fcn.0043974a
xor ebp, ebp
cmp edi, ebx
jle 0x40e6b5
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x20c
xor eax, eax
lea edi, [esp + 0xa1]
mov byte [esp + 0xa0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
stosb byte es:[edi], al
call fcn.0043942c
lea edi, [ebp + 1]
lea ecx, [esp + 0x10]
push edi
push str.IP_d
push ecx
mov byte [esp + 0x8e8], 2
call fcn.00439420
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
push 0x80
push edx
push 0x451f28
push eax
push ecx
call dword [0x43f184]
lea edx, [esp + 0xa0]
lea eax, [esp + 0x20]
push edx
push 0x451f28
push eax
call fcn.0042ee60
add esp, 0xc
test eax, eax
jle 0x40e697
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00439414
lea ecx, [esp + 0x18]
mov byte [esp + 0x8dc], 3
call fcn.00439756
mov edx, dword [esp + 0x18]
push 0x451f28
push edx
call dword [0x43f638]
add esp, 8
test eax, eax
je 0x40e686
mov eax, dword [esi + 0x78]
lea ecx, [esi + 0x70]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00439750
lea ecx, [esp + 0x18]
mov byte [esp + 0x8dc], 2
call fcn.0043941a
lea ecx, [esp + 0x10]
mov byte [esp + 0x8dc], bl
call fcn.0043941a
mov eax, dword [esp + 0x1c]
mov ebp, edi
cmp ebp, eax
jl 0x40e5a6
mov eax, dword [esp + 0x8e4]
pop ebp
cmp eax, 2
jne 0x40e6dd
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
push eax
push 0x26f7
push str.TESTPORT
push ecx
call dword [0x43f16c]
mov dword [esi + 0x3c], eax
mov esi, dword [esi + 0x78]
xor eax, eax
cmp esi, ebx
lea ecx, [esp + 0x10]
setg al
mov esi, eax
mov dword [esp + 0x8d8], 0xffffffff
call fcn.0043941a
mov ecx, dword [esp + 0x8d0]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x8d0
ret 4
Function at 0x40ea58
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43afb0
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov eax, dword [esi + 0x98]
cmp eax, 0xffffffff
jne 0x40ea6c
mov eax, dword [esp + 0x38]
jmp 0x40ea81
mov ecx, dword [esp + 0x38]
test ecx, ecx
jge 0x40ea80
mov dword [esi + 0x98], 0
jmp 0x40ea87
inc eax
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0x98]
cmp ecx, eax
jl 0x40eaa1
mov dword [esi + 0x98], 0
lea ecx, [esp + 8]
push ecx
call fcn.00428600
add esp, 4
push 0x5c
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.004394d4
push eax
lea edx, [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x14]
call fcn.0043975c
lea ecx, [esp + 4]
mov byte [esp + 0x30], 1
call fcn.0043942c
mov eax, dword [esp + 0xc]
lea ecx, [esp + 4]
push eax
push str._scommon
push ecx
mov byte [esp + 0x3c], 2
call fcn.00439420
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.0043942c
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x14]
push 0xa
push edx
push eax
mov byte [esp + 0x3c], 3
call dword [0x43f63c]
mov ecx, dword [esp + 0x10]
add esp, 0xc
lea edx, [esp + 0x38]
push ecx
push str._sConfigEnvData_sver.ini
push edx
call fcn.00439420
mov eax, dword [esi + 0x98]
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0xa4]
call fcn.00407b60
mov edx, dword [esp + 0x38]
mov eax, dword [eax]
mov esi, dword [0x43f140]
push edx
push eax
push str.SERVERIP
push str.VERSION
call esi
lea ecx, [esp + 0x10]
call fcn.0043941a
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.SERVERPORT
push str.VERSION
call esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 2
call fcn.0043941a
lea ecx, [esp + 4]
mov byte [esp + 0x30], 1
call fcn.0043941a
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.0043941a
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043941a
mov ecx, dword [esp + 0x28]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x40ebf8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43afe0
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
jne 0x40ec0c
mov eax, dword [esp + 0x38]
jmp 0x40ec21
mov ecx, dword [esp + 0x38]
test ecx, ecx
jge 0x40ec20
mov dword [esi + 0x9c], 0
jmp 0x40ec27
inc eax
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0x9c]
cmp ecx, eax
jl 0x40ec41
mov dword [esi + 0x9c], 0
lea ecx, [esp + 8]
push ecx
call fcn.00428600
add esp, 4
push 0x5c
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.004394d4
push eax
lea edx, [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x14]
call fcn.0043975c
lea ecx, [esp + 4]
mov byte [esp + 0x30], 1
call fcn.0043942c
mov eax, dword [esp + 0xc]
lea ecx, [esp + 4]
push eax
push str._scommon
push ecx
mov byte [esp + 0x3c], 2
call fcn.00439420
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.0043942c
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x14]
push 0xa
push edx
push eax
mov byte [esp + 0x3c], 3
call dword [0x43f63c]
mov ecx, dword [esp + 0x10]
add esp, 0xc
lea edx, [esp + 0x38]
push ecx
push str._sConfigEnvData_sver.ini
push edx
call fcn.00439420
mov eax, dword [esi + 0x9c]
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0xb8]
call fcn.00407b60
mov edx, dword [esp + 0x38]
mov eax, dword [eax]
mov esi, dword [0x43f140]
push edx
push eax
push str.SERVERIP
push str.VERSION
call esi
lea ecx, [esp + 0x10]
call fcn.0043941a
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.SERVERPORT
push str.VERSION
call esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 2
call fcn.0043941a
lea ecx, [esp + 4]
mov byte [esp + 0x30], 1
call fcn.0043941a
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.0043941a
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043941a
mov ecx, dword [esp + 0x28]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x40ed98
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43b010
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov eax, dword [esi + 0xa0]
cmp eax, 0xffffffff
jne 0x40edac
mov eax, dword [esp + 0x38]
jmp 0x40edc1
mov ecx, dword [esp + 0x38]
test ecx, ecx
jge 0x40edc0
mov dword [esi + 0xa0], 0
jmp 0x40edc7
inc eax
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0xa0]
cmp ecx, eax
jl 0x40ede1
mov dword [esi + 0xa0], 0
lea ecx, [esp + 8]
push ecx
call fcn.00428600
add esp, 4
push 0x5c
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.004394d4
push eax
lea edx, [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x14]
call fcn.0043975c
lea ecx, [esp + 4]
mov byte [esp + 0x30], 1
call fcn.0043942c
mov eax, dword [esp + 0xc]
lea ecx, [esp + 4]
push eax
push str._scommon
push ecx
mov byte [esp + 0x3c], 2
call fcn.00439420
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.0043942c
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x14]
push 0xa
push edx
push eax
mov byte [esp + 0x3c], 3
call dword [0x43f63c]
mov ecx, dword [esp + 0x10]
add esp, 0xc
lea edx, [esp + 0x38]
push ecx
push str._sConfigEnvData_sver.ini
push edx
call fcn.00439420
mov eax, dword [esi + 0xa0]
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0xcc]
call fcn.00407b60
mov edx, dword [esp + 0x38]
mov eax, dword [eax]
mov esi, dword [0x43f140]
push edx
push eax
push str.SERVERIP
push str.VERSION
call esi
lea ecx, [esp + 0x10]
call fcn.0043941a
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.SERVERPORT
push str.VERSION
call esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 2
call fcn.0043941a
lea ecx, [esp + 4]
mov byte [esp + 0x30], 1
call fcn.0043941a
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.0043941a
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043941a
mov ecx, dword [esp + 0x28]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x417c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43c267
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov dword [esp + 8], 0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x30]
mov dword [esp + 4], eax
lea edx, [esp + 4]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x3c], 0xffffffff
call fcn.004070f0
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov byte [esp + 0x24], 2
call fcn.00407010
mov dword [esp + 8], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.0043941a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.0043941a
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x4206e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43cfb7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov dword [esp + 0xc], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 1
call fcn.004067f0
lea ecx, [esp + 4]
mov byte [esp + 0x38], 2
call fcn.0043942c
push 2
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 3
call fcn.00406c30
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x10]
push eax
call fcn.00406c50
push 1
lea ecx, [esp + 0x14]
call fcn.00406c00
push 7
lea ecx, [esp + 0x14]
call fcn.00406bf0
push 0x100
lea ecx, [esp + 0x14]
call fcn.00406c60
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.00406890
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 4
call fcn.0043944a
lea ecx, [esp + 8]
mov byte [esp + 0x38], 3
call fcn.0043941a
mov esi, dword [esp + 0x40]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.0043940e
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x38], 2
call fcn.0043941a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 6
call fcn.0043941a
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 5
call fcn.0043941a
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call fcn.0043941a
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0
call fcn.0043941a
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x42b650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43e350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
push edi
mov eax, ecx
xor edi, edi
sar eax, 3
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x441d60
push eax
push eax
mov eax, dword [esp + 0x28]
push ecx
push eax
push edi
push edi
mov dword [esp + 0x30], edi
call dword [0x43f058]
push eax
lea ecx, [esp + 0xc]
call fcn.00439642
mov ecx, dword [esi + 0x20]
push edi
push edi
mov edi, dword [0x43f7f8]
push ecx
call edi
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x20]
lea eax, [esp + 8]
push 1
neg eax
sbb eax, eax
and eax, ecx
push eax
push edx
call edi
mov dword [esp + 8], 0x4405e4
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
call fcn.00439660
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8