joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0360
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4f6b
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
call int.00401a00
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
mov ecx, eax
call fcn.00401c60
test al, al
je 0x4c0587
call fcn.0040ec40
mov esi, eax
test esi, esi
je 0x4c0587
test ebx, ebx
je 0x4c0587
cmp word [ebx], 0
je 0x4c0587
push ebx
lea ecx, [ebp - 0x240]
call fcn.004102c0
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4c0452
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x4c0452
push ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4c0452
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0430
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00409db0
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x224]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push esi
movq qword [ebp - 0x224], xmm0
call fcn.004c92c0
push 0x34
lea eax, [ebp - 0x274]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea edi, [ebp - 0x240]
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x224]
cmovae edi, dword [ebp - 0x240]
call fcn.004c94b0
mov esi, eax
test esi, esi
je 0x4c057c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x228]
push 4
push 0
push 4
mov dword [esi], 0x110
mov dword [esi + 4], 0
mov dword [esi + 0x3c], 3
mov dword [esi + 0x44], 0x70
push eax
mov dword [ebp - 0x228], ecx
mov ecx, esi
push 0
call fcn.00420fc0
test al, al
je 0x4c057c
push 1
push 0
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x278], edi
call fcn.0040f090
push eax
push edi
push 1
mov ecx, esi
call fcn.00420fc0
test al, al
je 0x4c057c
push 6
push 1
push 0x208
push ebx
push 2
mov ecx, esi
mov dword [ebp - 0x27c], 0x208
mov dword [ebp - 0x278], ebx
call fcn.00420fc0
test al, al
je 0x4c057c
lea eax, [ebp - 0x274]
push eax
push esi
lea ecx, [ebp - 0x224]
call fcn.004c92e0
mov edi, eax
cmp edi, 0xa
je 0x4c05ac
mov ecx, dword [esi + 0x5c]
add ecx, esi
push ecx
lea ecx, [ebp - 0x27c]
call fcn.0041d770
lea ecx, [ebp - 0x224]
push esi
test al, al
jne 0x4c05a7
call fcn.004101e0
lea ecx, [ebp - 0x240]
call fcn.0040a580
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 0xc
call fcn.004101e0
test edi, edi
jne 0x4c057c
lea ecx, [ebp - 0x240]
call fcn.0040a580
lea eax, [edi + 1]
jmp 0x4c0589
Function at 0x4c3850
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov dword [esi + 0x24], 0
test eax, eax
je 0x4c3886
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4c389b
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov dword [esi + 8], 0
cmp dword [esi + 0x1c], 0
je 0x4c38cc
cmp dword [esi + 0x20], 8
lea eax, [esi + 0xc]
jb 0x4c38ad
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esi + 0x1c], 0
lea eax, [esi + 0xc]
cmp dword [esi + 0x20], 8
jb 0x4c38c7
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4c3971
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x5dcb70
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4c3971
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
movaps xmm0, xmmword [0x5dcbf0]
lea eax, [ebp - 0x424]
push 0
push eax
push 0
push 0
movups xmmword [ebp - 0x424], xmm0
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
lea edx, [ebp - 0x20c]
mov dword [esi + 4], eax
mov dword [esi + 8], 0
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4c3946
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
lea ecx, [esi + 0xc]
push edx
push eax
call fcn.00409db0
push dword [esi + 0x44]
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x28], 0
xor ecx, ebp
pop esi
call int.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x4c3d20
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4c3d3b
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4c3d50
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov dword [esi + 8], 0
cmp dword [esi + 0x1c], 0
je 0x4c3d87
cmp dword [esi + 0x20], 8
push edi
lea edi, [esi + 0xc]
mov eax, edi
jb 0x4c3d64
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x4c3d7a
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
pop edi
mov dword [esi + 0x24], eax
mov dword [esi], eax
pop esi
ret
mov dword [esi + 0x24], 0
mov dword [esi], 0
pop esi
ret
Function at 0x4f2870
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a856b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x238], edi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x4f28b6
mov al, 1
jmp 0x4f2a0f
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4f28c2
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4f28e1
cmp eax, 0x50
je 0x4f28e1
cmp eax, 0xb7
jne 0x4f2a0d
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea ecx, [ebp - 0x234]
push esi
call fcn.0040b170
mov edi, dword [edi]
lea edx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
mov dword [ebp - 4], 0
cmovae edx, dword [ebp - 0x234]
mov eax, dword [edi]
push edx
push 0
push 0
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
test eax, eax
jne 0x4f29e6
mov edi, dword [ebp - 0x220]
lea esi, [ebp - 0x234]
cmp edi, 8
lea ecx, [ebp - 0x21c]
mov eax, ecx
mov edx, 0x105
cmovae esi, dword [ebp - 0x234]
sub esi, eax
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x4f2981
movzx eax, word [esi + ecx]
test ax, ax
je 0x4f2981
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4f2963
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edx, edx
je 0x4f29ec
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x4f29e6
push 0x5c0e34
push 0x105
lea eax, [ebp - 0x21c]
push eax
call fcn.004471d0
test eax, eax
js 0x4f29e6
mov edi, dword [ebp - 0x238]
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
mov edi, dword [edi]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
test eax, eax
sete bl
mov edi, dword [ebp - 0x220]
mov dword [ebp - 4], 1
cmp edi, 8
jb 0x4f2a0d
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call fcn.0040a5e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 4

Function at 0x4f2a30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x10], 0
je 0x4f2a80
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4f2a4a
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4f2a80
cmp dword [esi + 0x14], 8
mov edi, dword [edi]
jb 0x4f2a5f
mov esi, dword [esi]
mov eax, dword [edi]
push esi
push 5
push 2
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
test eax, eax
pop edi
sete al
pop esi
pop ebp
ret 4
pop edi
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x500800
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9122
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0
xor ecx, ecx
mov esi, 0x6353a4
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x500997
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x20019
push 0x5eb880
push 0x80000002
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0040dd20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
push str.Path
mov ecx, eax
mov dword [ebp - 0x44], 1
call fcn.0040bc60
test eax, eax
jne 0x5008be
cmp dword [ebp - 0x30], eax
je 0x5008be
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5008be
mov bl, 1
jmp 0x5008c0
xor bl, bl
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
call fcn.0040c880
test bl, bl
je 0x5008da
mov ecx, 1
jmp 0x500948
push 0x20019
push str.SOFTWAREMicrosoftOffice11.0OutlookInstallRoot
push 0x80000002
lea ecx, [ebp - 0x50]
call fcn.0040dd20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push str.Path
mov ecx, eax
mov dword [ebp - 0x44], 2
call fcn.0040bc60
test eax, eax
jne 0x50092f
cmp dword [ebp - 0x18], eax
je 0x50092f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x50092f
mov bl, 1
jmp 0x500931
xor bl, bl
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
call fcn.0040c880
xor ecx, ecx
test bl, bl
sete cl
inc ecx
mov byte [ebp - 4], 4
xor eax, eax
lock cmpxchg dword [esi], ecx
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x500967
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 5
cmp eax, 8
jb 0x500997
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [esi], ecx
cmp eax, 1
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x51aa90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push ebx
mov bh, byte [ebp + 0x24]
xor bl, bl
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
push edi
mov edi, dword [ebp + 0x18]
test eax, eax
je 0x51aad0
mov dword [eax], 0
test edi, edi
je 0x51aada
mov dword [edi], 0
cmp dword [esi + 0x10], 0
je 0x51abc2
push 0
push esi
call fcn.004303e0
add esp, 8
test al, al
jne 0x51abc2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x51ab01
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x51abc2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x51ab1a
mov eax, dword [esi]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x51abc2
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], 0
cmp dword [ecx + 0x10], 0
jne 0x51ab3d
xor ecx, ecx
jmp 0x51ab45
cmp dword [ecx + 0x14], 8
jb 0x51ab45
mov ecx, dword [ecx]
cmp dword [esi + 0x14], 8
jb 0x51ab4d
mov esi, dword [esi]
push 0
xor edx, edx
lea eax, [ebp - 8]
test edi, edi
cmove eax, edx
test bh, bh
push eax
push dword [ebp - 0x10]
mov eax, 0x5ee600
push str.exefile
push dword [ebp + 0x1c]
push 1
push ecx
mov ecx, str.open
push esi
cmove eax, ecx
push eax
push dword [ebp - 0x14]
call fcn.004b00c0
add esp, 0x28
test al, al
je 0x51abc2
test edi, edi
je 0x51abc0
cmp dword [ebp - 8], 0
je 0x51abc0
push 1
push 0
push 0
call fcn.004798d0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push edi
mov eax, dword [eax + 4]
push dword [eax]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x51abc0
mov dword [edi], eax
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret 0x20
Function at 0x527da0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abc70
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0xec], 0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x30], esi
mov dword [edi + 0x110], 2
mov dword [edi + 0xf4], ebx
jne 0x527df9
mov eax, 2
jmp 0x527f50
push 0
push ebx
call fcn.00525790
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x527f1b
test ebx, ebx
je 0x527e1d
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [edi + 4]
mov byte [edi + 0x10c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x527f05
nop word [eax + eax]
mov eax, dword [ebp - 0x28]
cmp eax, 0x100
jb 0x527e61
cmp eax, 0x109
jbe 0x527e6b
add eax, 0xfffffe00
cmp eax, 0xe
ja 0x527ecd
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x527ea5
push esi
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [edi + 4]
je 0x527ea5
nop dword [eax]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [edi + 4]
jne 0x527e90
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x37f
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
je 0x527ee1
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x527ee1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [edi + 0x10c], 0
je 0x527f02
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x527e50
mov esi, dword [ebp - 0x30]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
test ebx, ebx
je 0x527f1b
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0052dc70
push eax
mov ecx, esi
call fcn.00410e40
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], 0
cmp eax, 8
jb 0x527f4a
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.0040a5e0
mov eax, dword [edi + 0x110]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 8
Function at 0x52b920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abdab
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x13c], ebx
mov esi, dword [0x635d28]
mov edi, 1
mov eax, dword [ebp + 0x14]
push 0xf0
push 0x71
push esi
mov dword [ebp - 0x144], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x52ba63
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x52ba63
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x52ba63
mov edx, 0x1234
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x52ba63
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x140], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x52ba9d
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
push 3
push esi
call fcn.00529d50
push dword [ebp - 0x114]
mov dword [ebp - 4], 0
push 0
push 0x143
push ebx
mov ebx, dword [ebp - 0x13c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x114]
cmove edi, ecx
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x52ba50
push eax
call fcn.0040a1b5
add esp, 4
mov edx, 0x1234
add esi, dword [ebp - 0x140]
test edi, edi
jne 0x52b9a6
push 1
push ebx
call fcn.00521dd0
mov eax, dword [ebp - 0x144]
add esp, 8
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 0x10
cmp dx, ax
jne 0x52bb1a
push 3
lea eax, [ebp - 0x244]
mov dword [ebp - 0x138], 1
push esi
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x248], eax
call fcn.00529d50
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x130], eax
cmp eax, ecx
je 0x52baef
push eax
call fcn.0040a1b5
add esp, 4
lea eax, [ebp - 0x138]
push eax
push 0
push 0x40b
push ebx
mov ebx, dword [ebp - 0x13c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
jmp 0x52ba50
mov ebx, dword [ebp - 0x13c]
jmp 0x52ba55
Function at 0x534cc0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x38]
mov dword [ebp - 4], 1
test eax, 0x100000
jne 0x534e34
and eax, 0x30000
cmp eax, 0x20000
je 0x534e34
cmp dword [ebp + 0x18], 0
je 0x534e34
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x534e34
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x4c]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0
push dword [ebp + 0x18]
lea eax, [ebp + 8]
movlpd qword [ebp - 0x40], xmm0
cmovae eax, dword [ebp + 8]
push eax
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x534e34
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x534d9e
cmp eax, 4
jne 0x534e34
cmp dword [ebp + 0x30], 0
je 0x534e34
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x534e34
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x4c]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0
push dword [ebp + 0x30]
lea eax, [ebp + 0x20]
movlpd qword [ebp - 0x40], xmm0
cmovae eax, dword [ebp + 0x20]
push eax
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x534e34
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x534e20
cmp eax, 4
jne 0x534e34
push 1
lea eax, [ebp + 8]
push eax
push dword [esi + 0xec]
call fcn.004d94b0
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x534e4d
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 4], 3
cmp eax, 8
jb 0x534e7d
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.0040a5e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 0x34
Function at 0x5356b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
push 5
push dword [edi + 0xe8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0xe8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 5
push dword [edi + 0xe8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 7
push dword [edi + 0xe8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebp + 8], 0
je 0x535713
push dword [edi + 0xe8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x631b08]
test eax, eax
jne 0x53572f
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0xde], 0
mov dword [ebp - 0x24], eax
je 0x535802
push esi
push 0x1cff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x24]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 1
ja 0x535801
test eax, eax
je 0x5357f7
cmp eax, 1
jne 0x5357e8
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x5357e8
mov esi, dword [edi + 8]
test esi, esi
je 0x5357be
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0x24]
cmp ecx, eax
je 0x5357a5
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x5357be
lea eax, [ebp - 0x20]
push eax
push 0
push 0x37f
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
je 0x5357d2
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x535785
cmp byte [edi + 0xde], 0
jne 0x535740
jmp 0x535801
mov dword [edi + 0xc0], 2
pop esi
cmp dword [edi + 0xc0], 1
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
call int.004016cd
mov esp, ebp
pop ebp
ret 4
Function at 0x5361c0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
push edi
lea edi, [esi + 0x10]
je 0x536266
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5361f0
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x536266
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x38], 1
jb 0x536239
mov esi, dword [esi]
lea eax, [ebp - 0x40]
push eax
push 0
push dword [edi]
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov ecx, eax
test ecx, ecx
je 0x536253
mov eax, dword [ebp - 0x34]
mov dword [ebx], eax
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret