joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492f0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00427540
mov eax, dword [0x4be818]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x48], 0x49ef38
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0xa
mov ecx, dword [0x4be818]
mov dword [esi + 0xa4], ecx
mov edx, dword [0x4be818]
mov dword [esi + 0xa8], edx
mov eax, dword [0x4be818]
mov dword [esi + 0xac], eax
mov ecx, dword [0x4be818]
mov dword [esi + 0x62c], ecx
push fcn.00484433
push 0x40bdf0
push 2
lea edx, [esi + 0x630]
push 4
push edx
mov byte [esp + 0x30], 4
call fcn.0046f834
lea ecx, [esi + 0x638]
mov byte [esp + 0x1c], 5
call section..text
lea ecx, [esi + 0x644]
mov byte [esp + 0x1c], 6
call fcn.00401760
mov eax, dword [0x4be818]
mov dword [esi + 0x650], eax
mov ecx, 0x14d
xor eax, eax
lea edi, [esi + 0xe4]
mov dword [esi], 0x49ef30
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x34], 0x1c20
mov dword [esi + 0x44], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x2c], ebx
lea edx, [esi + 0x61c]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov byte [esp + 0x1c], 8
mov dword [edx], ecx
mov dword [edx + 4], ecx
lea ecx, [esi + 0x624]
lea edx, [esp + 0x10]
push edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
call fcn.00482ecb
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push 1
push ebx
push ebx
mov dword [esi + 0x3c], eax
call edi
push ebx
push 1
push ebx
push ebx
mov dword [esi + 0x88], eax
call edi
push ebx
push 1
push ebx
push ebx
mov dword [esi + 0x10], eax
call edi
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xc], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40c199
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492f0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00427540
mov eax, dword [0x4be818]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x48], 0x49ef38
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0xa
mov ecx, dword [0x4be818]
mov dword [esi + 0xa4], ecx
mov edx, dword [0x4be818]
mov dword [esi + 0xa8], edx
mov eax, dword [0x4be818]
mov dword [esi + 0xac], eax
mov ecx, dword [0x4be818]
mov dword [esi + 0x62c], ecx
push fcn.00484433
push 0x40bdf0
push 2
lea edx, [esi + 0x630]
push 4
push edx
mov byte [esp + 0x30], 4
call fcn.0046f834
lea ecx, [esi + 0x638]
mov byte [esp + 0x1c], 5
call section..text
lea ecx, [esi + 0x644]
mov byte [esp + 0x1c], 6
call fcn.00401760
mov eax, dword [0x4be818]
mov dword [esi + 0x650], eax
mov ecx, 0x14d
xor eax, eax
lea edi, [esi + 0xe4]
mov dword [esi], 0x49ef30
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x34], 0x1c20
mov dword [esi + 0x44], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x2c], ebx
lea edx, [esi + 0x61c]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov byte [esp + 0x1c], 8
mov dword [edx], ecx
mov dword [edx + 4], ecx
lea ecx, [esi + 0x624]
lea edx, [esp + 0x10]
push edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
call fcn.00482ecb
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push 1
push ebx
push ebx
mov dword [esi + 0x3c], eax
call edi
push ebx
push 1
push ebx
push ebx
mov dword [esi + 0x88], eax
call edi
push ebx
push 1
push ebx
push ebx
mov dword [esi + 0x10], eax
call edi
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xc], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40cda0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4931e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x4be818]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x44], 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
push 0
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x18]
push eax
mov bl, 5
push ecx
mov ecx, esi
mov byte [esp + 0x54], bl
call fcn.0040c530
mov edx, dword [esi + 0xb0]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00408480
add esp, 8
mov edi, eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push 0x4b8b10
push edx
mov byte [esp + 0x50], 6
call fcn.0048473c
push 0x4b8574
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x4c], 7
push eax
call fcn.004846c8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x50], 8
call fcn.00484662
push 0x4b8544
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x4c], 9
push eax
call fcn.004846c8
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x50], 0xa
call fcn.00484662
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0xb
call fcn.0048456c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 0xa
call fcn.00484433
mov byte [esp + 0x44], 9
lea ecx, [esp + 0x20]
call fcn.00484433
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 8
call fcn.00484433
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 7
call fcn.00484433
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 6
call fcn.00484433
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], bl
call fcn.00484433
cmp dword [esi + 0xe0], 1
jne 0x40cf1d
lea edx, [esi + 0x62c]
lea eax, [esp + 0x30]
push edx
push 0x4b854c
push eax
call fcn.0048473c
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0xc
call fcn.0048484b
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], bl
call fcn.00484433
push 1
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.00403a90
push eax
push 0
lea ecx, [esp + 0x20]
call fcn.00484863
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x4c2fa0
call fcn.004841a8
mov edx, dword [esi + 0xe0]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0
push 9
push edx
push ecx
mov ecx, esi
mov byte [esp + 0x70], 0xd
call fcn.00413390
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
mov byte [esp + 0x64], bl
call fcn.0040d7f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 0xe
call fcn.0048456c
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], bl
call fcn.00484433
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.004848b2
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004841a8
mov dword [esp + 0x34], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 4
call fcn.00484433
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 3
call fcn.00484433
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 2
call fcn.00484433
lea ecx, [esp + 0x38]
mov byte [esp + 0x44], 1
call fcn.00484433
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
call fcn.00484433
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 4
Function at 0x40d020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49328f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x34], 0
mov eax, dword [0x4be818]
mov dword [esp + 0x44], 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
push 0
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x18]
push eax
mov bl, 6
push ecx
mov ecx, esi
mov byte [esp + 0x54], bl
call fcn.0040c530
mov edx, dword [esi + 0xb0]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00408480
add esp, 8
mov edi, eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push 0x4b8b10
push edx
mov byte [esp + 0x50], 7
call fcn.0048473c
push 0x4b8574
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x4c], 8
push eax
call fcn.004846c8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x50], 9
call fcn.00484662
push 0x4b8544
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x4c], 0xa
push eax
call fcn.004846c8
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x50], 0xb
call fcn.00484662
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0xc
call fcn.0048456c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 0xb
call fcn.00484433
mov byte [esp + 0x44], 0xa
lea ecx, [esp + 0x20]
call fcn.00484433
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 9
call fcn.00484433
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 8
call fcn.00484433
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 7
call fcn.00484433
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], bl
call fcn.00484433
cmp dword [esi + 0xe0], 1
jne 0x40d19d
lea edx, [esi + 0x62c]
lea eax, [esp + 0x30]
push edx
push 0x4b854c
push eax
call fcn.0048473c
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0xd
call fcn.0048484b
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], bl
call fcn.00484433
push 1
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.00403a90
push eax
push 0
lea ecx, [esp + 0x20]
call fcn.00484863
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x4c2fa0
call fcn.004841a8
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x64], 0xe
call fcn.004841a8
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
mov byte [esp + 0x64], bl
call fcn.0040d7f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 0xf
call fcn.0048456c
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], bl
call fcn.00484433
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.004848b2
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004841a8
mov dword [esp + 0x34], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 5
call fcn.00484433
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 4
call fcn.00484433
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 3
call fcn.00484433
lea ecx, [esp + 0x38]
mov byte [esp + 0x44], 2
call fcn.00484433
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 1
call fcn.00484433
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 0
call fcn.00484433
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 8
Function at 0x40dd90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push ecx
mov dword [esp + 0x20], 0
mov ecx, esp
mov dword [esp + 0xc], esp
push 0x4b84a0
call fcn.004844a1
push ecx
mov byte [esp + 0x24], 1
mov ecx, esp
mov dword [esp + 0x14], esp
push str._errorType_:_
call fcn.004844a1
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x2c], 2
call fcn.004841a8
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
push ecx
mov ecx, esi
call fcn.00427680
mov eax, dword [eax]
push str.validateCode
push eax
call fcn.0046f2f7
add esp, 8
lea ecx, [esp + 4]
test eax, eax
sete dl
and edx, 0xff
mov esi, edx
call fcn.00484433
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00484433
mov ecx, dword [esp + 0x14]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret 4
Function at 0x413140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x4be818]
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], 0
mov dword [esp + 8], eax
push 0
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.0040c530
mov edx, dword [esi + 0xe0]
push 0
push 5
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.00413390
push ecx
mov byte [esp + 0x24], 2
mov ecx, esp
mov dword [esp + 0x18], esp
push str.flag1
push eax
push ecx
call fcn.004846c8
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.0040d020
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 4
call fcn.00484433
push str._farmlandStatus_:
lea ecx, [esp + 8]
call fcn.0048241d
test eax, eax
jge 0x413245
mov eax, dword [esp + 0x28]
push 0
push eax
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004841a8
mov ecx, esi
call fcn.0040d2a0
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.00484433
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.00484433
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.00484433
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 4
mov ecx, dword [esp + 4]
lea eax, [esi + 0x90]
push eax
push ecx
mov ecx, esi
call fcn.004134a0
push eax
mov ecx, esi
call fcn.00413330
lea edx, [esi + 0xe4]
push 0
push edx
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004841a8
mov ecx, esi
call fcn.0040ef70
push eax
mov ecx, esi
call fcn.00413330
mov edx, dword [esi + 0xe0]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0
push 8
push edx
push ecx
mov ecx, esi
call fcn.00413390
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.0040d020
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x24], 5
call fcn.0048456c
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 4
call fcn.00484433
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004841a8
mov ecx, esi
call fcn.00411260
push eax
mov ecx, esi
call fcn.00413330
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.00484433
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.00484433
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.00484433
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 4
Function at 0x413390
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x493b6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x1c]
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax*8 + 0x49ee5c]
mov edx, dword [eax*8 + 0x49ee58]
mov eax, dword [esp + 0x20]
push edi
push ecx
mov dword [esp + 0x10], 0
lea ecx, [eax + edx*2]
lea eax, [esp + 0x2c]
lea edx, [ecx*4 + 0x4c2e24]
push edx
push eax
call fcn.004846c8
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], 1
call ebp
mov edx, dword [esi + 0x20]
mov edi, dword [esp + 0x2c]
sub eax, edx
cmp eax, 0xbb8
jge 0x413441
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.0046f2f7
add esp, 8
test eax, eax
jne 0x413441
cmp edi, dword [esi + 0x24]
jne 0x413441
lea edi, [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [edi], 0x14
jl 0x41345d
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [esi]
push 0x4ba85c
push 2
mov ecx, esi
call dword [edx + 4]
jmp 0x41345d
lea eax, [esp + 0x28]
lea ecx, [esi + 0x28]
push eax
mov dword [esi + 0x24], edi
call fcn.0048456c
lea ecx, [esi + 0x1c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call ebp
mov dword [esi + 0x20], eax
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call fcn.004841a8
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0
call fcn.00484433
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x41f520
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x80], ebx
je 0x41f536
pop esi
mov eax, 1
pop ebx
ret
push edi
mov ecx, esi
call fcn.0040d7c0
push eax
call fcn.0046f3a6
add esp, 4
mov ecx, esi
call fcn.0040d7c0
push 1
mov ecx, esi
mov edi, eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x7c], ebx
call fcn.00424340
push SysReAllocString
push ebx
mov ecx, esi
mov dword [esi + 0x6f4], edi
mov dword [esi + 0x708], edi
mov dword [esi + 0x6f8], edi
call fcn.00425120
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
push esi
push 0x41f610
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x41fc90
push ebx
push ebx
mov dword [esi + 0x670], eax
call edi
push ebx
push 4
push esi
push 0x41fd20
push ebx
push ebx
mov dword [esi + 0x674], eax
call edi
push ebx
push ebx
push esi
push 0x4200e0
push ebx
push ebx
mov dword [esi + 0x678], eax
call edi
mov dword [esi + 0x67c], eax
mov eax, dword [esi + 0x678]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 0x678]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [esi + 0x80], 1
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x424e10
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4958c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, ecx
push 0x400
call fcn.00484998
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.00409c20
add esp, 8
push 0x4baa5c
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x34], 0
call fcn.004846c8
lea edx, [ebx + 0x62c]
mov byte [esp + 0x28], 1
push edx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00484662
push str.UserData.ini
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x34], 2
call fcn.004846c8
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 6
call fcn.00484433
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 5
call fcn.00484433
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 4
call fcn.00484433
mov ecx, 0x100
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0xc]
push edx
push 0x400
push esi
push 0x4c2d98
push str.HowToSale
push str.CONFIG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.004844a1
mov ecx, ebx
call fcn.0041f3e0
push esi
call fcn.004849c1
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00484433
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret
Function at 0x424f20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4958f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
lea eax, [esp + 0x14]
push edi
mov esi, ecx
push eax
call fcn.00409c20
add esp, 4
push 0x4baa5c
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x30], 0
call fcn.004846c8
lea edx, [esi + 0x62c]
mov byte [esp + 0x24], 1
push edx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00484662
push str.UserData.ini
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x30], 2
call fcn.004846c8
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 6
call fcn.00484433
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 5
call fcn.00484433
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 4
call fcn.00484433
mov edx, dword [0x4be818]
mov dword [esp + 8], edx
mov ecx, dword [esi + 0x78]
mov eax, 0x96
cmp ecx, eax
mov byte [esp + 0x24], 7
jbe 0x424fdf
mov dword [esi + 0x78], eax
mov dword [esi + 0x654], 1
mov eax, dword [0x4c368c]
mov ecx, 0x12c
cmp dword [eax + 0x988], ecx
jbe 0x42500b
mov dword [eax + 0x988], ecx
mov eax, dword [0x4c368c]
mov dword [eax + 0x91c], 1
mov eax, dword [0x4c368c]
mov edx, dword [eax + 0x98c]
mov ecx, 0x64
cmp edx, ecx
jbe 0x425020
mov dword [eax + 0x98c], ecx
mov ecx, dword [esi + 0x78]
lea edx, [esp + 8]
push ecx
push 0x4b8278
push edx
call fcn.004827a3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push eax
push ecx
push str.ExpGainTimes
push str.EXPGAINLOG
call edi
mov ecx, esi
call fcn.0040d7c0
push eax
lea edx, [esp + 0xc]
push 0x4b8278
push edx
mov dword [esi + 0x40], eax
call fcn.004827a3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esp, 0xc
push eax
push ecx
push str.LastActionTime
push str.EXPGAINLOG
call edi
mov edx, dword [0x4c368c]
lea ecx, [esp + 8]
mov eax, dword [edx + 0x988]
push eax
push 0x4b8278
push ecx
call fcn.004827a3
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add esp, 0xc
push edx
push eax
push str.McExpGain
push str.EXPGAINLOG
call edi
mov ecx, dword [0x4c368c]
lea eax, [esp + 8]
mov edx, dword [ecx + 0x98c]
push edx
push 0x4b8278
push eax
call fcn.004827a3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 0xc
push ecx
push edx
push str.FecesCnt
push str.EXPGAINLOG
call edi
lea ecx, [esp + 8]
mov byte [esp + 0x24], 4
call fcn.00484433
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00484433
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x427e90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x495ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x3c]
test eax, eax
jne 0x427f3a
mov eax, dword [0x4be818]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00484863
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004848b2
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0048480f
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x427f21
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x427f21
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x3c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00484433
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x42b270
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4962d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x42b31a
mov eax, dword [0x4be818]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00484863
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004848b2
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0048480f
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42b301
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x42b301
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x64], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00484433
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x42b330
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42b392
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc