joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430615
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
mov edi, eax
lea eax, [edi + 0x454]
push eax
mov edx, 0x5d1928
mov ecx, 0x824
call fcn.00408533
call fcn.00410754
xor ebx, ebx
mov dword [edi + 0x330], ebx
mov esi, eax
cmp dword [0x5d8028], ebx
je 0x430656
mov dword [edi + 0x330], 1
jmp case.0x430684.5
cmp dword [0x5d802c], ebx
je 0x43066a
mov dword [edi + 0x330], 8
jmp case.0x430684.5
cmp esi, ebx
je case.0x430684.5
push ebx
mov ecx, str.__type
call fcn.004988d1
pop ecx
push 8
add eax, 0xfffffffe
pop ecx
cmp eax, ecx
ja case.0x430684.5
jmp dword [eax*4 + 0x430779]
mov dword [edi + 0x330], 7
jmp case.0x430684.5
mov dword [edi + 0x330], 3
jmp case.0x430684.5
mov dword [edi + 0x330], 2
jmp case.0x430684.5
mov dword [edi + 0x330], 6
jmp case.0x430684.5
mov dword [edi + 0x330], ecx
jmp case.0x430684.5
mov dword [edi + 0x330], 9
jmp case.0x430684.5
mov dword [edi + 0x330], 4
jmp case.0x430684.5
mov dword [edi + 0x330], 0xa
mov eax, dword [0x5d78ac]
mov dword [edi + 0x32c], eax
mov eax, dword [0x64a6f4]
mov dword [edi + 0x334], eax
mov eax, dword [0x5d13d4]
mov dword [edi + 0x338], eax
mov eax, dword [0x5d1620]
mov dword [edi + 0x33c], eax
mov eax, dword [0x5d4f9c]
push ebx
mov dword [edi + 0x340], eax
call fcn.005334f8
pop ecx
mov dword [edi + 0x348], eax
mov dword [edi + 0x34c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x350], eax
cmp esi, ebx
je 0x430743
mov eax, esi
jmp 0x430749
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [edi + 0x149e]
push ecx
mov edx, eax
mov ecx, 0x825
call fcn.00408533
add edi, 0x354
push edi
mov edx, 0x5d1628
mov ecx, 0x80
call fcn.00408533
pop edi
pop esi
pop ebx
ret
add byte [eax], al
push dword [edi]
call esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp + 8], eax
xor eax, eax
push eax
push 0x1104
push dword [edi]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
call esi
test eax, eax
je 0x46f04e
mov edx, dword [ebp + 0xc]
cmp dword [ebp + 8], edx
je 0x46f044
mov eax, dword [ebp - 0x28]
add eax, 3
cmp dword [ebp + 0x18], eax
jg 0x46f02c
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.0046dd8c
jmp 0x46f04e
mov eax, dword [ebp - 0x20]
add eax, 0xfffffffd
cmp dword [ebp + 0x18], eax
jl 0x46f044
push dword [ebp + 0x10]
mov ecx, ebx
push edx
call fcn.0046e3a3
jmp 0x46f04e
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.0046e9b9
lea esi, [ebp - 0x44]
call fcn.00472ee9
call fcn.00539ab3
ret 0x14
Function at 0x4313f7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
inc dword [0x5d1620]
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x431511
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 8
push esi
call edi
test eax, eax
jne 0x431511
push 0x50
push dword [esi]
call edi
test eax, eax
jne 0x431511
push 0x50
push dword [esi + 4]
call edi
test eax, eax
jne 0x431511
push ebx
mov edi, 0x2568
push edi
call fcn.0052fe0a
push edi
mov ebx, eax
push 0
push ebx
call fcn.00537010
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebx + 0x324], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x328], eax
mov esi, dword [esi + 4]
mov eax, dword [ebp + 8]
push 0x14
lea edi, [ebx + 0x50]
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov esi, dword [eax]
pop ecx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x431209
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push 0x493e0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4314bd
push ebx
call fcn.0052f7c5
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edi, edi
inc edi
cmp dword [eax], 0xc00000fd
pop ebx
jne 0x43150d
xor eax, eax
cmp eax, fcn.00535b1f
je 0x4314ea
call fcn.00535b1f
test eax, eax
je 0x4314ea
or edi, 0xffffffff
mov eax, dword [0x5d2990]
cmp eax, esi
je 0x43150d
lea ecx, [ebp + 8]
push ecx
mov dword [ebp + 8], esi
call eax
add dword [ebp + 8], 0x200000
lea eax, [ebp + 8]
push eax
call dword [0x5d2990]
mov eax, edi
jmp 0x431514
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 4
Function at 0x431986
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push 0x35c
mov eax, 0x5633fe
call fcn.00539a44
push 0x62f48
call fcn.0052fe0a
pop ecx
mov dword [ebp - 0x364], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4319b8
push eax
call fcn.0049052a
mov esi, eax
jmp 0x4319ba
xor esi, esi
or dword [ebp - 4], 0xffffffff
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x328], ax
lea eax, [ebp - 0x326]
push eax
call fcn.00537010
add esp, 0xc
push str.crashup.dat
push 0x5d824c
push 0x57c6a4
mov edi, 0x104
lea eax, [ebp - 0x328]
push edi
push eax
call fcn.00532a01
add esp, 0x14
push esi
call fcn.00490aac
push 0x5d2998
mov eax, esi
call fcn.0042bd35
lea eax, [ebp - 0x328]
xor ebx, ebx
push eax
inc ebx
mov eax, esi
mov dword [esi + 0x2468], ebx
mov dword [esi + 0x26b0], 0x1d4c0
call fcn.0042bd69
call fcn.004909e9
push 0xa
mov eax, esi
call fcn.00490da0
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
lea eax, [ebp - 0x328]
push eax
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431b41
lea eax, [ebp - 0x328]
push 0x57c6dc
push eax
call fcn.00532206
pop ecx
pop ecx
mov dword [ebp - 0x364], eax
test eax, eax
je 0x431b36
push edi
lea eax, [ebp - 0x117]
push esi
push eax
mov byte [ebp - 0x118], 0
call fcn.00537010
add esp, 0xc
push dword [ebp - 0x364]
lea eax, [ebp - 0x118]
push edi
push ebx
push eax
call fcn.005325fd
add esp, 0x10
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x360]
call fcn.0040319e
push str._dumpid_:_
lea eax, [ebp - 0x360]
push eax
mov dword [ebp - 4], ebx
call fcn.004185c5
cmp eax, 0xffffffff
je 0x431b1c
push 0xffffffffffffffff
push 0xb
lea eax, [ebp - 0x360]
push eax
lea esi, [ebp - 0x344]
call fcn.00405bfc
cmp dword [ebp - 0x32c], 0x10
mov eax, dword [ebp - 0x340]
jae 0x431b05
lea eax, [ebp - 0x340]
push eax
call fcn.00532ee3
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x344]
mov esi, eax
call fcn.00403211
push dword [ebp - 0x364]
call fcn.0052fd5d
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x360]
call fcn.00403211
lea ecx, [ebp - 0x328]
call fcn.00496aa0
mov eax, esi
call fcn.00539ac7
ret
Function at 0x431b49
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0xc]
mov esi, 0x823
push esi
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x827]
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x828], 0
call fcn.00537010
add esp, 0xc
cmp dword [ebp + 0x10], 0
push ebx
je 0x431c82
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
push esi
push eax
call fcn.00534db7
lea eax, [ebp - 0x828]
add esp, 0x18
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431bcb
sub eax, esi
push 0x580b3c
push ebx
mov esi, eax
call fcn.0052fb98
mov ebx, eax
pop ecx
pop ecx
mov dword [ebp - 0x82c], ebx
test ebx, ebx
je 0x431cd4
push 2
push 0
push ebx
call fcn.00530734
push ebx
call fcn.005327b7
push 0
push 0
push ebx
mov dword [ebp - 0x834], eax
call fcn.00530734
mov eax, dword [ebp - 0x834]
lea ebx, [eax + esi + 2]
add esp, 0x1c
cmp ebx, dword [edi]
jae 0x431c71
push esi
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.00537090
push dword [ebp - 0x82c]
mov eax, dword [ebp - 0x830]
push 1
push dword [ebp - 0x834]
add eax, esi
push eax
call fcn.005325fd
mov ecx, dword [ebp - 0x834]
mov eax, dword [ebp - 0x830]
add esp, 0x1c
add eax, ecx
mov ecx, 0xa0d
mov word [eax + esi], cx
mov dword [edi], ebx
jmp 0x431c74
and dword [edi], 0
push dword [ebp - 0x82c]
call fcn.0052fd5d
pop ecx
jmp 0x431cd7
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
push esi
push eax
call fcn.00534db7
lea eax, [ebp - 0x828]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x431cab
sub eax, ecx
mov esi, eax
cmp esi, dword [edi]
jae 0x431cd4
push esi
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.00537090
add esp, 0xc
mov dword [edi], esi
jmp 0x431cd7
and dword [edi], 0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0052f7d0
leave
ret
Function at 0x431ff2
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5633be
mov eax, dword fs:[0]
push eax
mov eax, 0x63570
call fcn.005482e0
mov eax, dword [0x5afee0]
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
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x63578]
xor ebx, ebx
push eax
mov dword [ebp - 0x63578], ebx
call fcn.00431ce5
add esp, 0x14
mov dword [ebp - 0x6357c], eax
cmp eax, ebx
je 0x4321b0
lea eax, [ebp - 0x63574]
push eax
call fcn.0049052a
xor eax, eax
mov esi, 0x206
mov dword [ebp - 4], ebx
push esi
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
push eax
call fcn.00537010
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push esi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.00537010
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x580bd4
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x63574]
push eax
call fcn.00490aac
push str.http:__crash.xinshuru.com_interface_dumpinfo_
lea eax, [ebp - 0x63574]
call fcn.0042bd35
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x63574]
call fcn.0042bd69
xor eax, eax
push esi
mov word [ebp - 0x62c], ax
lea eax, [ebp - 0x62a]
push ebx
push eax
mov dword [ebp - 0x60ec4], 0x2710
call fcn.00537010
add esp, 0xc
mov esi, str.___________________________7d9114302a0cb6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x43213b
xor eax, eax
jmp 0x432150
lea eax, [edi + edi]
call fcn.00539490
mov eax, esp
push 3
push edi
push esi
mov esi, eax
call fcn.00403c56
push eax
push str.multipart_form_data__boundary_s
lea eax, [ebp - 0x62c]
push 0x103
push eax
call fcn.00532a01
mov ecx, dword [ebp - 0x6357c]
add esp, 0x10
lea eax, [ebp - 0x62c]
push eax
push dword [ebp - 0x63578]
lea eax, [ebp - 0x63574]
call fcn.0042bd9d
lea esi, [ebp - 0x63574]
call fcn.004909e9
push 0xa
mov eax, esi
call fcn.00490da0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.004908b9
lea esp, [ebp - 0x6358c]
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.0052f7d0
leave
ret
Function at 0x4321d0
Capabilities:
Check if file exists
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0042f8b8
mov edi, eax
xor esi, esi
cmp edi, esi
jne 0x4321fd
or eax, 0xffffffff
jmp 0x432383
xor eax, eax
push 0x7e
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x86]
push esi
push eax
call fcn.00537010
add esp, 0xc
push esi
lea eax, [ebp - 0x88]
push 0x40
push eax
call fcn.0049a6b7
add esp, 0xc
xor eax, eax
push 0x208
mov word [ebp - 0x298], ax
lea eax, [ebp - 0x296]
push esi
push eax
mov dword [ebp - 0x29c], esi
call fcn.00537010
mov edx, edi
add esp, 0xc
lea eax, [ebp - 0x298]
mov edi, 0x104
push eax
mov ecx, edi
call fcn.00408533
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push ebx
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str..dmp
mov eax, edi
lea ecx, [ebp - 0x298]
call fcn.00413a2b
call fcn.0040abdb
mov edi, str.crash
call fcn.0040ac06
call fcn.00431986
mov dword [ebp - 0x2a0], eax
cmp eax, esi
lea eax, [ebp - 0x298]
jne 0x4322c8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432381
jmp 0x432374
push esi
push 0x80
push 3
push esi
push esi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x432381
lea eax, [ebp - 0x2a4]
push eax
push ebx
mov dword [ebp - 0x2a4], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, esi
mov dword [ebp - 0x29c], eax
jle 0x43236d
cmp eax, 0xa00000
jae 0x43236d
inc eax
push eax
call fcn.0052f69b
mov edi, eax
mov eax, dword [ebp - 0x29c]
pop ecx
inc eax
push eax
push esi
push edi
call fcn.00537010
add esp, 0xc
push esi
lea eax, [ebp - 0x29c]
push eax
push dword [ebp - 0x29c]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x29c]
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x2a0]
mov ecx, edi
call fcn.00431ff2
add esp, 0xc
push edi
call fcn.00530cbd
pop ecx
jmp 0x432374
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052f7d0
leave
ret
Function at 0x437f5f
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x624], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x628], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0x62c], eax
mov eax, dword [ebp + 0x20]
push esi
push edi
mov dword [ebp - 0x620], eax
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp - 0x414], ax
xor edi, edi
lea eax, [ebp - 0x412]
push edi
push eax
call fcn.00537010
movzx eax, byte [ebp + 0x14]
add esp, 0xc
sub eax, 0x20
mov esi, 0x104
je 0x43800f
dec eax
jne 0x43806c
push ebx
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00537010
mov eax, dword [0x5d8c74]
add esp, 0xc
cmp eax, edi
lea edi, [ebp - 0x20c]
jne 0x438007
push str.Default
push str.Cookies
push 0x57c6a4
jmp 0x43804f
push eax
push str.Cookies
jmp 0x43804a
xor eax, eax
push ebx
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00537010
mov eax, dword [0x5d8c74]
add esp, 0xc
cmp eax, edi
lea edi, [ebp - 0x20c]
jne 0x438044
push str.Default
push str.Temporary
jmp 0x438000
push eax
push str.Temporary
push str._s_d
push esi
call fcn.00403d4f
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
call fcn.00412e7d
xor edi, edi
xor eax, eax
cmp ax, word [ebp - 0x414]
je 0x43816a
push ebx
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push edi
push eax
call fcn.00537010
xor eax, eax
push ebx
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00537010
add esp, 0x18
push esi
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x61c]
push eax
push 0x5d824c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x20c]
call fcn.00496656
lea ebx, [ebp - 0x20c]
call fcn.0049699b
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov eax, ebx
push eax
call esi
xor ecx, ecx
mov word [ebp + eax*2 - 0x20e], cx
mov eax, ebx
push eax
cmp dword [ebp + 8], edi
je 0x438125
mov edi, dword [ebp - 0x620]
push 0x57cb68
push 0x103
call fcn.00403d4f
add esp, 0xc
jmp 0x438166
call esi
inc eax
cmp eax, 0x3fffffff
jle 0x438133
xor eax, eax
jmp 0x43814e
lea edi, [eax + eax]
mov eax, edi
call fcn.00539490
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.00403c89
mov edi, dword [ebp - 0x620]
push eax
push 0x577674
mov ecx, 0x103
call fcn.00403d7c
pop ecx
pop ecx
xor eax, eax
jmp 0x438197
cmp dword [ebp - 0x624], edi
je 0x438192
push dword [ebp - 0x620]
push dword [ebp + 0x1c]
push dword [ebp - 0x62c]
push dword [ebp + 0x14]
push dword [ebp - 0x628]
call dword [ebp - 0x624]
jmp 0x438197
mov eax, 0x80070057
lea esp, [ebp - 0x638]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052f7d0
leave
ret 0x1c
Function at 0x438540
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor bl, bl
cmp dword [0x5d788c], 0
push esi
mov dword [ebp - 0x418], eax
je 0x43857c
push eax
push str.shell32.dll
call fcn.00498a64
pop ecx
pop ecx
test eax, eax
je 0x43857c
inc bl
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00537010
add esp, 0xc
test bl, bl
je 0x4385d3
push 0
push 0x24
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43862d
lea eax, [ebp - 0x414]
push eax
push str._sexplorer.exe
push dword [ebp + 0xc]
push edi
call fcn.0052f7df
add esp, 0x10
jmp 0x438746
push dword [ebp - 0x418]
push str.urlmon.dll
call fcn.00498a64
pop ecx
pop ecx
test eax, eax
jne 0x43862b
push dword [ebp - 0x418]
push str.ieframe.dll
call fcn.00498a64
pop ecx
pop ecx
test eax, eax
jne 0x43862b
push dword [ebp - 0x418]
push str.wininet.dll
call fcn.00498a64
pop ecx
pop ecx
test eax, eax
jne 0x43862b
push dword [ebp - 0x418]
push str.iertutil.dll
call fcn.00498a64
pop ecx
pop ecx
test eax, eax
je 0x438694
mov bl, 1
xor eax, eax
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00537010
add esp, 0xc
push 0x103
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [0x5d8f54]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00532331
pop ecx
pop ecx
test eax, eax
je 0x438690
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp + 0xc]
push str._siexplore.exe
dec eax
push eax
push edi
call fcn.00532a01
jmp 0x4385cb
test bl, bl
jne 0x4386c6
push dword [ebp - 0x418]
push str.iedvtool.dll
call fcn.00498a64
pop ecx
pop ecx
test eax, eax
je 0x4386ac
mov bl, 1
test bl, bl
jne 0x4386c6
push dword [ebp - 0x418]
push str.mshtml.dll
call fcn.00498a64
pop ecx
pop ecx
test eax, eax
je 0x438707
push dword [ebp + 0xc]
push edi
push 0x577458
push str.CLSID1a6fe369_f28c_4ad9_a3e6_2bcb50807cf1InProcServer32
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHRegGetPathW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.iexplore.exe
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4386f7
sub eax, edx
sar eax, 1
jmp 0x438746
mov ecx, dword [ebp - 0x418]
call fcn.00498ab9
test eax, eax
je 0x438743
call fcn.004a47ce
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x438743
call fcn.004a47ce
push eax
mov eax, dword [ebp + 0xc]
push 0x57cb68
push 0xffffffffffffffff
dec eax
push eax
push edi
call fcn.0052f7fd
add esp, 0x14
jmp 0x438746
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0052f7d0
leave
ret
Function at 0x43974b
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp + 0x18]
and dword [esi], 0
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x4397c0
cmp word [ebx + 8], 2
jne 0x4397a0
cmp word [ebx + 0xa], 4
jne 0x4397a0
mov edi, dword [ebx + 0xc]
jmp 0x43979a
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004399a7
mov dword [esi], eax
test eax, eax
je 0x4397bb
lea esi, [eax + 0x1c]
add edi, 4
mov eax, dword [edi]
test eax, eax
jne 0x43977e
push 0x400
push dword [ebx]
push 0x401
push dword [ebp + 0x18]
call fcn.00535dce
add esp, 0x10
xor eax, eax
jmp 0x4397e6
push 8
pop eax
jmp 0x4397e6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov eax, 0x2af9
sub ecx, eax
je 0x4397e6
dec ecx
je 0x4397e1
dec ecx
je 0x4397da
dec ecx
jmp 0x4397e6
mov eax, 0x2afb
jmp 0x4397e6
mov eax, 0x2afa
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x439ee7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5dbee0], 0
mov dword [ebp - 0x230], str.getaddrinfo
mov dword [ebp - 0x22c], 0x439a0e
mov dword [ebp - 0x228], str.getnameinfo
mov dword [ebp - 0x224], 0x439cdd
mov dword [ebp - 0x220], str.freeaddrinfo
mov dword [ebp - 0x21c], fcn.00439ea8
jne 0x43a069
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x43a05f
push ebx
push esi
push edi
lea eax, [ebp - 0x218]
push eax
mov esi, 0x10c
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00535c8a
push str.ws2_32
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00531625
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x439fc0
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x439fbc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
jne 0x43a015
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00535c8a
push str.wship6
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00531625
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x43a05c
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x43a011
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x43a05c
xor esi, esi
push dword [ebp + esi*8 - 0x230]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + esi*8 - 0x22c], eax
test eax, eax
je 0x43a038
inc esi
cmp esi, 3
jl 0x43a017
jmp 0x43a041
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x43a05c
xor eax, eax
mov ecx, dword [ebp + eax - 0x22c]
mov dword [eax + 0x5bb720], ecx
add eax, 8
cmp eax, 0x18
jl 0x43a047
pop edi
pop esi
pop ebx
mov dword [0x5dbee0], 1
movzx eax, word [ebp + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [eax*8 + 0x5bb720]
xor ecx, ebp
call fcn.0052f7d0
leave
ret 4
Function at 0x43b7a9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x18
call fcn.0052fe0a
pop ecx
test eax, eax
je 0x43b81a
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x14], ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push fcn.0043b81c
push 0x200000
push 0
mov dword [eax], 1
mov dword [eax + 0xc], esi
call fcn.0053364a
add esp, 0x18
test eax, eax
je 0x43b804
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
jne 0x43b81a
cmp dword [0x5d14d0], 0
jne 0x43b81a
mov eax, dword [ebp - 4]
mov dword [0x5d14d0], eax
leave
ret