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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.00476137
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.004755df
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4755c9
test ebx, ebx
jl 0x47556d
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd2b8e3
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47558e
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x475580
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.00476f4f
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.00476f4f
add esp, 8
mov ebx, 0x80070057
jmp 0x47556d
Function at 0x489fd7
Capabilities:
Encode data using xor

Disassembly:
xor ah, byte [eax - 0x1a]
and eax, 0xa73ff062
xor byte [ebx - 0xf], dh
sahf
adc byte [esi - 0x14e50153], 0xbb
enter 0xffffffffffffadba, 0xffffffffffffffef
mov eax, dword [0x21c7480f]
neg esp
sbb byte [eax], cl
xor al, 0xcc
xor al, 0x96
xchg ebp, eax
add edi, esi
js 0x489ff6
jbe 0x48a027
push ebx
invalid
retf

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.0048dac7
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.0048cf6f
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x48cf59
test ebx, ebx
jl 0x48cefd
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd43273
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48cf1e
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x48cf10
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.0048e8df
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.0048e8df
add esp, 8
mov ebx, 0x80070057
jmp 0x48cefd
Function at 0x4a3ccf
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.004a4987
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.004a3e2f
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a3e19
test ebx, ebx
jl 0x4a3dbd
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd5a133
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a3dde
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x4a3dd0
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.004a579f
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.004a579f
add esp, 8
mov ebx, 0x80070057
jmp 0x4a3dbd
Function at 0x4b9759
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2378
cmp edx, dword [eax]
je 0x4b977b
add eax, 8
inc ecx
cmp eax, 0x4c2408
jl 0x4b976c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2378]
jne 0x4b98a9
mov eax, dword [0x4c6cfc]
cmp eax, 1
je 0x4b9883
test eax, eax
jne 0x4b97ac
cmp dword [0x4c22a4], 1
je 0x4b9883
cmp edx, 0xfc
je 0x4b98a9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b97e3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004ba140
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004ba5d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b9826
lea eax, [ebp - 0x1a4]
push eax
call fcn.004ba5d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4beacc
push edi
call fcn.004bc4a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004ba140
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004ba150
lea eax, [ebp - 0xa0]
push 0x4beaac
push eax
call fcn.004ba150
push dword [esi + 0x4c237c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004ba150
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bc414
add esp, 0x2c
pop edi
jmp 0x4b98a9
lea eax, [ebp + 8]
lea esi, [esi + 0x4c237c]
push 0
push eax
push dword [esi]
call fcn.004ba5d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4bb740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4a5015
lea edi, [esi - 0xa4015]
push edi
or ebp, 0xffffffff
jmp 0x4bb762
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bb769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bb758
mov eax, 1
add ebx, ebx
jne 0x4bb77b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bb78c
jne 0x4bb7ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bb7ab
dec eax
add ebx, ebx
jne 0x4bb798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bb770
add ebx, ebx
jne 0x4bb7a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bb7fd
xor ecx, ecx
sub eax, 3
jb 0x4bb7c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bb832
sar eax, 1
mov ebp, eax
jmp 0x4bb7ce
add ebx, ebx
jne 0x4bb7ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bb79c
inc ecx
add ebx, ebx
jne 0x4bb7dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bb79c
add ebx, ebx
jne 0x4bb7e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bb7de
jne 0x4bb7fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bb7de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bb81c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bb80e
jmp 0x4bb75e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bb81c
add edi, ecx
jmp 0x4bb75e
pop esi
mov edi, esi
mov ecx, 0x2bfb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bb83a
cmp byte [edi], 6
jne 0x4bb83a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4bb83f
lea edi, [esi + 0xb9000]
mov eax, dword [edi]
or eax, eax
je 0x4bb8b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbb570]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbb5ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bb86c
mov ecx, edi
jns 0x4bb89b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbb5b4]
or eax, eax
je 0x4bb8b1
mov dword [ebx], eax
add ebx, 4
jmp 0x4bb889
call dword [esi + 0xbb5b0]
mov ebp, dword [esi + 0xbb5b8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4bb8eb
sub esp, 0xffffff80
jmp 0x4022c4
Function at 0x402100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44e028
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x47bed0
mov dword [esp + 0x1c], 0x47bed0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x1c], 1
mov edi, dword [esp + 0x38]
add edi, 0x124
mov dword [esp + 0x30], 0
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x40215f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x40216d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebp, dword [edi]
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x402186
mov eax, dword [esp + 0x3c]
cmp dword [esi], eax
je 0x402186
add esi, 4
cmp esi, ebx
jne 0x402177
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x402194
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
test ebp, ebp
je 0x40219e
cmp ebp, eax
je 0x4021a4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, ebx
jne 0x4021b2
lea ecx, [esp + 0x3c]
push ecx
call fcn.0040b1d0
push 0x47bed0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x4031f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44e06a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b018]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0x47beb8
mov dword [esp + 0x24], 0x47beb8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, 1
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0
call dword [0x450484]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeUpper]
push eax
lea ecx, [esp + 0x1c]
call dword [0x450484]
mov edi, dword [esp + 0x40]
add edi, 0x154
mov byte [esp + 0x38], 2
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x40327d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi]
cmp ebx, dword [edi + 0x10]
jbe 0x40328d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
lea ecx, [esp + 0x18]
push ecx
push esi
push ebp
push ebx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.0040d890
mov esi, dword [edi + 0x10]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
add esp, 0x18
cmp dword [edi + 0xc], esi
jbe 0x4032b8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
test ebx, ebx
je 0x4032c2
cmp ebx, eax
je 0x4032c8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, esi
jne 0x4032d6
lea eax, [esp + 0x18]
push eax
call fcn.0040a7c0
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x47beb8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x403400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44e06a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b018]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0x47beb8
mov dword [esp + 0x24], 0x47beb8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, 1
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0
call dword [0x450484]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeUpper]
push eax
lea ecx, [esp + 0x1c]
call dword [0x450484]
mov esi, dword [esp + 0x40]
add esi, 0x154
mov byte [esp + 0x38], 2
mov edi, dword [esi + 0x10]
cmp dword [esi + 0xc], edi
jbe 0x40348d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esi + 0xc]
mov ebp, dword [esi]
cmp ebx, dword [esi + 0x10]
jbe 0x40349d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push edi
push ebp
push ebx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.0040d890
mov ebx, dword [esi + 0x10]
mov edi, dword [eax]
mov ebp, dword [eax + 4]
add esp, 0x18
cmp dword [esi + 0xc], ebx
jbe 0x4034c8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
test edi, edi
je 0x4034d2
cmp edi, eax
je 0x4034d8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, ebx
je 0x4034e9
push ebp
push edi
lea eax, [esp + 0x30]
push eax
push esi
call fcn.0040a840
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x47beb8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x406c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44e028
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x47bea0
mov dword [esp + 0x1c], 0x47bea0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x1c], 1
mov edi, dword [esp + 0x38]
add edi, 0xcc
mov dword [esp + 0x30], 0
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x406c9f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi]
cmp ebx, dword [edi + 0x10]
jbe 0x406caf
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edi]
push ecx
push esi
push ebp
push ebx
push eax
lea edx, [esp + 0x34]
push edx
call fcn.0040d890
mov esi, dword [edi + 0x10]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
add esp, 0x18
cmp dword [edi + 0xc], esi
jbe 0x406cda
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
test ebx, ebx
je 0x406ce4
cmp ebx, eax
je 0x406cea
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, esi
jne 0x406cf8
mov eax, dword [esp + 0x3c]
push eax
call fcn.0040a7c0
push 0x47bea0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8

Function at 0x406d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44e028
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x47bea0
mov dword [esp + 0x1c], 0x47bea0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x1c], 1
mov esi, dword [esp + 0x38]
add esi, 0xcc
mov dword [esp + 0x30], 0
mov edi, dword [esi + 0x10]
cmp dword [esi + 0xc], edi
jbe 0x406d7f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esi + 0xc]
mov ebp, dword [esi]
cmp ebx, dword [esi + 0x10]
jbe 0x406d8f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
push ecx
push edi
push ebp
push ebx
push eax
lea edx, [esp + 0x34]
push edx
call fcn.0040d890
mov edi, dword [esi + 0x10]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
add esp, 0x18
cmp dword [esi + 0xc], edi
jbe 0x406dba
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
test ebx, ebx
je 0x406dc4
cmp ebx, eax
je 0x406dca
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, edi
je 0x406ddb
push ebp
push ebx
lea eax, [esp + 0x28]
push eax
push esi
call fcn.0040a840
push 0x47bea0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x406e00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44e028
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x47bea0
mov dword [esp + 0x1c], 0x47bea0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x1c], 1
mov edi, dword [esp + 0x38]
add edi, 0xb4
mov dword [esp + 0x30], 0
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x406e5f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi]
cmp ebx, dword [edi + 0x10]
jbe 0x406e6f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edi]
push ecx
push esi
push ebp
push ebx
push eax
lea edx, [esp + 0x34]
push edx
call fcn.0040d890
mov esi, dword [edi + 0x10]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
add esp, 0x18
cmp dword [edi + 0xc], esi
jbe 0x406e9a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
test ebx, ebx
je 0x406ea4
cmp ebx, eax
je 0x406eaa
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, esi
jne 0x406eb8
mov eax, dword [esp + 0x3c]
push eax
call fcn.0040a7c0
push 0x47bea0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8

Function at 0x406ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44e028
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x47bea0
mov dword [esp + 0x1c], 0x47bea0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x1c], 1
mov esi, dword [esp + 0x38]
add esi, 0xb4
mov dword [esp + 0x30], 0
mov edi, dword [esi + 0x10]
cmp dword [esi + 0xc], edi
jbe 0x406f3f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esi + 0xc]
mov ebp, dword [esi]
cmp ebx, dword [esi + 0x10]
jbe 0x406f4f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
push ecx
push edi
push ebp
push ebx
push eax
lea edx, [esp + 0x34]
push edx
call fcn.0040d890
mov edi, dword [esi + 0x10]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
add esp, 0x18
cmp dword [esi + 0xc], edi
jbe 0x406f7a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
test ebx, ebx
je 0x406f84
cmp ebx, eax
je 0x406f8a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, edi
je 0x406f9b
push ebp
push ebx
lea eax, [esp + 0x28]
push eax
push esi
call fcn.0040a840
push 0x47bea0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8