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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d7bca
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
push str.Wow64DisableWow64FsRedirection
xor esi, esi
push str.kernel32.dll
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4a4022
lea ecx, [esp + 0x44]
push ecx
call eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], esi
mov eax, dword [ebx + 0xf0]
mov esi, dword [ebx + 0xdc]
mov eax, dword [eax]
mov dword [esp + 0x3c], esi
mov edi, dword [ebx + 0xf0]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0xdc]
test esi, esi
je 0x4a4050
cmp esi, eax
je 0x4a4055
call fcn.0059471a
cmp dword [esp + 0x40], edi
je 0x4a459d
cmp dword [ebp + 0x10], 0
je 0x4a4079
mov edx, dword [ebp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4a45f2
cmp dword [ebp + 0x14], 0
je 0x4a408b
mov eax, dword [ebp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
jne 0x4a429b
call fcn.0059471a
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x14]
jne 0x4a40a8
call fcn.0059471a
mov edi, dword [esp + 0x40]
mov edx, dword [edi + 8]
add edi, 8
cmp dword [edx - 0xc], 0
je 0x4a451c
lea eax, [esp + 0x4c]
push eax
call fcn.0041d3b0
mov byte [esp + 0x70], 1
test esi, esi
jne 0x4a42a2
call fcn.0059471a
xor eax, eax
mov ebx, dword [esp + 0x40]
cmp ebx, dword [eax + 0x14]
jne 0x4a40e8
call fcn.0059471a
push 1
push edi
lea ecx, [esp + 0x54]
call fcn.004a5c80
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x60]
add esp, 8
sar eax, 2
test eax, eax
je 0x4a44de
mov dword [esp + 0x18], 0
jbe 0x4a4505
mov edx, dword [0x6e9718]
mov eax, dword [edx + 0xc]
mov ecx, 0x6e9718
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x70], 3
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x58]
sar ecx, 2
cmp dword [esp + 0x18], ecx
jb 0x4a414a
call fcn.0059471a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + edx*4]
lea edx, [esp + 0x10]
push edx
call fcn.00498b30
add esp, 4
mov bl, 4
mov byte [esp + 0x70], bl
lea edi, [esp + 0x10]
call fcn.004a5ff0
cmp eax, 3
jb 0x4a42f4
mov eax, dword [esp + 0x10]
push 0x2e
push eax
call fcn.005963a5
add esp, 8
test eax, eax
je 0x4a41bd
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x4a41bd
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov edx, edi
call fcn.00437e90
mov byte [esp + 0x70], 5
call fcn.0040daa0
mov byte [esp + 0x70], bl
lea ecx, [esp + 0x1c]
call fcn.0040b950
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], 0x15
jle 0x4a4204
lea eax, [esp + 0x20]
push eax
mov ecx, 0x15
lea edx, [esp + 0x14]
call fcn.00437e90
mov byte [esp + 0x70], 6
lea edi, [esp + 0x10]
call fcn.0040daa0
mov byte [esp + 0x70], bl
lea ecx, [esp + 0x20]
call fcn.0040b950
push 3
push 0x6a1a18
mov ecx, edi
push ecx
call fcn.00412100
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4a42a9
call fcn.0059471a
xor eax, eax
mov edx, dword [esp + 0x40]
cmp edx, dword [eax + 0x14]
jne 0x4a4225
call fcn.0059471a
mov eax, dword [esp + 0x40]
add eax, 0xc
push eax
lea eax, [esp + 0x2c]
push eax
mov ebx, 0x6996a4
call fcn.004176f0
mov byte [esp + 0x78], 7
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
mov ebx, eax
call fcn.0041c9d0
add esp, 0x10
mov byte [esp + 0x70], 8
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x4a42c1
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4a42b0
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4a42b0
call fcn.0040f770
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4a4292
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [esp + 0x14], esi
jmp 0x4a42c1
mov eax, dword [esi]
jmp 0x4a409a
mov eax, dword [esi]
jmp 0x4a40da
mov eax, dword [eax]
jmp 0x4a4217
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.0040f6d0
mov esi, dword [esp + 0x14]
mov byte [esp + 0x70], 7
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a42e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x28]
jmp 0x4a4432
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4a43bc
call fcn.0059471a
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x14]
jne 0x4a4315
call fcn.0059471a
mov ebx, dword [esp + 0x40]
lea edx, [esp + 0x34]
push edx
add ebx, 8
push ebx
call fcn.004a00d0
mov edi, eax
mov byte [esp + 0x70], 0xb
cmp dword [esp + 0x3c], 0
jne 0x4a43c3
call fcn.0059471a
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x14]
jne 0x4a434e
call fcn.0059471a
add ebx, 4
push ebx
lea edx, [esp + 0x34]
push edx
mov ebx, 0x6996a4
call fcn.004176f0
mov byte [esp + 0x78], 0xc
lea ecx, [esp + 0x34]
push edi
push ecx
mov ebx, eax
call fcn.0041c9d0
add esp, 0x10
mov byte [esp + 0x70], 0xd
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x4a43df
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4a43ce
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4a43ce
call fcn.0040f770
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4a43b3
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [esp + 0x14], esi
jmp 0x4a43df
mov eax, dword [eax]
jmp 0x4a4307
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
jmp 0x4a4340
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.0040f6d0
mov esi, dword [esp + 0x14]
mov byte [esp + 0x70], 0xc
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a4404
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0xb
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a4429
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a444e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x18]
sar ecx, 2
cmp edi, ecx
jb 0x4a4466
call fcn.0059471a
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x58]
mov eax, dword [edx + edi*4]
push ecx
push esi
push eax
call dword [ebp + 8]
test al, al
je 0x4a4548
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a44a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 1
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a44c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x58]
inc edi
sar ecx, 2
mov dword [esp + 0x18], edi
cmp edi, ecx
jb 0x4a4118
jmp 0x4a4505
test esi, esi
jne 0x4a4540
call fcn.0059471a
cmp ebx, dword [esi + 0x14]
jne 0x4a44f1
call fcn.0059471a
mov edx, dword [ebp + 0xc]
mov eax, dword [edi]
push edx
push 0
push eax
call dword [ebp + 8]
test al, al
je 0x4a45e3
mov byte [esp + 0x70], 0
lea eax, [esp + 0x4c]
push eax
call fcn.0041cd80
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
test esi, esi
jne 0x4a4544
call fcn.0059471a
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x14]
jne 0x4a4535
call fcn.0059471a
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
jmp 0x4a4038
mov esi, dword [esi]
jmp 0x4a44e7
mov eax, dword [esi]
jmp 0x4a4527
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a456d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 1
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a458e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x4c]
push ecx
call fcn.0041cd80
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], 0
je 0x4a45ce
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a45ce
mov edx, dword [esp + 0x44]
push edx
call eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov byte [esp + 0x70], 0
lea eax, [esp + 0x4c]
push eax
call fcn.0041cd80
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], 0
je 0x4a45ce
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a45ce
mov ecx, dword [esp + 0x44]
push ecx
jmp 0x4a45cc