joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c22f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d421d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.004c4317
mov esi, eax
add esp, 4
test esi, esi
je 0x5c2390
push 1
mov dword [ebp - 4], 0
call fcn.00490fa9
add esp, 4
mov dword [esi + 4], eax
jmp 0x5c2392
xor esi, esi
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00478df0
mov eax, dword [edi + 0xc]
mov dword [edi + 0x38], 0xffffffff
mov byte [edi + 0x3c], 0
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [edi + 0x10]
mov dword [eax], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test esi, 1
mov dword [edi], vtable.Poco::Base64DecoderBuf.0
mov dword [edi + 0x40], esi
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov eax, dword [ecx]
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], 0x67be48
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x38]
mov ecx, 0x67bc40
mov dword [edi + 0x50], eax
mov eax, 0x67bd48
cmove eax, ecx
mov ecx, 0x67be48
mov dword [edi + 0x54], eax
call fcn.004b4a00
test esi, 1
je 0x5c2485
cmp byte [0x67bd41], 0
jne 0x5c24d1
push 0x100
push 0xff
push 0x67bd48
call fcn.004cf790
add esp, 0xc
xor ecx, ecx
movzx eax, byte [ecx + 0x654df8]
mov byte [eax + 0x67bd48], cl
inc ecx
cmp ecx, 0x40
jb 0x5c2462
mov byte [0x67bd85], 0
mov byte [0x67bd41], 1
jmp 0x5c24d1
cmp byte [0x67bd40], 0
jne 0x5c24d1
push 0x100
push 0xff
push 0x67bc40
call fcn.004cf790
add esp, 0xc
xor eax, eax
nop word [eax + eax]
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ecx + 0x67bc40], al
inc eax
cmp eax, 0x40
jb 0x5c24b0
mov byte [0x67bc7d], 0
mov byte [0x67bd40], 1
lea ecx, [ebp + 0xc]
call fcn.004b4660
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x5c2a70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.004c4317
mov edi, eax
add esp, 4
test edi, edi
je 0x5c2b10
push 1
mov dword [ebp - 4], 0
call fcn.00490fa9
add esp, 4
mov dword [edi + 4], eax
jmp 0x5c2b12
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.00478df0
mov eax, dword [esi + 0xc]
mov dword [esi + 0x38], 0xffffffff
mov byte [esi + 0x3c], 0
mov ecx, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
pop edi
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov dword [esi], vtable.Poco::HexBinaryEncoderBuf.0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0x48
mov dword [esi + 0x48], 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x38]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x4c], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.004c4317
mov edi, eax
add esp, 4
test edi, edi
je 0x5c30b0
push 1
mov dword [ebp - 4], 0
call fcn.00490fa9
add esp, 4
mov dword [edi + 4], eax
jmp 0x5c30b2
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.00478df0
mov eax, dword [esi + 0xc]
mov dword [esi + 0x38], 0xffffffff
mov byte [esi + 0x3c], 0
mov ecx, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
pop edi
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov dword [esi], vtable.Poco::HexBinaryDecoderBuf.0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x38]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5c3870
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5c389d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5c389d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x5c4776
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004c4b70
mov eax, dword [0x671580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004ed27b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x5c47b8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x5c4914
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004c4ba0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x679a80]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004fb11f
mov ecx, dword [esi*4 + 0x679a80]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x5c490d
cmp eax, dword [ecx + edi + 0x24]
jne 0x5c490d
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5c490d
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004fb11f
add esp, 0x14
test edx, edx
jl 0x5c490d
jg 0x5c4883
test eax, eax
jb 0x5c490d
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x5c490d
jl 0x5c489d
cmp dword [ebp - 0x1008], eax
ja 0x5c490d
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x5c48bb
test ebx, ebx
je 0x5c48f4
cmp ecx, edi
jae 0x5c48f4
mov al, byte [ecx]
cmp al, 0xd
jne 0x5c48d5
lea eax, [edi - 1]
cmp ecx, eax
jae 0x5c48e1
cmp byte [ecx + 1], 0xa
jne 0x5c48e1
inc ecx
jmp 0x5c48e1
movzx eax, al
movsx eax, byte [eax + 0x671f50]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x5c48bb
cmp edx, ebx
jne 0x5c48bb
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x5c4912
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004c4309
leave
ret
Function at 0x5c5778
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x671580]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x6550a4
push esi
call fcn.004f3345
pop ecx
pop ecx
test eax, eax
jne 0x5c57a6
xor al, al
jmp 0x5c5823
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.005c54b9
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x5c57e0
push dword [ebp - 0x210]
call fcn.004d8e73
xor al, al
jmp 0x5c5821
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x5c57e6
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x5c5806
push edx
call fcn.005c56af
pop ecx
test al, al
je 0x5c57d1
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x5c5814
mov bl, 1
push dword [ebp - 0x210]
call fcn.004d8e73
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004c4309
leave
ret

Function at 0x5c7f3c
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x671580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x5c7f7f
call fcn.004deb5e
mov dword [eax], 0xf
call fcn.004deb71
mov dword [eax], 0xd
call fcn.004d919a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c4309
leave
ret
test eax, eax
jne 0x5c7f86
inc eax
jmp 0x5c7f73
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x5c7f71
xor eax, eax
cmp ecx, 1
setne al
jmp 0x5c7f73

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406752
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406776
xor eax, eax
test eax, eax
je 0x406789
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406789
xor ecx, ecx
jmp 0x40678c
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4068b5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4068ec
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4068c6
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40691d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4068ff
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x27f764c7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x728d514d
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x405df0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x43e498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], esi
cmp eax, 0xc
mov dword [esp + 0x14], eax
je 0x405e37
cmp eax, 0xd
jne 0x405eca
mov esi, 1
mov eax, dword [edi + 0xc]
add eax, esi
mov dl, byte [eax + 5]
mov bl, byte [eax + 6]
movsx ecx, dl
movsx ebp, bl
lea ecx, [ecx + ecx*4]
lea ecx, [ebp + ecx*2 - 0x210]
mov ebp, dword [0x45ed98]
cmp ebp, ecx
je 0x405ef3
movsx eax, bl
movsx ecx, dl
push eax
lea edx, [esi + 7]
push ecx
add esi, 6
push edx
push esi
push ebp
lea eax, [esp + 0x24]
push str.Different:_week_is__02d_but_barcode__d__d_digit._were__c_c
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
lea edx, [esp + 0x10]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x490c00]
call fcn.00439d10
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xffffffee
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffff6
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov cl, byte [eax + 4]
mov eax, dword [0x45ed9c]
xor edx, edx
mov ebx, 0xa
div ebx
movsx eax, cl
sub eax, 0x30
cmp edx, eax
je 0x405f70
movsx ecx, cl
add esi, 5
push ecx
push esi
push edx
lea edx, [esp + 0x1c]
push str.Different:_year_is__d_but_barcode__d_digit._was__c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [esp + 0x10]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x490c00]
call fcn.00439d10
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xffffffed
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
push 0
add ecx, esi
push ecx
mov ecx, edi
call fcn.00407c50
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x409c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43e9a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x10]
lea eax, [esi + 8]
mov bl, 2
mov ecx, dword [ecx - 8]
mov byte [esp + 0x30], bl
cmp ecx, edx
jge 0x409cba
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push edi
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x18]
push 5
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
push 4
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x10]
xor ecx, ecx
lea edx, [esp + 0x1c]
mov al, byte [ecx + edi]
cmp al, 0x30
jl 0x409d3a
cmp al, 0x39
jg 0x409d3a
movsx eax, al
sub eax, 0x30
jmp 0x409d40
movsx eax, al
sub eax, 0x37
mov dword [edx], eax
inc ecx
add edx, 4
cmp ecx, 4
jl 0x409d27
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
shl ecx, 4
add ecx, eax
shl ecx, 4
add ecx, edi
shl ecx, 4
lea eax, [ecx + edx + 1]
lea ecx, [esi + 4]
push eax
mov eax, dword [esp + 0x18]
push eax
push str._s_.4X
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
call fcn.004082c0
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x409dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43e9e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi + 8]
lea eax, [esi + 8]
mov bl, 2
mov edx, dword [ecx - 8]
mov ecx, dword [esi + 0x10]
cmp edx, ecx
mov byte [esp + 0x30], bl
jge 0x409e6a
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push edi
lea edi, [ecx - 4]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x18]
push edi
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
push 4
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
xor eax, eax
lea ecx, [esp + 0x1c]
movsx edi, byte [eax + edx]
sub edi, 0x30
inc eax
mov dword [ecx], edi
add ecx, 4
cmp eax, 4
jl 0x409ed9
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x28]
lea eax, [eax + edx*2 + 1]
lea edx, [esi + 4]
push eax
push ecx
push str._s_.4lu
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
call fcn.004082c0
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x409f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ea28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi + 8]
lea eax, [esi + 8]
mov bl, 2
mov edx, dword [ecx - 8]
mov ecx, dword [esi + 0x10]
cmp edx, ecx
mov byte [esp + 0x34], bl
jge 0x40a00a
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push edi
lea edi, [ecx - 5]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x18]
push edi
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
push 5
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
xor eax, eax
lea ecx, [esp + 0x1c]
movsx edi, byte [eax + edx]
sub edi, 0x30
inc eax
mov dword [ecx], edi
add ecx, 4
cmp eax, 5
jl 0x40a079
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x28]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2 + 1]
lea ecx, [esi + 4]
push eax
mov eax, dword [esp + 0x18]
push eax
push str._s_.5lu
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
call fcn.004082c0
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret