Function at 0x414cd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe7c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], edi
test edi, edi
jne 0x414d04
push ebx
push esi
push ecx
call fcn.00415650
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x41563e
push 0xbc0
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
je 0x41563e
cmp dword [edi + 0x10], 0
jne 0x414d36
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi]
cmp edi, 2
je 0x414d42
cmp edi, 3
jne 0x414d61
mov edx, dword [esi + 0x70]
cmp edx, 0xfe
ja 0x41563e
mov ecx, dword [esi + 0x74]
call fcn.00413bd0
test eax, eax
je 0x41563e
cmp edi, 1
je 0x414d70
cmp edi, 3
je 0x414d70
cmp edi, 4
jne 0x414d8f
mov edx, dword [esi + 0x54]
cmp edx, 0xfe
ja 0x41563e
mov ecx, dword [esi + 0x58]
call fcn.00413bd0
test eax, eax
je 0x41563e
mov ecx, dword [esp + 0x14]
mov dword [ebx], ecx
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x18], eax
mov edx, dword [esi + 0x4c]
test edx, edx
je 0x414dcb
lea eax, [ebx + 0xcc]
mov ecx, 0x40
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
jmp 0x414dcd
xor eax, eax
mov dword [ebx + 0xc8], eax
mov edx, dword [esi + 0x68]
test edx, edx
je 0x414df1
lea eax, [ebx + 0x614]
mov ecx, 0x40
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
jmp 0x414df3
xor eax, eax
mov dword [ebx + 0x610], eax
mov ecx, 0x3f800000
mov al, byte [esi + 0x18]
mov byte [ebx + 0x39], al
mov al, byte [esi + 0x19]
mov byte [ebx + 0x3a], al
mov al, byte [esi + 0x1a]
mov byte [ebx + 0x3b], al
mov al, byte [esi + 0x1b]
mov byte [ebx + 0x3c], al
lea eax, [ebx + 0x40]
xchg dword [eax], ecx
mov eax, dword [esi]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0xb8], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0xc4], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0xbc], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0xc0], eax
mov eax, dword [esi + 0x80]
mov dword [ebx + 0x814], eax
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0x818], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x81c], eax
lea eax, [ebx + 0x820]
mov edx, dword [esi + 0x70]
test eax, eax
je 0x414ec4
test edx, edx
je 0x414ec4
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x414e8d
push edx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x414ec4
mov eax, 0xfe
xor edi, edi
mov dword [esp + 0xc], eax
test edx, edx
je 0x414ec4
nop dword [eax]
test eax, eax
je 0x414ec4
push edi
xor ecx, ecx
call fcn.00421d10
mov byte [edi + ebx + 0x820], al
add esp, 4
mov eax, dword [esp + 0xc]
inc edi
dec eax
mov dword [esp + 0xc], eax
cmp edi, edx
jb 0x414ea0
mov eax, dword [esi + 0x78]
mov dword [ebx + 0xa34], eax
mov eax, dword [esi + 0x7c]
mov dword [ebx + 0xa38], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x2cc], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x2d0], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x2d4], eax
lea eax, [ebx + 0x2d8]
mov edx, dword [esi + 0x54]
test eax, eax
je 0x414f49
test edx, edx
je 0x414f49
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x414f16
push edx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x414f49
mov eax, 0xfe
xor edi, edi
mov dword [esp + 0xc], eax
test edx, edx
je 0x414f49
test eax, eax
je 0x414f49
push edi
xor ecx, ecx
call fcn.00421d10
mov byte [edi + ebx + 0x2d8], al
add esp, 4
mov eax, dword [esp + 0xc]
inc edi
dec eax
mov dword [esp + 0xc], eax
cmp edi, edx
jb 0x414f25
mov eax, dword [esi + 0x5c]
lea edi, [ebx + 0x20]
mov dword [ebx + 0x4ec], eax
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x4f0], eax
mov dword [esp + 0x34], edi
test edi, edi
je 0x41563e
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi], eax
test eax, eax
jne 0x414f93
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00407690
test eax, eax
jne 0x415643
lea eax, [ebx + 0x24]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x414fb2
push dword [edi]
lea esi, [eax - 2]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x24], eax
lea ecx, [ebx + 0x24]
test eax, eax
jne 0x414ff5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00407690
mov dword [esp + 0x18], eax
test eax, eax
je 0x414ff2
push dword [edi]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebx + 0x24]
lea eax, [ebx + 0x28]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x415005
lea ebx, [eax - 2]
jmp 0x415038
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x28], eax
lea ecx, [ebx + 0x28]
test eax, eax
jne 0x415052
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00407690
mov dword [esp + 0x10], eax
test eax, eax
je 0x41504f
mov ecx, dword [esp + 0xc]
mov ebx, eax
push dword [ecx]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi]
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebx + 0x28]
lea eax, [ebx + 0x2c]
test eax, eax
jne 0x41505e
lea ebx, [eax - 2]
jmp 0x41508e
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x2c], eax
test eax, eax
jne 0x4150ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00407690
mov dword [esp + 0x10], eax
test eax, eax
je 0x4150ad
mov ecx, dword [esp + 0x18]
mov ebx, eax
push dword [ecx]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [esp + 0xc]
push dword [eax]
call esi
push dword [edi]
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10c
lea eax, [esp + 0x170]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x4c]
add esp, 0xc
mov edx, dword [esi + 0x54]
mov dword [esp + 0x158], eax
mov eax, dword [esi + 0x64]
mov dword [esp + 0x15c], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x160], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], eax
test edx, edx
je 0x415148
mov eax, dword [esi + 0x58]
test eax, eax
je 0x415115
push edx
push eax
lea eax, [esp + 0x174]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x415148
mov eax, 0xfe
xor edi, edi
mov dword [esp + 0x10], eax
test edx, edx
je 0x415148
test eax, eax
je 0x415148
push edi
xor ecx, ecx
call fcn.00421d10
mov byte [esp + edi + 0x170], al
add esp, 4
mov eax, dword [esp + 0x10]
inc edi
dec eax
mov dword [esp + 0x10], eax
cmp edi, edx
jb 0x415124
mov eax, dword [esi + 8]
mov ecx, 3
mov edi, dword [esi + 0x10]
test edi, edi
mov dword [esp + 0x26c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x270], eax
mov eax, edi
cmove eax, ecx
push 0x10c
mov dword [esp + 0x278], eax
lea eax, [esp + 0x50]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x68]
add esp, 0xc
mov edx, dword [esi + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x80]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
test edx, edx
je 0x4151fb
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4151c8
push edx
push eax
lea eax, [esp + 0x54]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x4151fb
mov eax, 0xfe
xor edi, edi
mov dword [esp + 0x10], eax
test edx, edx
je 0x4151f8
test eax, eax
je 0x4151f8
push edi
xor ecx, ecx
call fcn.00421d10
mov byte [esp + edi + 0x50], al
add esp, 4
mov eax, dword [esp + 0x10]
inc edi
dec eax
mov dword [esp + 0x10], eax
cmp edi, edx
jb 0x4151d7
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 8]
test edi, edi
mov dword [esp + 0x14c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x150], eax
mov eax, 3
cmove edi, eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x15c]
mov dword [esp + 0x158], edi
push eax
mov eax, dword [esp + 0x1c]
push esi
push ebx
mov eax, dword [eax + 0x10]
call eax
mov edi, eax
add esp, 0x10
test edi, edi
je 0x415268
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [eax]
call esi
mov eax, dword [esp + 0xc]
push dword [eax]
call esi
mov eax, dword [esp + 0x34]
push dword [eax]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x15c]
mov ecx, ebx
push eax
call fcn.00414260
mov edi, eax
add esp, 8
test edi, edi
je 0x415297
mov ecx, ebx
call fcn.004157b0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x1b], 0
jne 0x4154b0
mov edi, dword [esi + 8]
test edi, edi
jne 0x4152c1
mov eax, dword [ebx + 8]
test eax, eax
je 0x4152c1
mov ecx, dword [esi + 0xc]
imul ecx, eax
mov eax, 0x10624dd3
mul ecx
mov edi, edx
shr edi, 6
mov eax, dword [esi]
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
cmp eax, 2
je 0x4152dc
cmp eax, 3
je 0x4152dc
cmp eax, 4
jne 0x4153be
mov dword [ebx + 0xb38], 0
mov ecx, edi
mov dword [ebx + 0xb34], edi
test edi, edi
jne 0x4152fe
mov ecx, dword [ebx + 0xa2c]
mov dword [ebx + 0xb34], ecx
mov eax, dword [ebx + 0x818]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 4
mov eax, dword [esp + eax*4 + 0x1c]
imul eax, dword [ebx + 0x81c]
imul eax, ecx
mov ecx, dword [esp + 0x14]
add ecx, 0x80
je 0x41537c
mov edx, dword [ecx + 4]
test edx, edx
je 0x41535f
push dword [ecx]
push eax
call edx
add esp, 8
jmp 0x415382
mov dword [ebx + 0xb30], 0
mov ecx, ebx
call fcn.004157b0
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call edx
add esp, 4
mov dword [ebx + 0xb30], eax
test eax, eax
je 0x415369
push dword [ebx + 0x81c]
mov edx, dword [ebx + 0x818]
mov ecx, eax
push 0
push dword [ebx + 0xb34]
call fcn.00415d50
mov eax, dword [ebx + 0xb34]
add esp, 0xc
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebx + 0xb38], eax
mov eax, dword [esi]
cmp eax, 1
je 0x4153cc
cmp eax, 3
jne 0x4154b0
mov dword [ebx + 0x5f0], 0
cmp dword [esi], 3
jne 0x4153e3
mov edi, dword [ebx + 0xb34]
jmp 0x4153f3
mov dword [ebx + 0x5ec], edi
test edi, edi
jne 0x4153f9
mov edi, dword [ebx + 0x4e4]
mov dword [ebx + 0x5ec], edi
mov eax, dword [ebx + 0x2d0]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 4
mov eax, dword [esp + eax*4 + 0x1c]
imul eax, edi
imul eax, dword [ebx + 0x2d4]
sub ecx, 0xffffff80
je 0x415474
mov edx, dword [ecx + 4]
test edx, edx
je 0x415457
push dword [ecx]
push eax
call edx
add esp, 8
jmp 0x41547a
mov ecx, ebx
mov dword [ebx + 0x5e8], 0
call fcn.004157b0
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call edx
add esp, 4
mov dword [ebx + 0x5e8], eax
test eax, eax
je 0x415369
push dword [ebx + 0x2d4]
mov edx, dword [ebx + 0x2d0]
mov ecx, eax
push 0
push dword [ebx + 0x5ec]
call fcn.00415d50
add esp, 0xc
mov dword [ebx + 0x5f0], 0
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x20], 0
jne 0x41550a
cmp dword [edx + 0x24], 0
jne 0x41550a
cmp dword [edx + 0x28], 0
jne 0x41550a
cmp dword [esi], 3
jne 0x4154fe
mov edx, dword [ebx + 0x81c]
lea eax, [ebx + 0x48]
mov ecx, dword [ebx + 0x818]
push eax
mov eax, dword [ebx]
sub eax, 0xffffff80
push eax
push dword [ebx + 0xa2c]
push dword [ebx + 0x928]
push dword [ebx + 8]
call fcn.004229d0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x41552e
mov ecx, 1
lea eax, [ebx + 0xc]
xchg dword [eax], ecx
jmp 0x41555a
lea eax, [edx + 0x80]
push eax
push ebx
push 0x414540
push dword [edx + 0x78]
mov edx, dword [edx + 0x74]
lea ecx, [ebx + 0x30]
call fcn.00407820
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41553e
mov ecx, ebx
call fcn.004157b0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [ebx + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41555a
cmp eax, 0x102
je 0x41555a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebx + 4]
cmp esi, 2
je 0x41556c
cmp esi, 3
je 0x41556c
cmp esi, 4
jne 0x4155d4
xor eax, eax
cmp esi, 4
push 0x608
setne al
inc eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x27c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebx]
add esp, 0xc
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x4155ad
lea ecx, [esp + 0x278]
push ecx
push dword [esp + 0x10]
push ebx
call eax
add esp, 0xc
jmp 0x4155d4
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x278]
push eax
cmp esi, 4
jne 0x4155c6
push dword [ebx + 0xc8]
jmp 0x4155cc
push dword [ebx + 0x610]
call fcn.00414be0
add esp, 8
mov eax, dword [ebx + 4]
cmp eax, 1
je 0x4155e1
cmp eax, 3
jne 0x415635
push 0x608
lea eax, [esp + 0x884]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebx]
add esp, 0xc
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x41561a
lea ecx, [esp + 0x880]
push ecx
push 1
push ebx
call eax
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x880]
mov edx, 1
push eax
push dword [ebx + 0xc8]
call fcn.00414be0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret