joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441db1
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0xffffffff
jne 0x441de8
call fcn.00441c10
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x10], eax
jne 0x441de8
xor al, al
pop esi
pop ecx
ret
lea eax, [esi + 0x18]
push eax
call fcn.00441bb0
mov ecx, eax
call fcn.00441a00
mov eax, dword [esi + 0x20]
test eax, eax
je 0x441ebc
mov eax, dword [esi + 0x1c]
push ebx
mov dword [esp + 8], 0
mov ebx, dword [eax]
cmp ebx, eax
je 0x441e7e
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetLastError]
push edi
lea ecx, [ecx]
mov edi, dword [ebx + 8]
mov edx, dword [edi]
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x10]
push edx
lea eax, [edi + 4]
push eax
push ecx
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x441e69
mov edx, dword [edi]
mov eax, dword [esi + 0x10]
push edx
push eax
call ebp
push eax
push 0x4defe0
push 0x5f
push 0x4dedd8
push str.CLogSaveThread::WriteLog
push 5
push 0x50ef58
call fcn.00408780
add esp, 0x24
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x10]
add edx, ecx
mov dword [esi + 0x14], edx
mov ebx, dword [ebx]
cmp ebx, dword [esi + 0x1c]
jne 0x441e20
pop edi
pop ebp
lea eax, [esi + 0x18]
push eax
call fcn.00441bb0
mov ecx, eax
call fcn.00441a90
cmp dword [esi + 0x14], 0x3200000
pop ebx
jbe 0x441ebc
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x441eae
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esi + 0x10], 0xffffffff
mov ecx, esi
call fcn.00441000
mov dword [esi + 0x14], 0
mov al, 1
pop esi
pop ecx
ret
Function at 0x449e4b
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d07e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebp
push esi
mov esi, dword [esp + 0x3c]
mov eax, dword [esi + 0xc]
xor ebp, ebp
push ebp
push eax
lea ecx, [esp + 0x14]
call fcn.00459fc0
mov eax, dword [esp + 0xc]
cmp eax, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 8], eax
je 0x449e2b
mov ecx, dword [eax + 0x50]
cmp ecx, ebp
mov dword [esp + 0x3c], ecx
je 0x449df6
mov eax, dword [ecx + 0x20]
cmp dword [esi + 0x16], eax
jne 0x449df8
push ebx
xor ebx, ebx
cmp word [esi + 0x1a], bp
push edi
jbe 0x449da5
lea edi, [esi + 0x20]
lea ebx, [ebx]
xor edx, edx
mov dl, byte [edi]
xor eax, eax
mov ax, word [edi - 2]
lea ecx, [edi + 1]
push ecx
lea ecx, [esp + 0x20]
push edx
push eax
call fcn.0046ed40
mov ecx, dword [esp + 0x44]
lea edx, [ecx + ebp + 0x3e8]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [edx + 0x10], eax
movzx ecx, word [esi + 0x1a]
add ebx, 0xd
add edi, 0xd
add ebp, 0x14
cmp ebx, ecx
jl 0x449d50
mov ecx, dword [esp + 0x44]
movzx edx, word [esi + 0x1a]
movzx eax, word [esi + 0x1c]
add edx, eax
cmp ebx, edx
jge 0x449de1
xor eax, eax
jmp 0x449dc0
mov dx, word [esi + ebx + 0x1e]
mov word [eax + ecx + 0x320], dx
movzx edx, word [esi + 0x1a]
movzx edi, word [esi + 0x1c]
add ebx, 2
add edx, edi
add eax, 2
cmp ebx, edx
jl 0x449dc0
mov eax, dword [esp + 0x10]
push ecx
add eax, 0x40
push eax
call fcn.004822d0
add esp, 8
pop edi
pop ebx
jmp 0x449e5a
xor eax, eax
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x16]
push edx
push ecx
mov ecx, dword [esi + 0x12]
push eax
push ecx
push str.UID:_d_CID:0x_08x_0x_p__RequestKey:_d_CharacterCID:0x_08x__Invalid_CID
push 0x4a5
push 0x4e0738
push str.DBAgentPacketParse::ParseQuestDB
push 5
push 0x50ef58
call fcn.00408780
add esp, 0x2c
jmp 0x449e5a
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x16]
mov ecx, dword [esi + 0x12]
push edx
push eax
push ecx
push str.UID:_d_CID:0x_08x_RequestKey:_d__DBRequest_Failed___Requestkey_is_invalid
push 0x4ab
push 0x4e0738
push str.DBAgentPacketParse::ParseQuestDB
push 5
push 0x50ef58
call fcn.00408780
add esp, 0x24
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00458fc0
mov ecx, dword [esp + 0x28]
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x44a190
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d0808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
call fcn.00449290
push eax
lea ecx, [esp + 8]
call fcn.00442da0
mov eax, dword [esp + 4]
test eax, eax
mov dword [esp + 0x14], 0
je 0x44a24c
lea esi, [eax + 0x40]
push 0x3c
mov ecx, esi
call fcn.004427d0
test eax, eax
je 0x44a24c
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov ecx, dword [0x53d974]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
push ebx
push 0
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x28]
push 0
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x28]
push 0x26
mov dword [eax + 0x1c], ecx
push 0x3c
mov ecx, esi
mov dword [eax + 0x18], edx
mov word [eax + 0x2a], 5
mov dword [eax + 0x20], 0
call fcn.004428f0
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x18], 0xffffffff
call fcn.00442b40
mov al, bl
pop ebx
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
je 0x44a259
mov eax, dword [ecx + 0x54]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
push str.UID:_d_CID:0x_08x_DP:0x_p_RequestKey:_d_DPUID:_d_DBRequest_Failed___Login_failed._But_cannot_send_abnormal_logout_packet
push 0x59
push 0x4e0738
push str.DBAgentPacketParse::SendAbnormalLogout
push 5
push 0x50ef58
call fcn.00408780
add esp, 0x2c
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00442b40
mov ecx, dword [esp + 0xc]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x451630
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d0abb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea eax, [esi + 4]
push eax
mov dword [esp + 0xc], esi
mov dword [esi], 0x4e1dbc
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
xor edi, edi
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x24]
push 0x14
mov dword [esp + 0x18], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], eax
call fcn.004bd944
add esp, 4
cmp eax, edi
je 0x4516ce
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], 0x8000
mov dword [eax + 0x10], 0x20
mov dword [esi + 0x4c], eax
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x4c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x4519b0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x204
mov eax, dword [0x50db60]
push esi
push edi
mov dword [esp + 0x208], eax
push 0x200
mov esi, ecx
mov ecx, dword [esi + 0x30]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, eax
test edi, edi
jle 0x451a2c
mov ecx, dword [esi + 0x48]
push ebx
push edi
lea edx, [esp + 0x10]
push edx
call fcn.004432a0
mov ebx, eax
test ebx, ebx
je 0x451a0d
push edi
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00451850
mov ecx, dword [esi + 0x44]
push ebx
call fcn.004049b0
jmp 0x451a2b
mov eax, str.Cant_recognize_command._Please_reinput.
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451a15
sub eax, edx
push eax
push str.Cant_recognize_command._Please_reinput.
mov ecx, esi
call fcn.00451850
pop ebx
mov ecx, dword [esi + 0x30]
push 0x4ff603
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [esp + 0x208]
pop edi
pop esi
call fcn.004bff5b
add esp, 0x204
ret

Function at 0x459d30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d0d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push edi
push ebx
mov dword [esp + 0x10], ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0xc]
lea ecx, [ebx + 0x20]
push edx
mov dword [esp + 0x30], 0
call fcn.00459260
mov edi, dword [esp + 8]
cmp edi, dword [ebx + 0x24]
je 0x459df9
push ebp
push esi
lea eax, [edi + 0x10]
mov esi, dword [eax]
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x30]
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [edi + 0xc]
mov edx, dword [esi + 4]
push ebp
push ecx
push eax
push esi
push edx
push str.SS:0x_p_DP:0x_p_IP:_15s_Request:_d_DstDP:0x_p_Request_Removed_By_Pop_Request_
push 0x108
push 0x4e2b40
push str.CServerRequest::PopRequest
push 3
push 0x50ef58
call fcn.00408780
add esp, 0x2c
push edi
lea eax, [esp + 0x3c]
push eax
lea ecx, [ebx + 0x20]
call fcn.00459680
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x466a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov edx, dword [esp + 0x38]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x4c]
lea eax, [edx + edx + 2]
cmp eax, edi
mov dword [esp + 0x48], edx
jge 0x466b58
lea ecx, [eax + eax*2]
lea ecx, [esi + ecx*8]
lea ebx, [ecx - 0x14]
mov ebp, dword [ebx]
mov dword [esp + 0x2c], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x30], ebp
mov ebp, dword [ebx + 8]
add ecx, 4
mov dword [esp + 0x34], ebp
mov ebp, dword [ebx + 0xc]
mov bx, word [ebx + 0x10]
mov word [esp + 0x3c], bx
mov ebx, dword [ecx]
mov dword [esp + 0x14], ebx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x18], ebx
mov ebx, dword [ecx + 8]
mov dword [esp + 0x1c], ebx
mov ebx, dword [ecx + 0xc]
mov cx, word [ecx + 0x10]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x2c]
mov word [esp + 0x24], cx
mov ecx, dword [esp + 0x14]
shr ecx, 8
shr ebx, 8
cmp cl, bl
mov dword [esp + 0x38], ebp
jae 0x466b1a
dec eax
lea ecx, [eax + eax*2]
mov ebx, dword [esi + ecx*8]
lea ecx, [esi + ecx*8]
lea edx, [edx + edx*2]
mov dword [esi + edx*8], ebx
mov ebx, dword [ecx + 4]
lea edx, [esi + edx*8]
mov dword [edx + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [edx + 8], ebx
mov ebx, dword [ecx + 0xc]
mov dword [edx + 0xc], ebx
mov ebx, dword [ecx + 0x10]
mov dword [edx + 0x10], ebx
mov ecx, dword [ecx + 0x14]
mov dword [edx + 0x14], ecx
mov edx, eax
lea eax, [eax + eax + 2]
cmp eax, edi
jl 0x466ab3
jne 0x466b8f
lea ecx, [edx + edx*2]
lea ecx, [esi + ecx*8]
lea eax, [edi + edi*2]
mov edx, dword [esi + eax*8 - 0x18]
mov dword [ecx], edx
mov edx, dword [esi + eax*8 - 0x14]
lea eax, [esi + eax*8 - 0x18]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x14], eax
lea edx, [edi - 1]
mov ecx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x54]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x64]
push eax
push edx
push esi
call fcn.00466620
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x466c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov edx, dword [esp + 0x38]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x4c]
lea eax, [edx + edx + 2]
cmp eax, edi
mov dword [esp + 0x48], edx
jge 0x466d38
lea ecx, [eax + eax*2]
lea ecx, [esi + ecx*8]
lea ebx, [ecx - 0x14]
mov ebp, dword [ebx]
mov dword [esp + 0x2c], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x30], ebp
mov ebp, dword [ebx + 8]
add ecx, 4
mov dword [esp + 0x34], ebp
mov ebp, dword [ebx + 0xc]
mov bx, word [ebx + 0x10]
mov word [esp + 0x3c], bx
mov ebx, dword [ecx]
mov dword [esp + 0x14], ebx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x18], ebx
mov ebx, dword [ecx + 8]
mov dword [esp + 0x1c], ebx
mov ebx, dword [ecx + 0xc]
mov cx, word [ecx + 0x10]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x2c]
mov word [esp + 0x24], cx
mov ecx, dword [esp + 0x14]
shr ecx, 8
shr ebx, 8
cmp cl, bl
mov dword [esp + 0x38], ebp
jae 0x466cfa
dec eax
lea ecx, [eax + eax*2]
mov ebx, dword [esi + ecx*8]
lea ecx, [esi + ecx*8]
lea edx, [edx + edx*2]
mov dword [esi + edx*8], ebx
mov ebx, dword [ecx + 4]
lea edx, [esi + edx*8]
mov dword [edx + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [edx + 8], ebx
mov ebx, dword [ecx + 0xc]
mov dword [edx + 0xc], ebx
mov ebx, dword [ecx + 0x10]
mov dword [edx + 0x10], ebx
mov ecx, dword [ecx + 0x14]
mov dword [edx + 0x14], ecx
mov edx, eax
lea eax, [eax + eax + 2]
cmp eax, edi
jl 0x466c93
jne 0x466d6f
lea ecx, [edx + edx*2]
lea ecx, [esi + ecx*8]
lea eax, [edi + edi*2]
mov edx, dword [esi + eax*8 - 0x18]
mov dword [ecx], edx
mov edx, dword [esi + eax*8 - 0x14]
lea eax, [esi + eax*8 - 0x18]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x14], eax
lea edx, [edi - 1]
mov ecx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x54]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x64]
push eax
push edx
push esi
call fcn.00466700
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x467240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x60
push edi
mov edi, dword [esp + 0x68]
cmp edi, eax
je 0x467375
push esi
lea esi, [edi + 0x18]
cmp esi, eax
je 0x467374
push ebx
push ebp
lea eax, [edi + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov word [esp + 0x3c], ax
lea eax, [esi + 4]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 0xc]
mov cx, word [ecx + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
mov word [esp + 0x24], cx
mov ecx, dword [esp + 0x2c]
shr edx, 8
shr ecx, 8
cmp dl, cl
jae 0x4672e0
cmp edi, esi
lea eax, [esi + 0x18]
je 0x467363
cmp esi, eax
je 0x467363
push 0
push 0
push eax
push esi
push edi
jmp 0x46735b
mov ebx, dword [eax]
mov dword [esp + 0x44], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0x48], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x4c], ebx
mov ebx, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov word [esp + 0x54], ax
mov al, byte [esp + 0x45]
mov edx, esi
mov ecx, esi
mov dword [esp + 0x50], ebx
lea esp, [esp]
sub ecx, 0x18
lea ebx, [ecx + 4]
mov ebp, dword [ebx]
mov dword [esp + 0x5c], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x60], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0x64], ebp
mov ebp, dword [ebx + 0xc]
mov bx, word [ebx + 0x10]
mov word [esp + 0x6c], bx
mov ebx, dword [esp + 0x5c]
shr ebx, 8
cmp al, bl
mov dword [esp + 0x68], ebp
jae 0x467349
mov edx, ecx
jmp 0x467310
cmp edx, esi
je 0x467363
lea eax, [esi + 0x18]
cmp esi, eax
je 0x467363
push 0
push 0
push eax
push esi
push edx
call fcn.00466800
add esp, 0x14
mov eax, dword [esp + 0x78]
add esi, 0x18
cmp esi, eax
jne 0x467262
pop ebp
pop ebx
pop esi
pop edi
add esp, 0x60
ret
Function at 0x476020
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push esi
call fcn.0043d6d0
cmp byte [eax + 0x12a], 1
je 0x47609f
call fcn.0043d6d0
cmp byte [eax + 0x12b], 1
je 0x47609f
mov esi, dword [esp + 0x1c]
xor eax, eax
cmp esi, 2
jb 0x47604d
xor esi, esi
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax*4 + 0x4e7588]
jb 0x476062
inc eax
cmp eax, 6
jb 0x476051
jmp 0x476072
test eax, eax
jbe 0x476072
inc eax
push 0
push eax
call fcn.0045e340
add esp, 8
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*2]
lea edx, [eax + eax*2]
lea eax, [edx*4 + 0x4e74c8]
mov ecx, eax
mov esi, dword [ecx]
mov eax, dword [esp + 0x18]
mov edx, eax
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
pop esi
add esp, 0x10
ret
push edi
push 0
push 2
call fcn.0045e340
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.kernel32.dll_GetTickCount]
lea eax, [eax + edx*2]
lea eax, [eax + eax*2]
lea ecx, [eax*4 + 0x4e7558]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
add esp, 8
push 0
push 0x14
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
call edi
push eax
call fcn.0045e410
sub eax, 0xa
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
add esp, 0xc
push 0
push 0x14
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
call edi
push eax
call fcn.0045e410
mov edx, dword [esp + 0x18]
add esp, 0xc
sub eax, 0xa
mov dword [esp + 8], eax
fild dword [esp + 8]
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov dword [ecx], edx
fadd dword [esp + 0x14]
mov dword [ecx + 4], esi
pop edi
pop esi
fstp dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov dword [ecx + 8], edx
add esp, 0x10
ret

Function at 0x47e0a6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d1703
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x4daba8
lea ecx, [esi + 0x10]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call fcn.00457f60
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov al, byte [esp + 0x28]
mov dword [esi + 0x28], ecx
mov cl, byte [esp + 0x2c]
mov dword [esi + 0x2c], edx
mov dl, byte [esp + 0x30]
mov byte [esi + 0x30], al
mov al, byte [esp + 0x34]
mov dword [esi], 0x4efc58
mov byte [esi + 0x31], cl
mov byte [esi + 0x32], dl
mov byte [esi + 0x33], al
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov byte [esi + 0x24], 0xc
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x484a10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
xor esi, esi
test eax, eax
jle 0x484a78
movzx eax, word [esp + 0x10]
movzx ecx, byte [esp + 0x14]
push ebx
lea eax, [eax + eax*4]
shl eax, 1
add ecx, eax
push ebp
push edi
lea edi, [ecx + ecx*4]
movzx ecx, byte [esp + 0x24]
add ecx, eax
lea ebp, [ecx + ecx*4]
mov ecx, dword [esp + 0x14]
shl edi, 3
shl ebp, 3
xor edx, edx
mov eax, esi
mov ebx, 0x28
div ebx
mov bl, byte [ecx]
mov al, byte [edx + edi + 0x4f7750]
xor bl, al
mov byte [ecx], bl
mov dl, byte [edx + ebp + 0x4f7750]
mov al, bl
xor dl, al
mov eax, dword [esp + 0x18]
mov byte [ecx], dl
inc ecx
inc esi
cmp esi, eax
jl 0x484a46
pop edi
pop ebp
pop ebx
pop esi
ret 0x14

Function at 0x484a80
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
xor esi, esi
test eax, eax
jle 0x484ae8
movzx eax, word [esp + 0x10]
movzx ecx, byte [esp + 0x18]
push ebx
lea eax, [eax + eax*4]
shl eax, 1
add ecx, eax
push ebp
push edi
lea edi, [ecx + ecx*4]
movzx ecx, byte [esp + 0x20]
add ecx, eax
lea ebp, [ecx + ecx*4]
mov ecx, dword [esp + 0x14]
shl edi, 3
shl ebp, 3
xor edx, edx
mov eax, esi
mov ebx, 0x28
div ebx
mov bl, byte [ecx]
mov al, byte [edx + edi + 0x4f7750]
xor bl, al
mov byte [ecx], bl
mov dl, byte [edx + ebp + 0x4f7750]
mov al, bl
xor dl, al
mov eax, dword [esp + 0x18]
mov byte [ecx], dl
inc ecx
inc esi
cmp esi, eax
jl 0x484ab6
pop edi
pop ebp
pop ebx
pop esi
ret 0x14

Function at 0x484c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
test ebp, ebp
jle 0x484c7b
movzx eax, word [esp + 0x14]
movzx ecx, byte [esp + 0x18]
lea eax, [eax + eax*4]
push ebx
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x10]
push edi
lea edi, [eax + eax*4]
shl edi, 3
jmp 0x484c50
xor edx, edx
mov eax, esi
mov ebx, 0x28
div ebx
mov al, byte [ecx]
mov dl, byte [edx + edi + 0x4f7750]
xor dl, al
mov al, dl
sar al, 7
and al, 1
shl dl, 1
or al, dl
mov byte [ecx], al
inc ecx
inc esi
cmp esi, ebp
jl 0x484c50
pop edi
pop ebx
pop esi
pop ebp
ret 0x10

Function at 0x484c80
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push edi
xor edi, edi
test eax, eax
jle 0x484cdb
movzx eax, word [esp + 0x10]
movzx ecx, byte [esp + 0x14]
push ebx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
push ebp
lea ebx, [eax + eax*4]
push esi
mov esi, dword [esp + 0x14]
shl ebx, 3
mov al, byte [esi]
mov cl, al
sar cl, 1
shl al, 7
and cl, 0x7f
or cl, al
xor edx, edx
mov eax, edi
mov ebp, 0x28
div ebp
mov eax, dword [esp + 0x18]
mov byte [esi], cl
mov dl, byte [edx + ebx + 0x4f7750]
xor dl, cl
mov byte [esi], dl
inc esi
inc edi
cmp edi, eax
jl 0x484ca8
pop esi
pop ebp
pop ebx
pop edi
ret 0x10
Function at 0x492e20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
mov dword [ecx], 0xffffffff
jbe 0x492e63
mov edx, dword [esp + 8]
push ebx
push edi
lea esp, [esp]
mov eax, dword [ecx]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [edi*4 + 0x50bab8]
shr eax, 8
xor eax, ebx
inc edx
dec esi
mov dword [ecx], eax
jne 0x492e40
pop edi
pop ebx
mov eax, dword [ecx]
not eax
mov dword [ecx], eax
xor eax, eax
pop esi
ret

Function at 0x492e70
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push 0
push ecx
push edx
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
ret

Function at 0x4947a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x14]
push eax
call fcn.00494730
add esp, 4
test ax, ax
mov dword [esp + 4], eax
jle 0x49487b
mov al, byte [esp + 0x18]
push ebx
xor ecx, ecx
xor bl, bl
test al, al
jbe 0x49487a
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
push esi
lea esp, [esp]
movzx ax, byte [esp + 0x2c]
cmp cx, ax
jae 0x494877
movzx edx, bl
movzx eax, byte [edx + ebp]
dec eax
cdq
mov esi, 5
idiv esi
test bl, bl
lea esi, [eax + 1]
movsx eax, dx
movsx edx, word [esp + 0x14]
lea eax, [edx + eax*4]
jne 0x49481b
mov dx, word [eax*2 + str.OSXX]
jmp 0x494823
mov dx, word [eax*2 + 0x50c056]
mov word [esp + 0x10], dx
mov eax, dword [esp + 0x10]
and eax, 0xffffffc0
imul eax, esi
xor edx, edx
mov dl, byte [esp + 0x10]
and edx, 0x3f
xor eax, edx
movzx edx, cx
mov word [esp + 0x10], ax
mov word [edi + edx*2], ax
mov al, byte [esp + 0x10]
and al, 0x3f
inc ecx
cmp al, 4
jne 0x494869
mov edx, dword [esp + 0x10]
and edx, 0xffc3
movzx eax, cx
or edx, 3
mov word [edi + eax*2], dx
inc ecx
mov al, byte [esp + 0x28]
inc bl
cmp bl, al
jb 0x4947e0
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret