joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492ad5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x492bed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x492bed
mov eax, dword [esi + 0x3c]
push eax
call fcn.004aad5b
mov esi, eax
test esi, esi
je 0x492bed
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x492bed
mov ecx, esi
call fcn.00492a60
cmp edi, eax
jge 0x492bed
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x492b73
mov dword [esp + 0x34], 1
jmp 0x492bce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x492bed
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00492010
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x494c60
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x494cc6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x494cc6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x494ca7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x495050
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x495088
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x495d60
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x495da9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x496220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7b70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00495dd0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00495e50
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00495e50
lea ecx, [esi + 0xc]
call fcn.004a92b9
lea ecx, [esi + 0x10]
call fcn.004a92b9
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004973e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004973e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004973e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004a932e
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a932e
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ab6ff
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ab737
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a9789
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a9761
jmp 0x4ab743
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4acdf1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ace33
call fcn.004b2b6c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ace33
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ace2a
xor eax, eax
jmp 0x4ace3b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ace41
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b309c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b30ca
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b30e8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b3002
jmp 0x4b30e8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b30e8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b3002
test edi, edi
mov eax, edi
jne 0x4b30d2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401028
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446351
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push 0
mov dword [esp + 8], esi
call sub.MFC71.DLL_CWinApp::CWinApp
push 0x44f6e8
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
mov dword [esi], 0x44f628
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__]
push 1
push 1
push eax
mov byte [esp + 0x38], 1
call fcn.00403270
add esp, 0xc
lea ecx, [esp + 8]
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 0x403600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x204
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x44ff10
push ebx
mov esi, ecx
call dword [sym.imp.MSVCR71.dll_fopen]
add esp, 8
test eax, eax
mov dword [esi + 0x5ac], eax
je 0x40376a
mov edi, dword [sym.imp.MSVCR71.dll_fseek]
push 2
push 0
push eax
call edi
mov eax, dword [esi + 0x5ac]
push eax
call dword [sym.imp.MSVCR71.dll_ftell]
mov ecx, dword [esi + 0x5ac]
push 0
push 0
push ecx
mov dword [esi + 0x5a0], eax
call edi
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x18], edx
lea eax, [esi + 0x20]
mov edx, ebx
add esp, 0x1c
mov edi, 0x104
sub edx, eax
mov cl, byte [edx + eax]
test cl, cl
je 0x403682
mov byte [eax], cl
inc eax
dec edi
jne 0x403673
jmp 0x403686
test edi, edi
jne 0x403687
dec eax
mov byte [eax], 0
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x3f
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x110], 0
mov ecx, 0x3f
lea edi, [esp + 0x111]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push ebx
call dword [sym.imp.MSVCR71.dll__splitpath]
lea edx, [esp + 0x24]
push str.param
push edx
call dword [sym.imp.MSVCR71.dll__stricmp]
mov eax, dword [esi + 0x18]
add esp, 0x1c
test eax, eax
je 0x403748
mov eax, dword [esi + 0x5ac]
push eax
push 1
lea ecx, [esp + 0x14]
push 4
push ecx
call dword [sym.imp.MSVCR71.dll_fread]
mov eax, dword [esp + 0x1c]
add esp, 0x10
test eax, eax
jle 0x403756
cmp eax, 6
jg 0x403756
push 0
mov dword [esi + 0x1c], eax
mov ecx, dword [eax*4 + 0x453b44]
imul eax, eax, 0x1c
push 0
push 0x10
push ecx
push 0x453b28
push ecx
lea ecx, [eax + 0x4a5e44]
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 edx, dword [esi + 0x1c]
push eax
push edx
lea ecx, [esi + 0x124]
call fcn.00405640
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x5ac]
push 0
push 0
push eax
call dword [sym.imp.MSVCR71.dll_fseek]
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4050f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44680b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], 3
call fcn.00405090
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 2
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 eax, dword [esi + 0x30]
mov ecx, dword [eax]
lea edi, [esi + 0x2c]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.00404a60
mov eax, dword [edi + 4]
push eax
call sub.MFC71.DLL_operator_delete_1
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x20]
add esp, 4
cmp eax, ebx
je 0x40516b
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov ecx, esi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esp + 0x1c], 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 + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4051a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x4a5e54]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x4051ce
mov ecx, dword [0x4a5e48]
xor eax, eax
cmp ecx, ebx
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, 0x24
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [esp + 0x20]
xor ecx, ecx
cmp edx, 2
sete cl
push str.USER32
mov dword [0x4a5e58], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
cmp esi, ebx
je 0x4052a3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x450078
push esi
call edi
cmp eax, ebx
mov dword [0x4a5e38], eax
je 0x4052a3
push str.MonitorFromWindow
push esi
call edi
cmp eax, ebx
mov dword [0x4a5e3c], eax
je 0x4052a3
push str.MonitorFromRect
push esi
call edi
cmp eax, ebx
mov dword [0x4a5e40], eax
je 0x4052a3
push str.MonitorFromPoint
push esi
call edi
cmp eax, ebx
mov dword [0x4a5e44], eax
je 0x4052a3
push str.EnumDisplayMonitors
push esi
call edi
cmp eax, ebx
mov dword [0x4a5e4c], eax
je 0x4052a3
push str.GetMonitorInfoA
push esi
call edi
cmp eax, ebx
mov dword [0x4a5e48], eax
je 0x4052a3
push str.EnumDisplayDevicesA
push esi
call edi
cmp eax, ebx
mov dword [0x4a5e50], eax
je 0x4052a3
mov eax, 1
mov dword [0x4a5e54], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [0x4a5e38], ebx
mov dword [0x4a5e3c], ebx
mov dword [0x4a5e40], ebx
mov dword [0x4a5e44], ebx
mov dword [0x4a5e48], ebx
mov dword [0x4a5e4c], ebx
mov dword [0x4a5e50], ebx
mov dword [0x4a5e54], 1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408db0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
ret
Function at 0x40bff0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCR71.dll_fread]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov eax, dword [esi + 4]
push eax
push 1
lea ebx, [edi + 4]
push 0x114
push ebx
call ebp
mov ecx, dword [esp + 0x24]
add edi, 8
push edi
push ecx
call dword [sym.imp.MSVCR71.dll__stricmp]
add esp, 0x18
test eax, eax
je 0x40c06f
jmp 0x40c030
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x114]
test eax, eax
mov byte [edi], 0
je 0x40c07b
push 0
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.MSVCR71.dll_fseek]
mov ecx, dword [esi + 4]
push ecx
push 1
push 0x114
push ebx
call ebp
mov edx, dword [esp + 0x30]
push edi
push edx
call dword [sym.imp.MSVCR71.dll__stricmp]
add esp, 0x24
test eax, eax
jne 0x40c030
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x40ca40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x310
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x40ca5c
xor eax, eax
pop esi
add esp, 0x310
ret 4
lea eax, [esp + 0x110]
lea edx, [esi + 0x13c]
mov ecx, eax
push edi
mov edi, 0x104
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x40ca82
mov byte [eax], cl
inc eax
dec edi
jne 0x40ca73
jmp 0x40ca86
test edi, edi
jne 0x40ca87
dec eax
mov edi, dword [esp + 0x31c]
push edi
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov byte [eax], 0
call fcn.0040c220
mov al, byte [esp + 0x10]
test al, al
je 0x40cab2
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0040c710
push ebx
push edi
lea ecx, [esp + 0x220]
push ecx
mov ecx, esi
call fcn.0040c170
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
cmp edi, eax
je 0x40caf7
mov ebx, dword [sym.imp.MSVCR71.dll__stricmp]
mov eax, dword [edi + 8]
cmp dword [eax + 4], 1
jne 0x40caf0
add eax, 8
push eax
lea edx, [esp + 0x220]
push edx
call ebx
add esp, 8
test eax, eax
je 0x40caf7
mov edi, dword [edi]
cmp edi, dword [esi + 0xc]
jne 0x40cad2
cmp edi, dword [esi + 0xc]
jne 0x40cb0a
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x310
ret 4
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x118]
mov edx, dword [esi + 4]
push ebp
push 0
add ecx, 0x114
push ecx
push edx
call dword [sym.imp.MSVCR71.dll_fseek]
mov eax, dword [edi + 8]
mov ebx, dword [eax + 0x108]
push ebx
call sub.MFC71.DLL_operator_new
mov ecx, dword [esi + 4]
push ecx
push 1
mov ebp, eax
push ebx
push ebp
call dword [sym.imp.MSVCR71.dll_fread]
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x10c]
push eax
mov dword [esp + 0x38], eax
call sub.MFC71.DLL_operator_new
add esp, 0x24
push ebx
push ebp
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.0043f550
test eax, eax
push ebp
je 0x40cb93
call sub.MFC71.DLL_operator_delete
mov edx, dword [esp + 0x14]
push edx
call sub.MFC71.DLL_operator_delete
add esp, 8
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x310
ret 4
call sub.MFC71.DLL_operator_delete
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
mov dword [esi + 0x18], ecx
mov edi, dword [edi + 8]
add esp, 4
add edi, 8
mov edx, 0x100
lea eax, [esi + 0x1c]
mov cl, byte [edi]
test cl, cl
je 0x40cbc3
mov byte [eax], cl
inc eax
inc edi
dec edx
jne 0x40cbb2
xor ecx, ecx
jmp 0x40cbc9
xor ecx, ecx
cmp edx, ecx
jne 0x40cbca
dec eax
mov edx, dword [esp + 0x10]
mov byte [eax], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0x120], eax
mov dword [esi + 0x134], eax
mov al, byte [esp + 0x18]
test al, al
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x124], ecx
mov dword [esi + 0x128], ecx
mov dword [esi + 0x130], edx
mov dword [esi + 0x138], ecx
je 0x40cc16
lea eax, [esp + 0x11c]
push eax
mov ecx, esi
call fcn.0040c710
pop ebp
pop ebx
pop edi
lea eax, [esi + 0x14]
pop esi
add esp, 0x310
ret 4
Function at 0x40d810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446be9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::iterator___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x30]
mov esi, eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::iterator___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
mov edi, eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::iterator___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov ecx, dword [sym.imp.MSVCR71.dll_tolower]
mov edx, dword [esi]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0040d7c0
add esp, 0x14
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x527a68
call fcn.0040d630
cmp eax, dword [0x527a6c]
mov dword [esp + 0xc], eax
je 0x40d8ba
add eax, 0xc
push eax
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
test al, al
jne 0x40d8ba
lea eax, [esp + 0xc]
jmp 0x40d8c7
mov eax, dword [0x527a6c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov eax, dword [eax]
cmp eax, dword [0x527a6c]
jne 0x40d8f9
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c
mov ecx, dword [ebx + 4]
add eax, 0x28
push eax
push ecx
call fcn.0043ffc0
test eax, eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
jne 0x40d8dd
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 + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c
Function at 0x41c1e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4485f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
push 0xdc78a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0x34]
mov edx, dword [esi + 0x44]
mov eax, dword [esp + 0x38]
mov edi, dword [esi + 0x48]
inc edx
push eax
lea ecx, [esp + 0xc]
mov dword [esi + 0x44], edx
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 ecx, [esp + 8]
push ecx
mov ecx, 0xdc79e8
mov dword [esp + 0x30], 0
call fcn.0041bea0
lea ecx, [esp + 8]
mov dword [eax], esi
mov dword [esp + 0x2c], 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_]
push 0xdc78a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x41c6e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448659
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_3]
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 [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
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 0x41e2a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4488be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
lea ebp, [esi + 0x1174]
mov ecx, ebp
mov dword [esp + 0xc], esi
mov dword [esi], 0x456a80
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 6
mov dword [esi + 0x24], 0x16
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
call fcn.0041ddf0
mov dword [ebp + 4], eax
mov byte [eax + 0xe], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
lea ebp, [esi + 0x1198]
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.0041ddf0
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x10]
mov byte [eax + 0xe], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov dword [esi + 0x11c8], edi
mov dword [esi + 0x11cc], edi
mov dword [esi + 0x11d0], 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], edi
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret