joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42be20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x5a5608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov eax, dword [ebp]
push eax
push str.CSDEncodeDataMgr::Encode___s_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x14
lea ecx, [esp + 0x40]
mov esi, 1
push ebp
call fcn.00464a40
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42bfa6
push edi
push 0
lea ecx, [esp + 0x48]
call fcn.00466180
mov edx, dword [esp + 0x44]
mov esi, eax
lea ecx, [esp + 0x20]
mov eax, dword [edx - 8]
lea edi, [eax + eax]
call fcn.00586a6c
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 1
call fcn.00586acc
mov ecx, edi
mov edi, dword [esp + 0x24]
mov eax, ecx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, 0x41
and ecx, 3
push 0x10
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
push edx
mov dword [esp + 0x19], ecx
mov byte [esp + 0x1c], al
mov dword [esp + 0x1d], ecx
mov byte [esp + 0x18], 0x49
mov dword [esp + 0x21], ecx
mov byte [esp + 0x21], al
mov word [esp + 0x25], cx
lea eax, [esp + 0x28]
mov byte [esp + 0x27], cl
push eax
mov byte [esp + 0x1d], 0x50
mov byte [esp + 0x1e], 0x47
mov byte [esp + 0x1f], 0x55
mov byte [esp + 0x21], 0x52
mov byte [esp + 0x22], 0x44
mov byte [esp + 0x23], 0x31
mov byte [esp + 0x24], 0x23
mov byte [esp + 0x26], 0x32
mov byte [esp + 0x27], 0x40
mov byte [esp + 0x28], 0x24
mov byte [esp + 0x29], 0x36
mov byte [esp + 0x2a], 0x37
mov byte [esp + 0x2b], 0x78
call fcn.0042b3c0
add esp, 0xc
mov esi, eax
test esi, esi
pop edi
je 0x42bf98
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
call fcn.004768f0
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x3c], 2
call fcn.00465670
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call fcn.004654c0
mov ecx, dword [ebp]
push ecx
push str.CSDEncodeDataMgr::Encode___s__encode_succeed_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.00586a9f
push esi
push str.CSDEncodeDataMgr::Encode_ret__d_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x14
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.004654c0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x42bff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x5a5638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x40]
mov eax, dword [edi]
push eax
push str.CSDEncodeDataMgr::Decode___s_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x14
lea ecx, [esp + 0x40]
mov esi, 1
push edi
call fcn.00464a40
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42c164
lea ecx, [esp + 0x1c]
call fcn.00586a6c
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push 0
push edx
push eax
mov byte [esp + 0x44], 1
call fcn.00476c10
add esp, 0xc
push eax
push str.CSDEncodeDataMgr::Decode_CEncode::Decode16W_ret__u_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
xor ecx, ecx
mov al, 0x41
mov dword [esp + 0x21], ecx
mov byte [esp + 0x24], al
mov dword [esp + 0x25], ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x29], ecx
mov byte [esp + 0x29], al
mov word [esp + 0x2d], cx
push 0x10
lea eax, [esp + 0x34]
push edx
mov byte [esp + 0x37], cl
push eax
mov byte [esp + 0x2c], 0x49
mov byte [esp + 0x2d], 0x50
mov byte [esp + 0x2e], 0x47
mov byte [esp + 0x2f], 0x55
mov byte [esp + 0x31], 0x52
mov byte [esp + 0x32], 0x44
mov byte [esp + 0x33], 0x31
mov byte [esp + 0x34], 0x23
mov byte [esp + 0x36], 0x32
mov byte [esp + 0x37], 0x40
mov byte [esp + 0x38], 0x24
mov byte [esp + 0x39], 0x36
mov byte [esp + 0x3a], 0x37
mov byte [esp + 0x3b], 0x78
call fcn.0042b710
mov esi, eax
add esp, 0x20
test esi, esi
je 0x42c156
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
shr ecx, 1
push ecx
push edx
lea ecx, [esp + 0x10]
call fcn.00464f50
push eax
mov ecx, edi
mov byte [esp + 0x3c], 2
call fcn.00465670
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call fcn.004654c0
mov eax, dword [edi]
push eax
push str.CSDEncodeDataMgr::Decode___s__encode_succeed_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.00586a9f
push esi
push str.CSDEncodeDataMgr::Decode_ret__d_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x14
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.004654c0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x42c850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a5766
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, 0x5b81dc
xor ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], ebx
call fcn.00417a30
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call fcn.0042a770
push str.softwareTECOcular.3Agent
lea ecx, [esp + 0x44]
mov byte [esp + 0x54], 2
mov dword [esp + 0x30], 0x81
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 3
mov dword [esp + 0x40], reloc.OLEAUT32.dll_SysReAllocString
call fcn.0058826c
push str.UserPin
lea ecx, [esp + 0x48]
call fcn.0058826c
mov esi, dword [esp + 0x1c]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
lea eax, [esi + 1]
push eax
call fcn.0042ce70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
shl esi, 5
add esi, eax
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x34]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x40]
lea ecx, [esi + 0x18]
push eax
mov dword [esi + 0x14], edx
call fcn.0058821c
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esi + 0x1c]
call fcn.0058821c
lea edx, [esp + 0x14]
mov ecx, 0x620d40
push edx
call fcn.00428af0
lea eax, [esp + 0x30]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x50], 4
call fcn.005880d5
lea ecx, [esp + 0x40]
mov byte [esp + 0x50], 3
call fcn.005880d5
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], bl
call fcn.00417a70
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x50], 5
cmp esi, ebx
je 0x42c9e0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], esi
cmp eax, ebx
je 0x42c9d7
push ebp
lea ebp, [eax]
mov bl, 6
lea edi, [esi + 8]
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x14]
mov byte [esp + 0x54], 7
call fcn.005880d5
lea ecx, [edi + 0x10]
mov byte [esp + 0x54], bl
call fcn.005880d5
mov ecx, esi
mov byte [esp + 0x54], 5
call fcn.00417a70
add esi, 0x20
dec ebp
mov dword [esp + 0x10], esi
jne 0x42c99c
mov esi, dword [esp + 0x1c]
pop ebp
push esi
call fcn.005887c7
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x42dae0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a5930
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00494f80
add esp, 8
push 0x5c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.005849a7
cmp eax, 0xffffffff
jne 0x42db2f
push 0x2f
lea ecx, [esp + 0xc]
call fcn.005849a7
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.005848db
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x28], 1
call fcn.00464c50
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 3
call fcn.005880d5
mov edx, dword [0x5be444]
mov dword [esp + 8], edx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 8]
push eax
push str._sImport.log
push ecx
mov byte [esp + 0x30], 4
call fcn.004684d0
mov edx, dword [esp + 0x14]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 7
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esp + 8]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
setne al
push eax
push ecx
push str.CPwdMgr::ResetPwdFile___s__create__lu_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x18
cmp esi, 0xffffffff
je 0x42dc1f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x12]
push 2
push eax
push esi
mov byte [esp + 0x1e], 0xff
mov byte [esp + 0x1f], 0xfe
mov dword [esp + 0x28], 0
call edi
mov ecx, dword [esp + 0x30]
push 0
mov edx, dword [ecx]
mov eax, dword [edx - 8]
lea edx, [esp + 0x18]
add eax, eax
push edx
push eax
push 0
call fcn.00466180
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.004654c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.004654c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x42ffb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a5eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x5be444]
push ebx
push esi
mov dword [esp + 8], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov ebx, 1
push str.OAgent.ini
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.00464c50
mov esi, eax
mov byte [esp + 0x20], 2
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.00464c50
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x14]
push 0x5f8c58
push eax
mov byte [esp + 0x30], 3
call fcn.004684d0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.004654c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.004654c0
push str.SYNCTIME
lea ecx, [esp + 0x18]
call fcn.00464c50
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push ecx
push edx
push eax
push str.UDiskAgentConfig
mov byte [esp + 0x34], 4
call fcn.0042c270
add esp, 0x14
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x20], bl
call fcn.004654c0
mov eax, dword [esp + 8]
cmp esi, 0xffffffff
je 0x430092
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x430096
xor ebx, ebx
jmp 0x4300aa
mov ecx, dword [esp + 0x28]
push 0x10
push ecx
push eax
call fcn.00476a90
mov eax, dword [esp + 0x14]
add esp, 0xc
push ebx
push eax
push str.GetServerTimeFromHardDisk___s__ret__d_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x18
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.004654c0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.004654c0
mov ecx, dword [esp + 0x18]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4304c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a5fa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x5be444]
push ebx
push esi
mov dword [esp + 8], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov ebx, 1
push str.OAgent.ini
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.00464c50
mov esi, eax
mov byte [esp + 0x20], 2
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.00464c50
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x14]
push 0x5f8c58
push eax
mov byte [esp + 0x30], 3
call fcn.004684d0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.004654c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.004654c0
push str.SYNCTIMEZONE
lea ecx, [esp + 0x18]
call fcn.00464c50
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push ecx
push edx
push eax
push str.UDiskAgentConfig
mov byte [esp + 0x34], 4
call fcn.0042c270
add esp, 0x14
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x20], bl
call fcn.004654c0
mov eax, dword [esp + 8]
cmp esi, 0xffffffff
je 0x4305a2
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4305a6
xor ebx, ebx
jmp 0x4305bd
mov ecx, dword [esp + 0x28]
push 0xb4
push ecx
push eax
call fcn.00476a90
mov eax, dword [esp + 0x14]
add esp, 0xc
push ebx
push eax
push str.GetServerTimeZoneFromHardDisk___s__ret__d_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x18
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.004654c0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.004654c0
mov ecx, dword [esp + 0x18]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x430610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a5fe0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x603f10]
push esi
mov dword [esp + 8], eax
lea edx, [esp + 8]
push str.OAgent.ini
push edx
mov dword [esp + 0x38], 0
call fcn.0042e530
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push eax
call fcn.00464c50
xor ecx, ecx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x5be444]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 4], ecx
lea edx, [esp + 0x10]
push 0x18
lea eax, [esp + 0x44]
push edx
push eax
mov byte [esp + 0x3c], 2
call fcn.004768f0
add esp, 0xc
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x34], 3
call fcn.00465670
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 2
call fcn.004654c0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
push ecx
push edx
push str.LastConnectTime
push str.UDiskAgentConfig
call fcn.0042c1f0
add esp, 0x10
mov esi, eax
push esi
push str.SetLastConnectTimeToUDPolicy_ret__d_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x14
lea ecx, [esp + 4]
mov byte [esp + 0x30], 1
call fcn.004654c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.004654c0
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 0x14

Function at 0x430f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a6128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x5be444]
push esi
push edi
mov dword [esp + 0xc], eax
mov edx, dword [0x603f10]
mov dword [esp + 0x1c], 0
mov dword [esp + 8], edx
lea eax, [esp + 8]
push str.OAgent.ini
push eax
mov byte [esp + 0x24], 1
call fcn.0042e530
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.00464c50
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x10]
push edx
push eax
push str.UDSDProcuctID
push str.UDiskAgentConfig
mov byte [esp + 0x30], 2
call fcn.0042c270
add esp, 0x14
cmp eax, 0xffffffff
je 0x431004
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x431004
mov edi, dword [esp + 0x24]
mov esi, 1
push edi
push 0x5f9874
push eax
call fcn.0044d164
add esp, 0xc
jmp 0x43100c
mov edi, dword [esp + 0x24]
xor esi, esi
mov dword [edi], esi
mov ecx, dword [edi]
push esi
push ecx
push str.GetSDProductIDFromUDPolicy___lu__ret__d_
push str.checkmodule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call fcn.004654c0
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.005880d5
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004654c0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x432380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a63ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x603f10]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x20]
push str.Ocular
push str.Data
push ecx
lea edx, [esp + 0x10]
push str._s_s_s
push edx
mov dword [esp + 0x28], 1
call fcn.00584d3d
mov esi, dword [esp + 0x30]
add esp, 0x14
lea eax, [esp + 4]
mov ecx, esi
push eax
call fcn.00587e42
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.005880d5
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x434460
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a687b
push eax
mov eax, dword [0x621098]
mov dword fs:[0], esp
sub esp, 0xe14
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x434699
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x61e]
mov word [esp + 0x61c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x416]
mov word [esp + 0x414], bx
rep stosd dword es:[edi], eax
push 0x5b8380
mov dword [0x621098], 1
mov dword [esp + 0xc], ebx
stosw word es:[edi], ax
call fcn.00401080
push eax
lea eax, [esp + 0x41c]
push 0x5f8c58
push eax
call fcn.0044cbf9
add esp, 0x10
lea ecx, [esp + 0x414]
lea edx, [esp + 0x61c]
push ecx
push 0x400
push edx
push 0x620918
push 0x5b83b0
push 0x5b8398
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x43455a
cmp word [esp + 0xe1a], bx
jne 0x43455a
lea eax, [esp + 0x14]
push 0x400
lea ecx, [esp + 0x620]
push eax
push ecx
call fcn.004931a0
add esp, 0xc
mov dword [esp + 8], eax
jmp 0x43455e
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x434663
lea ecx, [esp + 0xc]
call fcn.00479430
push 0x20019
push 0x5b83b8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0xe30], ebx
call fcn.004795a0
test eax, eax
je 0x4345da
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
push 0x5b8444
call fcn.004799c0
cmp eax, ebx
je 0x4345da
mov ecx, dword [esp + 8]
cmp ecx, 0x400
jae 0x4345cd
mov edx, ecx
push esi
mov esi, eax
lea edi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4345d1
mov dword [esp + 8], ebx
push eax
call fcn.005887c7
add esp, 4
lea ecx, [esp + 0xc]
call fcn.004795f0
lea ecx, [esp + 0xc]
mov dword [esp + 0xe24], 0xffffffff
call fcn.00479520
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x434663
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x61c]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x620]
push eax
push 0x620918
push 0x5b8444
push 0x5b844c
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x43465b
cmp word [esp + 0xe1a], bx
jne 0x43465b
lea ecx, [esp + 0x14]
push 0x400
lea edx, [esp + 0x620]
push ecx
push edx
call fcn.004931a0
add esp, 0xc
jmp 0x43465f
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x434699
cmp eax, 4
jbe 0x434699
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x434699
cmp dword [esp + 0x14], 1
je 0x434699
mov edx, dword [esp + 0x30]
and edx, 0xffff
lea ecx, [edx + edx + 0x22]
cmp ecx, ebx
je 0x434699
add eax, 0xfffffffc
cmp ecx, eax
ja 0x434699
mov eax, dword [esp + 0x1c]
mov dword [0x621094], eax
mov ecx, dword [esp + 0xe1c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe20
ret
Function at 0x435cf0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a6ae0
push eax
mov dword fs:[0], esp
sub esp, 0x10
xor eax, eax
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, ecx
push edi
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x435d70
push 0x3d
push ebp
call fcn.0044c6e0
add esp, 8
test eax, eax
jne 0x435d70
push 0x3b
push ebp
call fcn.0044c6e0
add esp, 8
test eax, eax
jne 0x435d70
mov eax, dword [0x5be440]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0
push ecx
push ebp
mov ecx, esi
call fcn.00436ac0
test eax, eax
je 0x435d86
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.0045fd30
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea edx, [esp + 0x20]
push edx
call fcn.00476810
add esp, 0xc
mov edi, eax
add esi, 4
push ebp
lea eax, [esp + 0x18]
push esi
push eax
mov byte [esp + 0x30], 1
call fcn.00460470
push 0x3d
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x30], 2
call fcn.00461480
push edi
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0x30], 3
call fcn.004602b0
push 0x3b
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x2c], 4
push eax
call fcn.00461480
push eax
mov ecx, esi
mov byte [esp + 0x28], 5
call fcn.0045fed0
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 4
call fcn.0045fd30
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call fcn.0045fd30
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.0045fd30
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.0045fd30
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.0045fd30
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.0045fd30
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 8