joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017497
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10066c40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10021ab6
mov dword [ebp - 0x14], eax
cmp dword [0x10067cf4], edi
jne 0x10017588
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x10017515
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10017668
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10017668
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10017668
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x10067cf4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x10067cf8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10067cfc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10067d04], eax
test eax, eax
je 0x10017585
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10067d00], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100175ad
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100175a0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x100175c2
push 4
pop eax
jmp 0x1001766a
cmp dword [ebp - 0x14], edi
je 0x100175c2
push dword [0x10067cf4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100175a7
mov eax, dword [0x10067d00]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x10017620
cmp dword [0x10067d04], esi
je 0x10017620
push eax
call ebx
push dword [0x10067d04]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10017620
test eax, eax
je 0x10017620
call ecx
test eax, eax
je 0x10017615
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10017615
test byte [ebp - 8], 1
jne 0x10017620
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10017650
mov eax, dword [0x10067cf8]
cmp eax, esi
je 0x1001764d
push eax
call ebx
test eax, eax
je 0x1001764d
call eax
mov edi, eax
test edi, edi
je 0x1001764d
mov eax, dword [0x10067cfc]
cmp eax, esi
je 0x1001764d
push eax
call ebx
test eax, eax
je 0x1001764d
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10067cf4]
call ebx
test eax, eax
je 0x10017668
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1001766a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013dd7
leave
ret
Function at 0x1003255b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1001b38b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10032593
xor eax, eax
jmp 0x100325bf
cmp esi, dword [ebp - 4]
je 0x100325bc
cmp dword [ebp + 0xc], 0
je 0x100325bc
push dword [edi + 0x9c]
call fcn.10032169
push dword [edi + 0x9c]
mov esi, eax
call fcn.100160b9
pop ecx
pop ecx
cmp esi, eax
je 0x1003258f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x406060
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
add esp, 0xfffffffc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax + 0x38]
call sub.msvcrt.dll__read
leave
ret

Function at 0x40a93c
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40a964
mov dword [0x413164], eax
add esp, 0xfffffff8
push 0x40a900
push eax
call fcn.0040ed64
jmp 0x40a969
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x40a97c
mov dword [0x41235c], 0x40aa5c
jmp 0x40a986
mov dword [0x41235c], 0x40aa10
leave
ret
Function at 0x4ddcec
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x507085], 1
call fcn.004ae334
test al, al
jne 0x4ddd3e
push 5
mov eax, dword [0x500dc4]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x500dc4]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call fcn.00409ff4
push 0
push 1
push 1
mov eax, dword [0x500dd4]
mov eax, dword [eax + 0x120]
mov cl, 2
xor edx, edx
call fcn.004ddbd0
ret

Function at 0x4e0df8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 3
lea ebx, [ebp - 8]
lea esi, [ebp - 0xc]
lea edi, [ebp - 4]
movzx eax, byte [esi]
movzx edx, byte [ebx]
sub eax, edx
imul dword [ebp - 0x10]
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
movzx edx, byte [ebx]
add eax, edx
mov byte [edi], al
inc edi
inc esi
inc ebx
dec ecx
jne 0x4e0e1d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e3094
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x500974]
cmp dword [eax], 0
je 0x4e313f
mov eax, dword [0x500974]
mov eax, dword [eax]
call fcn.00463810
test al, al
je 0x4e313f
mov eax, dword [0x500974]
mov eax, dword [eax]
cmp byte [eax + 0x1e2], 0
je 0x4e30e9
cmp byte [ebx + 0x389], 0
jne 0x4e30e9
mov eax, dword [0x500dc4]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call fcn.00409e6c
test eax, eax
je 0x4e30ed
xor eax, eax
jmp 0x4e30ef
mov al, 1
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [0x500974]
mov eax, dword [eax]
call fcn.00463464
push eax
call fcn.00409de4
test eax, 0x10000000
setne al
cmp bl, al
je 0x4e313f
test bl, bl
je 0x4e312b
push 5
mov eax, dword [0x500974]
mov eax, dword [eax]
call fcn.00463464
push eax
call sub.user32.dll_ShowWindow
jmp 0x4e313f
push 0
mov eax, dword [0x500974]
mov eax, dword [eax]
call fcn.00463464
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4f9b64
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4f9e1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x500dc4]
mov eax, dword [eax]
mov edx, 0x4f9e38
call fcn.0047b97c
push 5
mov eax, dword [0x500dc4]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x4f9de5
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004ddf78
lea eax, [ebp - 0x10]
call fcn.0047f194
mov eax, dword [ebp - 0x10]
call fcn.0040de38
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0047ecf0
mov edx, dword [ebp - 0x14]
mov eax, 0x507140
call fcn.00406448
call fcn.004f7f04
lea ecx, [ebp - 0x18]
mov edx, 0x4f9e58
mov eax, dword [0x507140]
call fcn.0047ddd4
mov edx, dword [ebp - 0x18]
mov eax, 0x507144
call fcn.00406448
lea ecx, [ebp - 0x1c]
mov edx, 0x4f9e70
mov eax, dword [0x507140]
call fcn.0047ddd4
mov edx, dword [ebp - 0x1c]
mov eax, 0x507148
call fcn.00406448
push 2
push 0
push 1
mov ecx, dword [0x507140]
mov dl, 1
mov eax, dword [0x4a89e4]
call fcn.004a8d24
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f9cbc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.004a8ce4
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.004a8cbc
cmp dword [ebp - 0xc], 0x67734d49
je 0x4f9c97
mov cl, 1
xor edx, edx
mov eax, dword [0x507148]
call fcn.004a9fa8
jmp 0x4f9ca6
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x507140]
call fcn.004a9fa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9cc3
mov eax, dword [ebp - 4]
call fcn.00404098
ret
Function at 0x4057e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4819f2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c058c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea eax, [edi + 0x70]
mov dword [edi], 0x493080
mov dword [edi + 0x10], 0x495878
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], ecx
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, 1
mov dword [ebp - 4], eax
lea esi, [edi + 0x18]
push esi
push edi
mov dword [ebp - 0x10], eax
call fcn.00407990
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x14], esi
call fcn.00408200
mov byte [ebp - 4], 3
xor ebx, ebx
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x4c5088]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
mov edx, esi
call fcn.00407a60
test eax, eax
jne 0x4058f6
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x4058ef
or eax, 4
push ebx
push eax
call fcn.0040b9e0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407c40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481338
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c058c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x407d6c
cmp byte [edi + 0x49], bl
je 0x407d6c
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x407cfe
mov ecx, 0xf
mov dword [ebp - 0x18], ecx
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x407cb3
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x407ccb
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x407d02
dec eax
je 0x407d06
sub eax, 2
je 0x407d5d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040c180
xor al, al
jmp 0x407d6e
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x407d16
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x407d3f
cmp ebx, 0x10
jae 0x407d25
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.004650d3
add esp, 0x10
cmp esi, eax
jne 0x407cef
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x407d5d
test esi, esi
jne 0x407cbf
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00406f90
jmp 0x407cb9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040c180
mov al, 1
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 fcn.00463bd7
mov esp, ebp
pop ebp
ret
Function at 0x408200
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fe33
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c058c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00461bf2
mov dword [ebp - 4], 0
push 4
call fcn.0046416f
mov edi, eax
add esp, 4
test edi, edi
je 0x408284
call fcn.00462072
mov dword [edi], eax
call fcn.00461e31
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00461c94
mov byte [ebp - 4], 1
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x408276
inc eax
mov dword [ebx + 4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00461cbc
jmp 0x408286
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40c810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483af3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4c058c]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push esi
mov eax, dword [0x4c058c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0xc], vtable.NGLogging::CLogFunction.0
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
mov dword [esp + 0xa8], ebx
xor edx, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], dx
mov byte [esp + 0xa8], 1
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], ax
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x34]
mov ecx, 8
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x48], ecx
jae 0x40c8e1
lea eax, [esp + 0x34]
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
cmp dword [esp + 0x6c], ecx
jae 0x40c8f8
lea eax, [esp + 0x58]
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x84], ebx
cmp dword [esp + 0x88], ecx
jae 0x40c915
lea eax, [esp + 0x74]
mov edx, dword [0x4c2800]
push ebx
push ebx
push ebx
push str.NGEWSProxy::CCriticalSectionHelper::Init
xor ecx, ecx
mov word [eax], cx
push 0x4c5124
push edx
mov ecx, 0x1c
lea edx, [esp + 0x24]
mov byte [esp + 0x6c], bl
call fcn.0041f106
add esp, 0x18
mov dword [esp + 0xa8], 3
cmp byte [esi + 0x1c], bl
jne 0x40c961
mov byte [esi + 0x1c], 1
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0041f230
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00463bd7
mov esp, ebp
pop ebp
ret
Function at 0x414770
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483af3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4c058c]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push esi
mov eax, dword [0x4c058c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0xc], vtable.NGLogging::CLogFunction.0
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
mov dword [esp + 0xa8], ebx
xor edx, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], dx
mov byte [esp + 0xa8], 1
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], ax
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x34]
mov ecx, 8
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x48], ecx
jae 0x414841
lea eax, [esp + 0x34]
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
cmp dword [esp + 0x6c], ecx
jae 0x414858
lea eax, [esp + 0x58]
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x84], ebx
cmp dword [esp + 0x88], ecx
jae 0x414875
lea eax, [esp + 0x74]
mov edx, dword [0x4c2800]
push ebx
push ebx
push ebx
push 0x494678
xor ecx, ecx
mov word [eax], cx
push 0x4c5190
push edx
mov ecx, 0xe6
lea edx, [esp + 0x24]
mov byte [esp + 0x6c], bl
call fcn.0041f106
add esp, 0x18
mov dword [esp + 0xa8], 3
cmp dword [esi + 0x44c], ebx
je 0x4148e1
mov eax, dword [esi + 0x450]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4148e1
mov ecx, dword [esi + 0x44c]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [esi + 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0041f230
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00463bd7
mov esp, ebp
pop ebp
ret 4
Function at 0x414920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x488343
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4c058c]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x4c058c]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x14], vtable.NGLogging::CLogFunction.0
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
mov dword [esp + 0xb0], ebx
xor edx, edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
mov byte [esp + 0xb0], 1
mov dword [esp + 0x90], eax
xor eax, eax
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], ax
mov byte [esp + 0xb0], 2
mov eax, dword [esp + 0x3c]
mov ecx, 8
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x50], ecx
jae 0x4149f2
lea eax, [esp + 0x3c]
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], ebx
cmp dword [esp + 0x74], ecx
jae 0x414a09
lea eax, [esp + 0x60]
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x8c], ebx
cmp dword [esp + 0x90], ecx
jae 0x414a26
lea eax, [esp + 0x7c]
mov edx, dword [0x4c2800]
push ebx
push ebx
push ebx
push str.NGEWSProxy::CEWSProxyMediator::Main
xor ecx, ecx
mov word [eax], cx
push 0x4c5190
push edx
mov ecx, 0xed
lea edx, [esp + 0x2c]
mov byte [esp + 0x74], bl
call fcn.0041f106
add esp, 0x18
mov dword [esp + 0xb0], 3
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
test al, al
jne 0x414aa1
mov ecx, edi
call fcn.00414570
test al, al
jne 0x414a92
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0041f230
mov eax, 0xb7
jmp 0x414ae3
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
mov ecx, edi
call edx
mov dword [esp + 0x1c], eax
jmp 0x414ac9
mov esi, dword [edi + 0x78]
lea eax, [edi + 0x78]
push 1
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x3c]
movzx eax, ax
push eax
push ebx
add edi, 0x58
push edi
push ecx
call edx
add esp, 0x14
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0041f230
mov eax, esi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00463bd7
mov esp, ebp
pop ebp
ret
Function at 0x415940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483af3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4c058c]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push esi
mov eax, dword [0x4c058c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0xc], vtable.NGLogging::CLogFunction.0
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
mov dword [esp + 0xa8], ebx
xor edx, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], dx
mov byte [esp + 0xa8], 1
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], ax
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x34]
mov ecx, 8
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x48], ecx
jae 0x415a11
lea eax, [esp + 0x34]
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
cmp dword [esp + 0x6c], ecx
jae 0x415a28
lea eax, [esp + 0x58]
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x84], ebx
cmp dword [esp + 0x88], ecx
jae 0x415a45
lea eax, [esp + 0x74]
mov edx, dword [0x4c2800]
push ebx
push ebx
push ebx
push str.NGEWSProxy::CEWSProxyMediator::StartUpdate
xor ecx, ecx
mov word [eax], cx
push 0x4c5190
push edx
mov ecx, 0x253
lea edx, [esp + 0x24]
mov byte [esp + 0x6c], bl
call fcn.0041f106
add esp, 0x18
mov dword [esp + 0xa8], 3
mov eax, dword [esi + 0x78]
mov edx, dword [eax + 0x2c]
push ebx
push 0x4c2100
lea ecx, [esi + 0x78]
push 0x4c20d8
push ebx
call edx
push eax
call fcn.0047f083
add esp, 0x14
cmp eax, ebx
je 0x415aaa
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0041f230
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00463bd7
mov esp, ebp
pop ebp
ret