joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eeb2
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab6b2
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0x13
lea ecx, [esi + 0x12c]
call fcn.004019df
mov byte [ebp - 4], 0x12
lea ecx, [esi + 0x108]
call fcn.00436c83
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x100]
call fcn.004019df
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0xf4]
call fcn.00403946
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0xec]
call fcn.004019df
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0xe8]
call fcn.004019df
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0xe4]
call fcn.004019df
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x74]
call fcn.004019df
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x5c]
call fcn.004019df
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x38]
call fcn.004019df
mov byte [ebp - 4], 9
lea ecx, [esi + 0x34]
call fcn.004019df
mov byte [ebp - 4], 8
lea ecx, [esi + 0x30]
call fcn.004019df
mov byte [ebp - 4], 7
lea ecx, [esi + 0x28]
call fcn.004019df
mov byte [ebp - 4], 6
lea ecx, [esi + 0x20]
call fcn.004019df
mov byte [ebp - 4], 5
lea ecx, [esi + 0x1c]
call fcn.004019df
mov byte [ebp - 4], 4
lea ecx, [esi + 0x18]
call fcn.004019df
mov byte [ebp - 4], 3
lea ecx, [esi + 0x14]
call fcn.004019df
mov byte [ebp - 4], 2
lea ecx, [esi + 0x10]
call fcn.004019df
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
call fcn.004019df
mov byte [ebp - 4], 0
lea ecx, [esi + 8]
call fcn.004019df
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.004019df
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret

Function at 0x411ef3
Capabilities:
Resolve dns

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push ecx
and dword [ebp], 0
mov dword [esp + 0x14], edx
mov byte [ebx], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x411f71
cmp word [esi + 8], 2
jne 0x411f53
push 4
pop eax
cmp word [esi + 0xa], ax
jne 0x411f53
mov edi, dword [esi + 0xc]
jmp 0x411f4d
push dword [eax]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
call fcn.00412133
mov dword [ebp], eax
test eax, eax
je 0x411f6c
lea ebp, [eax + 0x1c]
add edi, 4
mov eax, dword [edi]
test eax, eax
jne 0x411f2d
push 0x400
push dword [esi]
push 0x401
push ebx
call fcn.0041f6f1
add esp, 0x10
xor eax, eax
jmp 0x411f98
push 8
pop eax
jmp 0x411f98
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x411f96
sub eax, 1
je 0x411f8f
sub eax, 1
jne 0x411f96
lea eax, [ecx + 2]
jmp 0x411f98
mov eax, 0x2afa
jmp 0x411f98
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x4126db
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x4e8008]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x4ea650], 0
push ebx
mov ebx, str.getaddrinfo
mov dword [esp + 8], 0x4121a0
push ebp
mov bp, cx
mov dword [esp + 8], ebx
mov dword [esp + 0x10], str.getnameinfo
mov dword [esp + 0x14], 0x4124a0
mov dword [esp + 0x18], str.freeaddrinfo
mov dword [esp + 0x1c], fcn.004126a0
jne 0x412843
push 0x104
lea eax, [esp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x412839
push esi
push edi
lea eax, [esp + 0x134]
mov esi, 0x10c
push eax
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.0041f5db
push str.ws2_32
lea eax, [esp + 0x38]
push esi
push eax
call fcn.0041f7ac
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
xor edi, edi
test esi, esi
je 0x4127a6
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4127a2
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, edi
test esi, esi
jne 0x4127fb
lea eax, [esp + 0x134]
mov esi, 0x10c
push eax
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.0041f5db
push str.wship6
lea eax, [esp + 0x38]
push esi
push eax
call fcn.0041f7ac
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x412837
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4127f7
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, edi
test esi, esi
je 0x412837
mov ebx, edi
push dword [esp + ebx*8 + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + ebx*8 + 0x14], eax
test eax, eax
je 0x412818
inc ebx
cmp ebx, 3
jl 0x4127fd
jmp 0x412821
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, edi
test esi, esi
je 0x412837
mov eax, dword [esp + edi + 0x14]
mov dword [edi + 0x4e8974], eax
add edi, 8
cmp edi, 0x18
jl 0x412825
pop edi
pop esi
mov dword [0x4ea650], 1
mov ecx, dword [esp + 0x234]
movzx eax, bp
pop ebp
pop ebx
xor ecx, esp
mov eax, dword [eax*8 + 0x4e8974]
call fcn.00413912
add esp, 0x230
ret

Function at 0x42c032
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042beb1

Function at 0x4302c5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042fc33

Function at 0x4302d0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042fe6e
Function at 0x436b85
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov eax, esi
xor edx, edx
push edi
div dword [ebx + 8]
mov eax, dword [ebp + 0xc]
mov edi, edx
add eax, edi
sub esi, edi
push eax
push esi
push 0
push 6
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
lea ecx, [ebx + 0x18]
lea eax, [ebp - 4]
add edi, esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
call fcn.004011c7
mov ecx, dword [eax]
mov eax, edi
pop edi
mov dword [ecx + 0x14], esi
pop esi
pop ebx
leave
ret 8

Function at 0x436cf9
Capabilities:
Get system information on windows

Disassembly:
push 0x2c
mov eax, 0x4ac371
call fcn.0043538a
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [0x4e8960]
mov dword [edi], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
push 0x18
pop ecx
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004017cd
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
push eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1c]
mov dword [edi + 8], eax
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.00435353
ret

Function at 0x437142
Capabilities:
Create directory
Get file attributes

Disassembly:
push 8
mov eax, 0x4ac4b1
call fcn.0043538a
and dword [ebp - 4], 0
mov eax, dword [0x4e8960]
mov dword [ebp - 0x10], eax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jle 0x437177
push 0x3a
push eax
call fcn.00414ee6
pop ecx
pop ecx
test eax, eax
jne 0x43717c
or eax, 0xffffffff
jmp 0x437181
sub eax, dword [ebp + 8]
sar eax, 1
test eax, eax
lea esi, [eax + 2]
cmovs esi, eax
push esi
push 0x5c
lea ecx, [ebp + 8]
call fcn.00401ffc
mov esi, eax
test esi, esi
jns 0x4371a8
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402d8e
jmp 0x4371cd
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.00402d3f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push eax
call fcn.00402d8e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.004019df
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4371e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4371fe
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4371fe
cmp esi, 0xffffffff
je 0x437200
inc esi
jmp 0x437189
xor ebx, ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004019df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004019df
mov eax, ebx
call fcn.00435353
ret
Function at 0x4373ff
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x4ac555
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4e8008]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, dword [ebp + 0x80c]
mov esi, dword [ebp + 0x810]
mov dword [ebp - 0x1c], eax
lea eax, [ebp]
push 0x800
push ecx
push eax
mov dword [ebp - 0x14], ecx
call fcn.00415710
add esp, 0xc
lea eax, [ebp]
push ebx
push 0x400
push eax
push 0x4b923c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp - 0x10]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00402ae6
and dword [ebp - 4], 0
mov ecx, esi
push 0x4b9098
push 0x4b909c
mov dword [ebp - 0x14], 1
call fcn.0040243d
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 + 0x800]
xor ecx, ebp
call fcn.00413912
add ebp, 0x804
leave
ret
Function at 0x437e58
Capabilities:
Encode data using base64

Disassembly:
push 0x1c
mov eax, 0x4ac771
call fcn.0043538a
mov esi, ecx
mov dword [ebp - 0x20], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
mov dword [ebp - 4], ebx
mov esi, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], ebx
test eax, eax
je 0x43802b
push 3
pop edi
jmp 0x437e9f
mov edx, dword [ebp - 0x24]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 0x14], al
inc esi
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov dl, byte [ebp - 0x13]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp esi, edi
jne 0x437f57
mov edi, dword [ebp - 0x20]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov esi, ebx
mov ebx, dword [ebp - 0x1c]
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x4e89f4], 0x10
mov ecx, 0x4e89e0
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x4e89e0]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.0040307e
inc ebx
mov eax, ebx
push 0x4c
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x437f3e
push 0x4bbbdc
mov ecx, edi
call fcn.004030bf
inc esi
cmp esi, 4
jl 0x437f01
mov dl, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov dword [ebp - 0x1c], ebx
xor ebx, ebx
push 3
mov esi, ebx
pop edi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x437e9c
mov dword [ebp - 0x24], esi
test esi, esi
je 0x43802b
mov eax, esi
cmp esi, edi
jge 0x437f8d
cmp eax, edi
jae 0x438034
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, edi
jl 0x437f75
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x438016
mov edi, dword [ebp - 0x20]
mov esi, eax
cmp dword [0x4e89f4], 0x10
mov ecx, 0x4e89e0
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x4e89e0]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.0040307e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
push 0x4c
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x43800b
push 0x4bbbdc
mov ecx, edi
call fcn.004030bf
inc ebx
cmp ebx, esi
jl 0x437fca
mov esi, dword [ebp - 0x24]
push 3
pop edi
cmp esi, edi
jge 0x43802b
sub edi, esi
mov ecx, dword [ebp - 0x20]
push 0x3d
call fcn.0040307e
sub edi, 1
jne 0x43801c
mov eax, dword [ebp - 0x20]
call fcn.00435353
ret
call fcn.00413abb
int3
Function at 0x438348
Capabilities:
Get file size

Disassembly:
push 0x18
mov eax, 0x4ac8c5
call fcn.0043538a
mov eax, dword [0x4e8960]
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov eax, dword [eax + 0x98]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp byte [eax + 0xd], 0
jne 0x4383e6
add eax, 0x18
lea ecx, [ebp - 0x10]
push eax
call fcn.0040180b
mov byte [ebp - 4], 1
push 0
push 0
push 3
push 0
push 3
push connect
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4383cd
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push ebx
test eax, eax
je 0x4383c7
add edi, dword [ebp - 0x24]
adc esi, dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004019df
lea ecx, [ebp - 0x18]
call fcn.00401159
mov eax, dword [ebp - 0x18]
jmp 0x43837c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004019df
mov eax, edi
mov edx, esi
call fcn.00435353
ret 4
Function at 0x43a6fa
Capabilities:
Get file size

Disassembly:
push 0x1c
mov eax, 0x4ace5c
call fcn.0043538a
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x4e8960]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], eax
and dword [ebp - 4], 0
xor ebx, ebx
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
cmp dword [ecx + 0x9c], ebx
jle 0x43a79f
push ebx
call fcn.0043a9aa
push 0
lea ecx, [eax + 4]
call fcn.00402bdb
push eax
lea ecx, [ebp - 0x14]
call fcn.00402ae6
mov byte [ebp - 4], 1
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push connect
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x43a787
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 0x10]
test eax, eax
je 0x43a781
add edi, dword [ebp - 0x28]
adc esi, dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004019df
mov ecx, dword [ebp - 0x1c]
inc ebx
cmp ebx, dword [ecx + 0x9c]
jl 0x43a72d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004019df
mov eax, edi
mov edx, esi
call fcn.00435353
ret

Function at 0x43af94
Capabilities:
Get file size
Get file system object information

Disassembly:
sub esp, 0x2c4
mov eax, dword [0x4e8008]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2d0]
mov ebx, ecx
push esi
mov esi, dword [esp + 0x2dc]
push edi
mov edi, dword [esp + 0x2dc]
and dword [ebp], 0
push str.Unknown
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.Unknown
push eax
mov ecx, edi
call fcn.00401974
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push connect
mov dword [esi], eax
mov dword [esi + 4], eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43b00a
xor eax, eax
jmp 0x43b072
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x43b027
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
push 0x701
push 0x2b4
lea eax, [esp + 0x24]
push eax
push 0
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x1c]
mov dword [ebp], eax
lea eax, [esp + 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x230]
push ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.00401974
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x2d0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00413912
add esp, 0x2c4
ret 0xc
Function at 0x43ba10
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x4ad44f
call fcn.0043538a
mov esi, ecx
push ecx
call fcn.0040d3e8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43bac1
xor edi, edi
or eax, 0xffffffff
push edi
push edi
push 0x1004
push dword [esi + 0x44]
mov dword [ebp - 0x10], eax
xor ebx, ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x43bac1
push 2
push edi
push 0x102c
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x43ba66
mov dword [ebp - 0x10], edi
inc ebx
push 0
push 0
push 0x1004
push dword [esi + 0x44]
inc edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, eax
jl 0x43ba4d
cmp ebx, 1
jne 0x43bac1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0043a9aa
test eax, eax
je 0x43bac1
add eax, 4
lea ecx, [ebp - 0x10]
push eax
call fcn.0040180b
xor eax, eax
mov dword [ebp - 4], eax
push ebx
push eax
push eax
push dword [ebp - 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004019df
xor eax, eax
call fcn.00435353
ret 0x10

Function at 0x43c2f2
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4ad5c2
call fcn.0043538a
push ecx
call fcn.0040d3e8
test eax, eax
je 0x43c34f
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xc], 0
jl 0x43c34f
push dword [ecx + 0xc]
mov ecx, eax
call fcn.0043a9aa
test eax, eax
je 0x43c34f
add eax, 4
lea ecx, [ebp - 0x10]
push eax
call fcn.0040180b
xor eax, eax
mov dword [ebp - 4], eax
push 1
push eax
push eax
push dword [ebp - 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004019df
xor eax, eax
call fcn.00435353
ret 0xc
Function at 0x43ca50
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
neg esi
push edi
sbb esi, esi
mov edi, ecx
and esi, 5
push esi
push dword [edi + 0x100]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [edi + 0x104]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [edi + 0x108]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [edi + 0x10c]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [edi + 0xfc]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [edi + 0x190]
call fcn.0040e45c
cmp dword [esp + 0xc], 0
je 0x43cac8
push 0
push dword [edi + 0xa4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [edi + 0x104]
jmp 0x43cace
push dword [edi + 0x180]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
ret 4
Function at 0x43d470
Capabilities:
Hide graphical window

Disassembly:
push 0xc
mov eax, 0x4ad7c4
call fcn.0043538a
mov edi, ecx
call fcn.00444280
mov ebx, eax
xor eax, eax
push eax
cmp dword [ebx + 0x48], eax
je 0x43d540
lea ecx, [ebx + 8]
call fcn.00439a00
mov ecx, eax
call fcn.0043ab61
push edx
push eax
lea ecx, [ebp - 0x14]
call fcn.00436ffe
pop ecx
pop ecx
and dword [ebp - 4], 0
mov eax, dword [0x4e8960]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov ecx, ebx
push str.SubHeaderText
push str.MainDlg
push eax
call fcn.00444200
mov byte [ebp - 4], 2
push esi
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0040240b
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004019df
push dword [ebp - 0x10]
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_FlashWindow]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.004019df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004019df
jmp 0x43d54c
push eax
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
call fcn.00435353
ret 0x10

Function at 0x43d760
Capabilities:
Get graphical window text

Disassembly:
push 0x814
mov eax, 0x4ad871
call fcn.004353be
mov esi, ecx
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00415710
mov eax, dword [0x4e8960]
add esp, 0xc
mov dword [ebp - 0x818], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x814], eax
mov byte [ebp - 4], 1
mov edi, 0x400
push edi
lea eax, [ebp - 0x810]
push eax
push dword [esi + 0x104]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x810]
push ecx
push eax
lea ecx, [ebp - 0x818]
call fcn.00401974
push edi
lea eax, [ebp - 0x810]
push eax
push dword [esi + 0x10c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x810]
push ecx
push eax
lea ecx, [ebp - 0x814]
call fcn.00401974
call fcn.00444280
push ecx
mov ecx, esp
mov dword [ebp - 0x81c], esp
lea esi, [eax + 8]
lea eax, [ebp - 0x814]
push eax
call fcn.0040180b
mov byte [ebp - 4], 2
lea eax, [ebp - 0x818]
push ecx
mov ecx, esp
mov dword [ebp - 0x820], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0043905c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x814]
call fcn.004019df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.004019df
xor eax, eax
call fcn.00435368
ret 0x10
Function at 0x43d880
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push 0x81c
mov eax, 0x4ad8e6
call fcn.004353be
mov ebx, ecx
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00415710
mov eax, dword [0x4e8960]
add esp, 0xc
mov dword [ebp - 0x818], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x814], eax
mov byte [ebp - 4], 1
mov esi, 0x400
push esi
lea eax, [ebp - 0x810]
push eax
push dword [ebx + 0x104]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x810]
push ecx
push eax
lea ecx, [ebp - 0x818]
call fcn.00401974
push esi
lea eax, [ebp - 0x810]
push eax
push dword [ebx + 0x10c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x810]
push ecx
push eax
lea ecx, [ebp - 0x814]
call fcn.00401974
call fcn.00444280
push ecx
mov edi, eax
mov dword [ebp - 0x828], esp
lea eax, [ebp - 0x814]
mov dword [ebp - 0x81c], edi
mov ecx, esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 2
lea eax, [ebp - 0x818]
push ecx
mov ecx, esp
mov dword [ebp - 0x824], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [edi + 8]
call fcn.0043905c
test eax, eax
jne 0x43da44
push str.RTLReading
push str.Settings
lea eax, [ebp - 0x820]
mov ecx, edi
push eax
call fcn.00444200
mov byte [ebp - 4], 4
push 0x4b9b38
push dword [ebp - 0x820]
call fcn.0041cf7d
pop ecx
pop ecx
xor edi, edi
mov ecx, 0x100000
test eax, eax
lea eax, [ebp - 0x828]
push str.InvalidEmailCaption
push str.MainDlg
cmove edi, ecx
mov ecx, dword [ebp - 0x81c]
push eax
call fcn.00444200
mov byte [ebp - 4], 5
mov esi, dword [eax]
lea eax, [ebp - 0x824]
mov ecx, dword [ebp - 0x81c]
push str.InvalidEmailText
push str.MainDlg
push eax
call fcn.00444200
mov byte [ebp - 4], 6
push edi
push esi
push dword [eax]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x824]
call fcn.004019df
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x828]
call fcn.004019df
push dword [ebx + 0x104]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x820]
call fcn.004019df
jmp 0x43da6e
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
push 1
call fcn.0043c940
lea ecx, [ebx + 0x1b0]
push ecx
push 0
call fcn.0044a72f
mov ecx, edi
call fcn.004445d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x814]
call fcn.004019df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.004019df
xor eax, eax
call fcn.00435368
ret 0x10