joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e0250
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644be1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x661f3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.005dce90
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x5e0306
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x21]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
lea ecx, [ebp - 0x20]
call fcn.005aee30
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
push 0
lea ecx, [ebp - 0x20]
call fcn.005aef10
push eax
mov ecx, dword [ebp + 0xc]
call fcn.005dce90
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0
lea ecx, [ebp - 0x20]
call fcn.005aef10
push eax
mov ecx, dword [ebp + 8]
call fcn.00590390
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.005aeeb0
mov eax, dword [ebp + 8]
jmp 0x5e0325
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.005a56d0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x5e0770
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644ce1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x661f3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x5e0818
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.005aee30
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x20]
call fcn.005aef10
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
lea ecx, [ebp - 0x20]
call fcn.005aef10
push eax
mov ecx, dword [ebp + 8]
call fcn.00590390
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.005aeeb0
mov eax, dword [ebp + 8]
jmp 0x5e0833
mov ecx, dword [ebp + 8]
call fcn.005a4bb0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5e1290
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644f71
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x661f3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
push 0xe
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.005aee30
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x20]
call fcn.005aef10
push eax
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0xd
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
lea ecx, [ebp - 0x20]
call fcn.005aef10
push eax
mov ecx, dword [ebp + 8]
call fcn.00590390
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.005aeeb0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5f23a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x646e80
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x661f3c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0
push 0x665d14
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
mov dword [esi], 0x665df8
call fcn.005a7850
mov byte [esp + 0x38], 1
call fcn.005f1574
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov byte [esp + 0x38], 0
call fcn.005a7920
mov dword [esi], 0x665e1c
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x5fa520
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x647ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x661f3c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0x661f3c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
cmp dword [edi + 0x14], 8
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
jb 0x5fa56f
mov eax, dword [edi]
jmp 0x5fa571
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x5fa591
push esi
push edi
push ebx
call fcn.005f8590
add esp, 0xc
jmp 0x5fa6c5
test eax, 0x400
je 0x5fa693
cmp dword [edi + 0x14], 8
jb 0x5fa5a6
mov edx, dword [edi]
jmp 0x5fa5a8
mov edx, edi
xor eax, eax
mov word [esp + 0x20], ax
mov ebx, 7
mov eax, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5fa5c5
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.005b2240
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], 0
jae 0x5fa5f6
lea eax, [esp + 0x20]
push 0
push 0x2000000
push 3
push 0
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x34], 8
mov byte [esp + 0x48], 2
jb 0x5fa62a
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005fd6c6
add esp, 4
mov dword [esp + 0x34], ebx
xor edx, edx
or ebx, 0xffffffff
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
cmp esi, ebx
jne 0x5fa65b
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push eax
push edi
push esi
call fcn.005f8590
add esp, 0xc
mov eax, esi
jmp 0x5fa6c7
push edi
call fcn.005f6820
add esp, 4
mov dword [esp + 0x48], ebx
push esi
test al, al
jne 0x5fa681
mov edi, dword [esp + 0x18]
mov dword [edi], 9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x5fa6c7
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test esi, esi
je 0x5fa6a9
mov dword [esi], 0
call fcn.005fc8c0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
test al, 0x10
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 3
jne 0x5fa6c1
mov dword [esp + 0x10], 2
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005fdbce
add esp, 0x3c
ret
Function at 0x5fa6f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x14], 8
jb 0x5fa701
mov eax, dword [edi]
jmp 0x5fa703
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5fa72a
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push eax
push edi
push esi
call fcn.005f8590
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov esi, dword [esp + 0x18]
test esi, esi
je 0x5fa740
mov dword [esi], 0
call fcn.005fc8c0
mov dword [esi + 4], eax
test ebx, 0x400
je 0x5fa775
push edi
call fcn.005f6820
add esp, 4
test al, al
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
jne 0x5fa769
mov dword [esp + 0x14], 9
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
ret
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 3
test bl, 0x10
jne 0x5fa78e
mov dword [esp + 0x14], 2
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], edx
pop ebx
ret

Function at 0x5fdbce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x661f3c]
jne 0x5fdbd8
repz ret
jmp fcn.00607e6c
Function at 0x615e6a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x661f3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0060785c
and dword [ebp - 0x14], 0
cmp dword [0x67e270], 0
mov dword [ebp - 0x18], eax
jne 0x615f1d
push 0x669328
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x615fc5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x665778
push ebx
call edi
test eax, eax
je 0x615fc5
mov esi, dword [0x663390]
push eax
call esi
push 0x669318
push ebx
mov dword [0x67e270], eax
call edi
push eax
call esi
push 0x669304
push ebx
mov dword [0x67e274], eax
call edi
push eax
call esi
push 0x6692e8
push ebx
mov dword [0x67e278], eax
call edi
push eax
call esi
mov dword [0x67e280], eax
test eax, eax
je 0x615f1d
push 0x6692d0
push ebx
call edi
push eax
call esi
mov dword [0x67e27c], eax
mov eax, dword [0x67e27c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x663394]
cmp eax, ecx
je 0x615f76
cmp dword [0x67e280], ecx
je 0x615f76
push eax
call esi
push dword [0x67e280]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x615f76
test ebx, ebx
je 0x615f76
call edi
test eax, eax
je 0x615f6d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x615f6d
test byte [ebp - 8], 1
jne 0x615f76
or dword [ebp + 0x10], 0x200000
jmp 0x615fa9
mov eax, dword [0x67e274]
cmp eax, dword [ebp - 0x18]
je 0x615fa9
push eax
call esi
test eax, eax
je 0x615fa9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x615fa9
mov eax, dword [0x67e278]
cmp eax, dword [ebp - 0x18]
je 0x615fa9
push eax
call esi
test eax, eax
je 0x615fa9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x67e270]
call esi
test eax, eax
je 0x615fc5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x615fc7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fdbce
leave
ret
Function at 0x6233b8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x62343d
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.005fdfe0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x623400
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x623422
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x623498
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.00623108
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x623484
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x623498
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x6233c1
pop esi
pop ebx
leave
ret
Function at 0x407500
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebp, ebp
mov ebx, ecx
push edi
mov byte [ebx + 0x1a0], 1
mov dword [esp + 0x10], ebp
xor edi, edi
push edi
call dword [sym.imp.GameFrame.dll_GFGetOrderUser]
add esp, 4
mov dword [esp + 0x14], eax
call fcn.00401010
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0xc]
call fcn.00401840
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x10]
je 0x407554
add eax, 0x10
je 0x407554
cmp dword [eax + 0xc], 1
jne 0x407554
inc ebp
inc edi
cmp edi, 6
jl 0x407518
cmp ebp, 1
mov dword [esp + 0x10], ebp
jne 0x407572
mov ecx, ebx
call fcn.004031f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [ebx + 0x214]
lea esi, [ebx + 0x210]
xor ebp, ebp
cmp eax, ebp
je 0x40758d
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esp + 0x14], ebp
lea ebx, [ebx]
push ebp
call dword [sym.imp.GameFrame.dll_GFGetOrderUser]
add esp, 4
mov dword [esp + 0x18], eax
call fcn.00401010
mov edi, eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0xc]
call fcn.00401840
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi + 0x10]
je 0x407625
add eax, 0x10
je 0x407625
cmp dword [eax + 0xc], 1
je 0x4075e3
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x407625
mov edx, dword [esi + 4]
test edx, edx
jne 0x4075ee
xor ecx, ecx
jmp 0x4075f6
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x407613
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x407613
mov eax, dword [esi + 8]
mov dword [eax], ebp
add eax, 4
mov dword [esi + 8], eax
jmp 0x407625
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, esi
call fcn.004045b0
inc ebp
cmp ebp, 6
mov dword [esp + 0x14], ebp
jl 0x4075a0
mov eax, dword [esp + 0x10]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, 2
jne 0x407652
mov dword [ebx + 0x238], 1
jmp 0x407658
mov dword [ebx + 0x238], edi
call esi
add eax, 0x7d0
mov dword [ebx + 0x23c], eax
mov dword [ebx + 0x204], edi
call esi
mov edx, dword [ebx + 0x214]
mov ecx, dword [ebx + 0x20]
push 0
push 0xc8
mov dword [ebx + 0x208], eax
mov eax, dword [edx]
push edi
push ecx
mov dword [ebx + 0x20c], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebx + 0x20]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x408c90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x415973
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.00410600
xor eax, eax
mov dword [esi], 0x417f68
mov dword [esp + 0x10], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
push 1
mov ecx, esi
mov byte [esp + 0x14], 1
call fcn.00408920
or eax, 0xffffffff
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
xor eax, eax
lea ecx, [esi + 0x44]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
push 0x408a10
mov word [ecx + 0x1c], ax
push 0x7008
mov ecx, esi
call fcn.00410540
push 0x4089b0
push 0x7010
mov ecx, esi
call fcn.00410540
push 0x408670
push 0x7011
mov ecx, esi
call fcn.00410540
push 0x407950
push 0x7012
mov ecx, esi
call fcn.00410540
push 0x408710
push 0x7013
mov ecx, esi
call fcn.00410540
push 0x408e30
push 0x7014
mov ecx, esi
call fcn.00410540
push 0x407a30
push 0x7015
mov ecx, esi
call fcn.00410540
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4093c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x415989
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::StringLength]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [0x4171c0]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x409460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4159c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x417504]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x4094e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4159c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x417504]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x409560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4159c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x40cf20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x415e22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x41d2c0]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x40], eax
push str._global_
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
push str..custom_
push ecx
mov dword [esp + 0x58], 0
call fcn.004094e0
add esp, 0xc
lea ecx, [esp + 8]
mov byte [esp + 0x4c], 1
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.00410900
add esp, 4
push str.douniu.ini
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [esp + 8]
mov byte [esi + 0x28], 1
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.hidebscard
push str.DouNiu
call edi
dec eax
neg eax
sbb al, al
inc al
lea ecx, [esp + 8]
mov byte [esi + 0x29], al
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 2
push str.skin
push str.DouNiu
call edi
lea ecx, [esp + 8]
mov dword [esi + 0x2c], eax
mov byte [esp + 0x4c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x44]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3c]
pop esi
call fcn.00414c31
add esp, 0x48
ret