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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fa333
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x8c]
xor esi, esi
mov dword [ebx + 0x64], esi
push eax
call fcn.004057a0
mov dword [esp + 0xd8], esi
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0xcc], ecx
call fcn.0044e5a0
mov byte [esp + 0xd8], 1
lea eax, [esp + 0x20]
push eax
call fcn.0043b940
mov byte [esp + 0xd8], 2
lea ecx, [esp + 0x14]
call dword [0x4fff58]
mov byte [esp + 0xd8], 3
mov dword [esp + 0x40], esi
mov esi, dword [ebx + 0x74]
cmp esi, dword [ebx + 0x78]
jbe 0x404573
call dword [0x4ff3d0]
mov edi, dword [ebx + 0x68]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
mov edi, edi
mov esi, dword [ebx + 0x78]
cmp dword [ebx + 0x74], esi
jbe 0x40458e
call dword [0x4ff3d0]
mov eax, dword [ebx + 0x68]
test edi, edi
je 0x404599
cmp edi, eax
je 0x40459f
call dword [0x4ff3d0]
cmp dword [esp + 0x1c], esi
je 0x404757
mov ecx, dword [ebx + 0x64]
test ecx, ecx
jne 0x4046cb
test edi, edi
jne 0x40464b
call dword [0x4ff3d0]
xor eax, eax
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 0x10]
jb 0x4045d3
call dword [0x4ff3d0]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebx
call edx
test eax, eax
je 0x40468e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x80]
push ecx
lea esi, [esp + 0x64]
call fcn.0044e740
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [esp + 0x74]
test esi, esi
je 0x40461e
cmp esi, dword [esp + 0x5c]
je 0x404624
call dword [0x4ff3d0]
cmp ebx, edi
jne 0x404652
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x18]
call fcn.0044e5f0
mov ecx, dword [esp + 0x40]
lea ebx, [esp + 0x14]
lea edi, [esp + 0x20]
mov dword [eax], ecx
call fcn.00402c60
jmp 0x40468e
mov eax, dword [edi]
jmp 0x4045c4
test esi, esi
jne 0x4046bf
call dword [0x4ff3d0]
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x404669
call dword [0x4ff3d0]
mov edx, dword [esp + 0x40]
cmp edx, dword [ebx + 0x10]
jbe 0x40468e
test esi, esi
jne 0x4046c3
call dword [0x4ff3d0]
cmp ebx, dword [esi + 0x18]
jne 0x404687
call dword [0x4ff3d0]
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4046c7
call dword [0x4ff3d0]
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x10]
jb 0x4046ad
call dword [0x4ff3d0]
add dword [esp + 0x1c], 4
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
jmp 0x404580
mov eax, dword [esi]
jmp 0x40465e
mov esi, dword [esi]
jmp 0x40467c
mov eax, dword [eax]
jmp 0x40469e
mov byte [esp + 0xd8], 2
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov byte [esp + 0xd8], 4
mov esi, dword [esp + 0x2c]
xor ebx, ebx
cmp esi, ebx
je 0x404713
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x40470a
mov ecx, esi
call dword [0x4fff34]
add esi, 4
cmp esi, edi
jne 0x4046f7
mov esi, dword [esp + 0x2c]
push esi
call fcn.004ef10e
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0xd8], 1
mov edx, dword [esp + 0x20]
push edx
call fcn.004ef10e
add esp, 4
mov byte [esp + 0xd8], 7
lea esi, [esp + 0x5c]
call fcn.0044e9f0
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x5c]
push eax
jmp 0x404b8f
xor edi, edi
mov dword [esp + 0x54], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
mov dword [esp + 0x54], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernel32
mov esi, eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
test eax, eax
je 0x404790
lea ecx, [esp + 0x50]
push ecx
push esi
call eax
cmp dword [esp + 0x50], 0
je 0x4047d7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x53f540
mov dword [esp + 0x40], eax
call fcn.00403df0
lea eax, [esp + 0x3c]
call fcn.004074f0
push str.Wow64DisableWow64FsRedirection
push str.kernel32
mov esi, eax
call edi
push eax
call ebx
test eax, eax
je 0x4047cc
push esi
call eax
push 0x53f548
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], 1
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jbe 0x4047f9
call dword [0x4ff3d0]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edx
lea esp, [esp]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x2c], eax
jbe 0x404820
call dword [0x4ff3d0]
test esi, esi
je 0x40482a
cmp esi, dword [esp + 0x20]
je 0x404830
call dword [0x4ff3d0]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x48], eax
je 0x4049e0
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x64]
test edx, edx
jne 0x404953
test esi, esi
jne 0x40493a
call dword [0x4ff3d0]
xor eax, eax
mov ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 0x10]
jb 0x40486c
call dword [0x4ff3d0]
mov edx, dword [esp + 0x48]
push edx
lea eax, [esp + 0x88]
push eax
lea esi, [esp + 0x64]
call fcn.0044e740
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [esp + 0x74]
test esi, esi
je 0x404895
cmp esi, dword [esp + 0x5c]
je 0x40489b
call dword [0x4ff3d0]
cmp edi, ebx
je 0x4048fd
test esi, esi
jne 0x404941
call dword [0x4ff3d0]
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4048ba
call dword [0x4ff3d0]
test esi, esi
jne 0x404948
call dword [0x4ff3d0]
cmp edi, dword [esi + 0x18]
jne 0x4048d3
call dword [0x4ff3d0]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x54]
push eax
push esi
lea eax, [esp + 0x94]
push eax
mov eax, dword [edi + 0x10]
push eax
mov eax, dword [edi + 0xc]
push eax
call edx
inc esi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x40494f
call dword [0x4ff3d0]
xor eax, eax
mov ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 0x10]
jb 0x40491c
call dword [0x4ff3d0]
add dword [esp + 0x48], 4
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x44]
jmp 0x404810
mov eax, dword [esi]
jmp 0x40485d
mov eax, dword [esi]
jmp 0x4048af
mov esi, dword [esi]
jmp 0x4048c8
mov eax, dword [eax]
jmp 0x40490d
mov byte [esp + 0xd8], 2
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov byte [esp + 0xd8], 0xc
mov esi, dword [esp + 0x2c]
xor ebx, ebx
cmp esi, ebx
je 0x40499c
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x404993
nop
mov ecx, esi
call dword [0x4fff34]
add esi, 4
cmp esi, edi
jne 0x404980
mov esi, dword [esp + 0x2c]
push esi
call fcn.004ef10e
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0xd8], 1
mov edx, dword [esp + 0x20]
push edx
call fcn.004ef10e
add esp, 4
mov byte [esp + 0xd8], 0xf
lea esi, [esp + 0x5c]
call fcn.0044e9f0
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x5c]
push eax
jmp 0x404b8f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32
mov esi, eax
mov dword [esp + 0x54], 0
call edi
push eax
call ebx
test eax, eax
je 0x404a0b
lea ecx, [esp + 0x4c]
push ecx
push esi
call eax
cmp dword [esp + 0x4c], 0
je 0x404a52
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x53f540
mov dword [esp + 0x5c], eax
call fcn.00403df0
lea eax, [esp + 0x58]
call fcn.004074f0
mov esi, dword [eax]
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call edi
push eax
call ebx
test eax, eax
je 0x404a47
push esi
call eax
push 0x53f548
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x64]
test eax, eax
je 0x404ae3
mov byte [esp + 0xd8], 2
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov byte [esp + 0xd8], 0x14
mov esi, dword [esp + 0x2c]
xor ebx, ebx
cmp esi, ebx
je 0x404aac
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x404aa3
lea ecx, [ecx]
mov ecx, esi
call dword [0x4fff34]
add esi, 4
cmp esi, edi
jne 0x404a90
mov esi, dword [esp + 0x2c]
push esi
call fcn.004ef10e
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0xd8], 1
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ef10e
add esp, 4
mov byte [esp + 0xd8], 0x17
lea esi, [esp + 0x5c]
call fcn.0044e9f0
jmp 0x404b82
mov edi, edx
lea esi, [edi + 4]
push esi
call fcn.00403df0
add edi, 0x24
push edi
lea eax, [esp + 0x90]
push eax
call fcn.00406130
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov byte [esp + 0xd8], 2
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov byte [esp + 0xd8], 0x1c
mov esi, dword [esp + 0x2c]
xor ebx, ebx
cmp esi, ebx
je 0x404b50
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x404b47
mov ecx, esi
call dword [0x4fff34]
add esi, 4
cmp esi, edi
jne 0x404b34
mov esi, dword [esp + 0x2c]
push esi
call fcn.004ef10e
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0xd8], 1
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ef10e
add esp, 4
mov byte [esp + 0xd8], 0x1f
lea esi, [esp + 0x5c]
call fcn.0044e9f0
mov byte [esp + 0xd8], 0
mov edx, dword [esp + 0x5c]
push edx
call fcn.004ef10e
add esp, 4
mov dword [esp + 0xd8], 0xffffffff
lea ecx, [esp + 0x8c]
call fcn.00405880
xor eax, eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4