Function at 0x46d520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dfd90
mov eax, dword fs:[0]
push eax
sub esp, 0x5e8
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x5e8], esi
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x5f4], esi
mov ebx, dword [eax]
mov eax, dword [0x7da884]
mov dword [ebp - 0x5ec], ebx
cmp eax, dword [ebx + 4]
jg 0x46dc33
cmp dword [0x7bdce8], 0
jne 0x46dc07
lea ecx, [ebp - 0x2c]
call fcn.00460f40
push eax
mov ecx, 0x7bdcd8
call fcn.0042fc60
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x46d5d0
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46d5c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46dc6c
push edx
push ecx
call fcn.0062a23d
add esp, 8
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x5f0], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov esi, eax
test esi, esi
je 0x46d609
lea eax, [ebp - 0x5f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov edx, dword [0x7bdcec]
mov eax, edx
mov ecx, dword [0x7bdce8]
sub eax, ecx
cmp dword [ebp - 0x5f0], 0
push 4
je 0x46d62b
push str._x64
jmp 0x46d630
push str._x86
cmp eax, 4
jb 0x46d65d
cmp edx, 0x10
lea eax, [ecx + 4]
mov esi, 0x7bdcd8
mov dword [0x7bdce8], eax
cmovae esi, dword [0x7bdcd8]
add esi, ecx
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 4], 0
jmp 0x46d676
mov byte [ebp - 0x5e8], 0
mov ecx, 0x7bdcd8
push dword [ebp - 0x5e8]
push 4
call fcn.00431100
mov edx, dword [0x7bdcec]
mov eax, edx
mov ecx, dword [0x7bdce8]
sub eax, ecx
push 1
push 0x772dd0
cmp eax, 1
jb 0x46d6ba
cmp edx, 0x10
lea eax, [ecx + 1]
mov esi, 0x7bdcd8
mov dword [0x7bdce8], eax
cmovae esi, dword [0x7bdcd8]
add esi, ecx
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x46d6d3
mov byte [ebp - 0x5e8], 0
mov ecx, 0x7bdcd8
push dword [ebp - 0x5e8]
push 1
call fcn.00431100
push 0x118
lea eax, [ebp - 0x160]
push 0
push eax
call fcn.00668940
mov eax, dword [0x7da87c]
add esp, 0xc
cmp eax, dword [ebx + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x164], 0x11c
jg 0x46dc71
mov eax, dword [0x7da880]
test eax, eax
je 0x46d728
lea ecx, [ebp - 0x164]
push ecx
call eax
test eax, eax
jne 0x46d728
mov edi, dword [ebp - 0x158]
jmp 0x46d72b
or edi, 0xffffffff
push 0x118
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.00668940
mov ecx, dword [ebp - 0x5ec]
add esp, 0xc
mov eax, dword [0x7da874]
mov dword [ebp - 0x284], 0x11c
cmp eax, dword [ecx + 4]
jg 0x46dcb1
mov eax, dword [0x7da878]
test eax, eax
je 0x46d780
lea ecx, [ebp - 0x284]
push ecx
call eax
test eax, eax
jne 0x46d780
mov esi, dword [ebp - 0x27c]
jmp 0x46d783
or esi, 0xffffffff
push 0x118
lea eax, [ebp - 0x3a0]
push 0
push eax
call fcn.00668940
mov ecx, dword [ebp - 0x5ec]
add esp, 0xc
mov eax, dword [0x7da86c]
mov dword [ebp - 0x3a4], 0x11c
cmp eax, dword [ecx + 4]
jg 0x46dcf5
mov eax, dword [0x7da870]
test eax, eax
je 0x46d7d8
lea ecx, [ebp - 0x3a4]
push ecx
call eax
test eax, eax
jne 0x46d7d8
mov eax, dword [ebp - 0x3a0]
jmp 0x46d7db
or eax, 0xffffffff
push edi
push esi
push eax
lea eax, [ebp - 0x2c]
push str._d._d._d
push eax
call fcn.004551c0
add esp, 0x14
push eax
mov ecx, 0x7bdcd8
mov dword [ebp - 4], 0
call fcn.0042fb40
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x46d83c
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46d832
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46dd39
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [0x7bdcec]
mov eax, edx
mov ecx, dword [0x7bdce8]
sub eax, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 1
push 0x769b00
cmp eax, 1
jb 0x46d892
cmp edx, 0x10
lea eax, [ecx + 1]
mov esi, 0x7bdcd8
mov dword [0x7bdce8], eax
cmovae esi, dword [0x7bdcd8]
add esi, ecx
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x46d8ab
mov byte [ebp - 0x5e8], 0
mov ecx, 0x7bdcd8
push dword [ebp - 0x5e8]
push 1
call fcn.00431100
mov edx, dword [0x7bdcec]
mov eax, edx
mov ecx, dword [0x7bdce8]
sub eax, ecx
push 5
push str.yhWin
cmp eax, 5
jb 0x46d8ef
cmp edx, 0x10
lea eax, [ecx + 5]
mov esi, 0x7bdcd8
mov dword [0x7bdce8], eax
cmovae esi, dword [0x7bdcd8]
add esi, ecx
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 5], 0
jmp 0x46d908
mov byte [ebp - 0x5e8], 0
mov ecx, 0x7bdcd8
push dword [ebp - 0x5e8]
push 5
call fcn.00431100
mov edx, dword [0x7bdcec]
mov eax, edx
mov ecx, dword [0x7bdce8]
sub eax, ecx
push 1
push 0x772dd0
cmp eax, 1
jb 0x46d94c
cmp edx, 0x10
lea eax, [ecx + 1]
mov esi, 0x7bdcd8
mov dword [0x7bdce8], eax
cmovae esi, dword [0x7bdcd8]
add esi, ecx
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x46d965
mov byte [ebp - 0x5e8], 0
mov ecx, 0x7bdcd8
push dword [ebp - 0x5e8]
push 1
call fcn.00431100
mov edx, dword [0x7bdcec]
mov eax, edx
mov ecx, dword [0x7bdce8]
sub eax, ecx
push 0xd
push 0x772db0
cmp eax, 0xd
jb 0x46d9a9
cmp edx, 0x10
lea eax, [ecx + 0xd]
mov esi, 0x7bdcd8
mov dword [0x7bdce8], eax
cmovae esi, dword [0x7bdcd8]
add esi, ecx
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 0xd], 0
jmp 0x46d9c2
mov byte [ebp - 0x5e8], 0
mov ecx, 0x7bdcd8
push dword [ebp - 0x5e8]
push 0xd
call fcn.00431100
mov edx, dword [0x7bdcec]
mov eax, edx
mov ecx, dword [0x7bdce8]
sub eax, ecx
push 1
push 0x769b00
cmp eax, 1
jb 0x46da06
cmp edx, 0x10
lea eax, [ecx + 1]
mov esi, 0x7bdcd8
mov dword [0x7bdce8], eax
cmovae esi, dword [0x7bdcd8]
add esi, ecx
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x46da1f
mov byte [ebp - 0x5e8], 0
mov ecx, 0x7bdcd8
push dword [ebp - 0x5e8]
push 1
call fcn.00431100
mov edx, dword [0x7bdcec]
mov eax, edx
mov ecx, dword [0x7bdce8]
sub eax, ecx
push 0xa
push str.Windows_NT
cmp eax, 0xa
jb 0x46da63
cmp edx, 0x10
lea eax, [ecx + 0xa]
mov esi, 0x7bdcd8
mov dword [0x7bdce8], eax
cmovae esi, dword [0x7bdcd8]
add esi, ecx
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x46da7c
mov byte [ebp - 0x5e8], 0
mov ecx, 0x7bdcd8
push dword [ebp - 0x5e8]
push 0xa
call fcn.00431100
mov edx, dword [0x7bdcec]
mov eax, edx
mov ecx, dword [0x7bdce8]
sub eax, ecx
push 1
push 0x772dd0
cmp eax, 1
jb 0x46dac0
cmp edx, 0x10
lea eax, [ecx + 1]
mov esi, 0x7bdcd8
mov dword [0x7bdce8], eax
cmovae esi, dword [0x7bdcd8]
add esi, ecx
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x46dad9
mov byte [ebp - 0x5e8], 0
mov ecx, 0x7bdcd8
push dword [ebp - 0x5e8]
push 1
call fcn.00431100
push 0x118
lea eax, [ebp - 0x4c0]
push 0
push eax
call fcn.00668940
mov ecx, dword [ebp - 0x5ec]
add esp, 0xc
mov eax, dword [0x7da874]
mov dword [ebp - 0x4c4], 0x11c
cmp eax, dword [ecx + 4]
jg 0x46dd3e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [0x7da878]
test eax, eax
je 0x46db34
lea ecx, [ebp - 0x4c4]
push ecx
call eax
test eax, eax
jne 0x46db34
mov esi, dword [ebp - 0x4bc]
jmp 0x46db37
or esi, 0xffffffff
push 0x118
lea eax, [ebp - 0x5e0]
push 0
push eax
call fcn.00668940
mov ecx, dword [ebp - 0x5ec]
add esp, 0xc
mov eax, dword [0x7da86c]
mov dword [ebp - 0x5e4], 0x11c
cmp eax, dword [ecx + 4]
jg 0x46dd84
mov eax, dword [0x7da870]
test eax, eax
je 0x46db8c
lea ecx, [ebp - 0x5e4]
push ecx
call eax
test eax, eax
jne 0x46db8c
mov eax, dword [ebp - 0x5e0]
jmp 0x46db8f
or eax, 0xffffffff
push esi
push eax
lea eax, [ebp - 0x44]
push str._d._d
push eax
call fcn.004551c0
add esp, 0x10
push eax
mov ecx, 0x7bdcd8
mov dword [ebp - 4], 1
call fcn.0042fb40
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x46dbef
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46dbe5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ddc4
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov esi, dword [ebp - 0x5f4]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
push 0x7bdcd8
mov ecx, esi
call fcn.0042fd80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret 4
push 0x7da884
call fcn.0062a8c3
add esp, 4
cmp dword [0x7da884], 0xffffffff
jne 0x46d57c
push 0x6f2b00
call fcn.0062a697
add esp, 4
push 0x7da884
call fcn.0062a879
add esp, 4
jmp 0x46d57c
call fcn.0068843e
push 0x7da87c
call fcn.0062a8c3
add esp, 4
cmp dword [0x7da87c], 0xffffffff
jne 0x46d70a
push str.RtlGetVersion
push str.ntdll.dll
call ebx
push eax
call edi
push 0x7da87c
mov dword [0x7da880], eax
call fcn.0062a879
add esp, 4
jmp 0x46d70a
push 0x7da874
call fcn.0062a8c3
add esp, 4
cmp dword [0x7da874], 0xffffffff
jne 0x46d762
push str.RtlGetVersion
push str.ntdll.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x7da874
mov dword [0x7da878], eax
call fcn.0062a879
add esp, 4
jmp 0x46d762
push 0x7da86c
call fcn.0062a8c3
add esp, 4
cmp dword [0x7da86c], 0xffffffff
jne 0x46d7ba
push str.RtlGetVersion
push str.ntdll.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x7da86c
mov dword [0x7da870], eax
call fcn.0062a879
add esp, 4
jmp 0x46d7ba
call fcn.0068843e
push 0x7da874
call fcn.0062a8c3
add esp, 4
cmp dword [0x7da874], 0xffffffff
jne 0x46db10
push str.RtlGetVersion
push str.ntdll.dll
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x7da874
mov dword [0x7da878], eax
call fcn.0062a879
add esp, 4
jmp 0x46db16
push 0x7da86c
call fcn.0062a8c3
add esp, 4
cmp dword [0x7da86c], 0xffffffff
jne 0x46db6e
push str.RtlGetVersion
push str.ntdll.dll
call ebx
push eax
call edi
push 0x7da86c
mov dword [0x7da870], eax
call fcn.0062a879
add esp, 4
jmp 0x46db6e
call fcn.0068843e
int3