joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x65db30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x40], edx
test cl, 0xf
je 0x401885
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c5718
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebx]
mov dword [ebp - 0x24], edi
mov edi, dword [ebx + 4]
mov dword [ebp - 0x20], edi
mov edi, dword [ebx + 8]
shr ecx, 4
mov dword [ebp - 0x1c], edi
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x18], edi
test ecx, ecx
jle 0x40192b
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x4018b6
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
xor eax, eax
nop
movzx ecx, byte [ebp + eax - 0x24]
movzx edx, byte [ebp + eax - 0x23]
xor byte [ebp + eax - 0x14], cl
xor byte [ebp + eax - 0x13], dl
movzx ecx, byte [ebp + eax - 0x22]
movzx edx, byte [ebp + eax - 0x21]
xor byte [ebp + eax - 0x12], cl
xor byte [ebp + eax - 0x11], dl
add eax, 4
cmp eax, 0x10
jb 0x4018d0
lea ebx, [ebp - 0x3c]
lea eax, [ebp - 0x14]
call fcn.00402ea0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
add dword [ebp - 0x28], 0x10
dec dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
jne 0x4018b3
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [edx + 0xc], eax
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.005c5718
mov esp, ebp
pop ebp
ret
Function at 0x401aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x65db30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], 0
cmp eax, ebx
je 0x401ada
push esi
push eax
push ebx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x14], edx
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [esi - 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x38], eax
cmp esi, 0x10
jbe 0x401ba7
mov dword [ebp - 0x28], 0
test eax, eax
je 0x401ba7
lea eax, [ebp - 0x23]
sub eax, ebx
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 0x34]
lea ebx, [ebp - 0x24]
lea eax, [ebp - 0x14]
call fcn.00402ea0
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x28]
add eax, esi
mov edi, 4
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + eax - 1]
xor byte [eax], dl
movzx edx, byte [ecx + eax]
xor byte [eax + 1], dl
movzx edx, byte [ecx + eax + 1]
mov cl, byte [ecx + eax + 2]
xor byte [eax + 2], dl
xor byte [eax + 3], cl
add eax, 4
dec edi
jne 0x401b35
mov eax, 0xf
inc byte [ebp + eax - 0x14]
jne 0x401b94
test eax, eax
je 0x401b94
inc byte [ebp + eax - 0x15]
jne 0x401b94
lea edx, [eax - 1]
test edx, edx
je 0x401b94
inc byte [ebp + eax - 0x16]
jne 0x401b94
cmp eax, 2
je 0x401b94
inc byte [ebp + eax - 0x17]
jne 0x401b94
lea ecx, [eax - 3]
test ecx, ecx
je 0x401b94
sub eax, 4
jns 0x401b60
sub dword [ebp - 0x2c], 0x10
add esi, 0x10
mov dword [ebp - 0x28], esi
cmp esi, dword [ebp - 0x38]
jb 0x401b17
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 0x34]
lea ebx, [ebp - 0x24]
lea eax, [ebp - 0x14]
call fcn.00402ea0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp + 0xc]
add eax, edx
sub esi, edx
je 0x401bd9
mov ecx, ebx
sub ecx, eax
jmp 0x401bd0
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x401bd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c5718
mov esp, ebp
pop ebp
ret
Function at 0x402300
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x65db30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sub eax, 0x80
push ebx
mov ebx, ecx
push edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], 0x1000000
mov dword [ebp - 0x3c], 0x2000000
mov dword [ebp - 0x38], 0x4000000
mov dword [ebp - 0x34], 0x8000000
mov dword [ebp - 0x30], 0x10000000
mov dword [ebp - 0x2c], 0x20000000
mov dword [ebp - 0x28], 0x40000000
mov dword [ebp - 0x24], Ordinal_2
mov dword [ebp - 0x20], 0x1b000000
mov dword [ebp - 0x1c], 0x36000000
mov dword [ebp - 0x18], 0x6c000000
mov dword [ebp - 0x14], 0xd8000000
mov dword [ebp - 0x10], 0xab000000
mov dword [ebp - 0xc], 0x4d000000
mov dword [ebp - 8], 0x9a000000
je 0x4023b2
sub eax, 0x40
je 0x4023a4
sub eax, 0x40
jne 0x40253b
mov dword [ebp - 0x44], 0xe
lea edi, [eax + 8]
jmp 0x4023be
mov dword [ebp - 0x44], 0xc
mov edi, 6
jmp 0x4023be
mov dword [ebp - 0x44], 0xa
mov edi, 4
xor ecx, ecx
push esi
test edi, edi
jle 0x4023f9
mov eax, dword [ebp + 8]
add eax, 2
jmp 0x4023d0
movzx edx, byte [eax - 2]
movzx esi, byte [eax - 1]
shl edx, 8
or edx, esi
movzx esi, byte [eax]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 1]
shl edx, 8
or edx, esi
mov dword [ebx + ecx*4], edx
inc ecx
add eax, 4
cmp ecx, edi
jl 0x4023d0
mov eax, dword [ebp - 0x44]
lea eax, [eax*4 + 4]
mov esi, edi
mov dword [ebp - 0x4c], eax
cmp edi, eax
jge 0x40253a
mov dword [ebp - 0x44], ebx
mov eax, esi
cdq
idiv edi
mov ecx, dword [ebx + esi*4 - 4]
test edx, edx
jne 0x4024a4
mov eax, ecx
rol eax, 8
mov ecx, eax
shr ecx, 0x1c
mov edx, eax
shr edx, 0x18
and edx, 0xf
add ecx, ecx
movzx ecx, byte [edx + ecx*8 + str.cw]
mov edx, eax
shr edx, 0x14
and edx, 0xf
add edx, edx
mov ebx, eax
shr ebx, 0x10
and ebx, 0xf
movzx edx, byte [ebx + edx*8 + str.cw]
shl ecx, 8
add ecx, edx
mov edx, eax
shr edx, 0xc
and edx, 0xf
mov ebx, eax
add edx, edx
shr ebx, 8
and ebx, 0xf
movzx edx, byte [ebx + edx*8 + str.cw]
shl ecx, 8
add ecx, edx
mov edx, eax
shr edx, 4
and edx, 0xf
and eax, 0xf
add edx, edx
movzx eax, byte [eax + edx*8 + str.cw]
shl ecx, 8
add ecx, eax
lea eax, [esi - 1]
cdq
idiv edi
xor ecx, dword [ebp + eax*4 - 0x40]
jmp 0x40251d
cmp edi, 6
jle 0x402520
cmp edx, 4
jne 0x402520
mov edx, ecx
shr edx, 0x1c
mov eax, ecx
shr eax, 0x18
and eax, 0xf
add edx, edx
movzx edx, byte [eax + edx*8 + str.cw]
mov eax, ecx
shr eax, 0x14
and eax, 0xf
add eax, eax
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xf
movzx eax, byte [ebx + eax*8 + str.cw]
shl edx, 8
add edx, eax
mov eax, ecx
shr eax, 0xc
and eax, 0xf
mov ebx, ecx
add eax, eax
shr ebx, 8
and ebx, 0xf
movzx eax, byte [ebx + eax*8 + str.cw]
shl edx, 8
add edx, eax
mov eax, ecx
shr eax, 4
and eax, 0xf
add eax, eax
and ecx, 0xf
movzx ecx, byte [ecx + eax*8 + str.cw]
shl edx, 8
add ecx, edx
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
xor edx, ecx
mov dword [ebx + esi*4], edx
inc esi
add eax, 4
mov dword [ebp - 0x44], eax
cmp esi, dword [ebp - 0x4c]
jl 0x402413
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.005c5718
mov esp, ebp
pop ebp
ret
Function at 0x404cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
push eax
mov eax, dword [ebp + 8]
call fcn.00403ae0
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
add esp, 4
mov dword [ebp - 4], 0xf
jmp 0x404d00
mov eax, edi
mov esi, edx
call fcn.00404070
xor eax, ebx
add edi, 6
dec dword [ebp - 4]
mov edx, eax
mov ebx, esi
jne 0x404d00
mov eax, dword [ebp + 0x10]
add eax, 0x5a
mov dword [ebp - 8], edx
call fcn.00404070
mov edi, dword [ebp + 0xc]
xor eax, esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
call fcn.00403d90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea esi, [eax + 1]
mov dword [ebp - 4], esi
lea eax, [ecx + 0x10]
mov edi, 4
push ebx
mov dl, byte [esi - 1]
movzx ebx, byte [eax]
xor bl, dl
mov byte [eax + 0x20], bl
movzx ebx, byte [eax + 1]
mov byte [eax + 0x10], dl
mov dl, byte [esi]
xor bl, dl
mov byte [eax + 0x21], bl
movzx ebx, byte [eax + 2]
mov byte [eax + 0x11], dl
mov dl, byte [esi + 1]
xor bl, dl
mov byte [eax + 0x22], bl
movzx ebx, byte [eax + 3]
mov byte [eax + 0x12], dl
mov dl, byte [esi + 2]
xor bl, dl
mov byte [eax + 0x13], dl
mov byte [eax + 0x23], bl
add eax, 4
add esi, 4
dec edi
jne 0x404de5
xor edx, edx
lea ebx, [ebx]
lea eax, [ecx + 0x11]
mov esi, 8
jmp 0x404e40
movzx edx, byte [edx + 0x647868]
xor byte [eax - 1], dl
movzx edx, byte [eax - 1]
movzx edx, byte [edx + 0x647868]
xor byte [eax], dl
movzx edx, byte [eax]
movzx edx, byte [edx + 0x647868]
xor byte [eax + 1], dl
movzx edx, byte [eax + 1]
movzx edx, byte [edx + 0x647868]
xor byte [eax + 2], dl
movzx edx, byte [eax + 2]
movzx edx, byte [edx + 0x647868]
xor byte [eax + 3], dl
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x647868]
xor byte [eax + 4], dl
movzx edx, byte [eax + 4]
add eax, 6
dec esi
jne 0x404e40
add edx, edi
inc edi
and edx, 0xff
cmp edi, 0x12
jl 0x404e30
movzx edx, byte [ecx + 0x4f]
lea eax, [ecx + 0x41]
mov ecx, dword [ebp - 4]
mov esi, 4
pop ebx
jmp 0x404ec0
movzx edi, byte [ecx - 1]
xor edi, edx
movzx edx, byte [edi + 0x647868]
xor byte [eax - 1], dl
movzx edi, byte [ecx]
movzx edx, byte [eax - 1]
xor edi, edx
movzx edx, byte [edi + 0x647868]
xor byte [eax], dl
movzx edi, byte [ecx + 1]
movzx edx, byte [eax]
xor edi, edx
movzx edx, byte [edi + 0x647868]
xor byte [eax + 1], dl
movzx edi, byte [ecx + 2]
movzx edx, byte [eax + 1]
xor edi, edx
movzx edx, byte [edi + 0x647868]
xor byte [eax + 2], dl
movzx edx, byte [eax + 2]
add ecx, 4
add eax, 4
dec esi
jne 0x404ec0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a9b0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1cbc
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x65db30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], ecx
push eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
xor esi, esi
push str.258EAFA5_E914_47DA_95CA_C5AB0DC85B11
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], esi
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_char_1_::Append]
mov ebx, dword [ebp - 0xa8]
mov edx, dword [ebx - 0xc]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
push edx
lea esi, [ebp - 0xa4]
mov dword [ebp - 0x54], 0x67452301
mov dword [ebp - 0x50], 0xefcdab89
mov dword [ebp - 0x4c], 0x98badcfe
mov dword [ebp - 0x48], 0x10325476
mov dword [ebp - 0x44], 0xc3d2e1f0
mov dword [ebp - 0x40], 0x5a827999
mov dword [ebp - 0x3c], 0x6ed9eba1
mov dword [ebp - 0x38], 0x8f1bbcdc
mov dword [ebp - 0x34], 0xca62c1d6
call fcn.00405ea0
add esp, 4
lea edi, [ebp - 0x28]
call fcn.00405ef0
mov esi, dword [ebp - 0xac]
push 0x1e
mov ecx, esi
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_char_1_::GetBuffer]
mov edi, eax
lea eax, [ebp - 0x28]
call fcn.00401030
push eax
mov ecx, esi
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_char_1_::ReleaseBufferSetLength]
lea ecx, [ebp - 0xa8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitM]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c5718
mov esp, ebp
pop ebp
ret
Function at 0x4117b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x65db30]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x402]
push ecx
mov dword [ebp - 0x408], 0
mov word [ebp - 0x404], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, edi
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
push 0x200
lea edx, [ebp - 0x404]
push edx
push str.http:__cas1.szca.com_services_szcaCAValidate
push str.CertVerify
push 0x64631c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
mov ecx, esi
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_wchar_t_const___int_]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.005c5718
mov esp, ebp
pop ebp
ret

Function at 0x411840
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x65db30]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x402]
push ecx
mov dword [ebp - 0x408], 0
mov word [ebp - 0x404], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, edi
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
push 0x200
lea edx, [ebp - 0x404]
push edx
push str.77096DF368124074A8C2AC8C531D19C4
push 0x646294
push 0x646384
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
mov ecx, esi
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_wchar_t_const___int_]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.005c5718
mov esp, ebp
pop ebp
ret

Function at 0x4118d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x65db30]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x402]
push ecx
mov dword [ebp - 0x408], 0
mov word [ebp - 0x404], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, edi
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
push 0x200
lea edx, [ebp - 0x404]
push edx
push str.1FCE57959FA24A31BAC475977A8EBCBE
push str.secertKey
push str.Server
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
mov ecx, esi
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_wchar_t_const___int_]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.005c5718
mov esp, ebp
pop ebp
ret
Function at 0x4119f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1ed5
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
push esi
push edi
mov eax, dword [0x65db30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.Ukey_Server_DEBD5D23_A29C_4AF9_ABEC_4608B9EEF36B
push 1
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0xb8], eax
cmp eax, edi
je 0x411a69
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x411a69
mov eax, dword [esi + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xb8], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x10], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CWinApp::InitInstance]
push 0xc
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x411aa8
mov ecx, eax
call dword [sym.imp.mfc100u.dll_CShellManager::CShellManager]
mov edi, eax
lea edx, [ebp - 0x104]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.00411f00
lea eax, [ebp - 0x104]
mov dword [ebp - 4], 1
mov ecx, eax
mov dword [esi + 0x20], eax
call dword [sym.imp.mfc100u.dll_CDialog::DoModal]
test edi, edi
je 0x411ae2
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
lea ecx, [ebp - 0x104]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00411b10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x432140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cccfa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x65db30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [esi], ebx
push 8
mov dword [ebp - 4], ebx
call sub.mfc100u.dll_new
add esp, 4
cmp eax, ebx
je 0x432245
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x18]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], edi
mov dword [edi], ebx
push 8
mov byte [ebp - 4], 2
call sub.mfc100u.dll_new
add esp, 4
cmp eax, ebx
je 0x432220
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [esi + 0x40], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov byte [esi + 0x30], bl
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov word [esi + 0x7c], 1
mov byte [esi + 0x7e], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x6532e4
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x6532e4
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x4328d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cccfa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x65db30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [esi], ebx
push 8
mov dword [ebp - 4], ebx
call sub.mfc100u.dll_new
add esp, 4
cmp eax, ebx
je 0x4329f1
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x18]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], edi
mov dword [edi], ebx
push 8
mov byte [ebp - 4], 2
call sub.mfc100u.dll_new
add esp, 4
cmp eax, ebx
je 0x4329cc
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [esi + 0x40], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov byte [esi + 0x30], bl
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x74], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov edx, dword [eax]
mov dword [esi + 0x80], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x84], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x88], edx
mov byte [esi + 0x8c], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x6532e4
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x6532e4
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x43b420
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x43b4b8
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43b444
mov eax, dword [edi + 0x30]
push ebx
push esi
push eax
push 0
mov ecx, edi
call fcn.00438c20
mov esi, dword [edi + 0xc]
dec esi
js 0x43b48c
test esi, esi
js 0x43b4bd
cmp esi, dword [edi + 0xc]
jge 0x43b4bd
mov eax, dword [edi + 8]
mov ebx, dword [eax + esi*4]
lea ecx, [ebp + 8]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp + 8], 0x103
jne 0x43b482
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
dec esi
jns 0x43b456
mov edx, dword [edi + 0x40]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
lea esi, [edi + 0x14]
push esi
mov dword [edi + 0x40], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [edi + 0x3c]
push eax
call ebx
pop esi
pop ebx
pop edi
pop ebp
ret 4
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]