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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44aa2e
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x45e520]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x45e520]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x18]
push 2
mov dword [esp + 0x40], ecx
xor ebx, ebx
push 0x4537e4
lea ecx, [esp + 0x78]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.004024f0
push ebx
push esi
or eax, 0xffffffff
lea esi, [esp + 0x78]
mov dword [esp + 0xc0], ebx
call fcn.004117a0
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x415794
lea eax, [esp + 0x74]
push ecx
mov ebx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004132f0
xor ebx, ebx
mov byte [esp + 0xbc], 1
cmp dword [edi + 0x12c], ebx
jne 0x4157bd
push 0x80004003
call fcn.00448760
mov edi, dword [edi + 0x12c]
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0xc0], bl
call fcn.004149f0
mov byte [esp + 0xb8], 2
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4157f2
push 0x80004003
call fcn.00448760
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
lea ecx, [esp + 0x20]
push ecx
push eax
mov esi, eax
mov dword [esp + 0x28], ebx
call edx
cmp eax, ebx
jge 0x415815
push 0x45387c
push esi
push eax
call fcn.00448770
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x41614c
mov eax, dword [esp + 0x20]
cmp eax, ebx
jle 0x41614c
mov dword [esp + 0x24], ebx
cmp esi, ebx
jne 0x415843
push 0x80004003
call fcn.00448760
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
lea edi, [esp + 0x28]
call fcn.00414ac0
mov dword [esp + 0x14], ebx
mov byte [esp + 0xb8], 4
mov esi, dword [esp + 0x28]
cmp esi, ebx
jne 0x41587e
push 0x80004003
call fcn.00448760
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41587e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
push ecx
push esi
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x415ab4
mov ecx, dword [esp + 0x40]
call fcn.00402430
push ecx
mov ebx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004132f0
xor ebx, ebx
mov byte [esp + 0xbc], 5
cmp dword [esp + 0x18], ebx
jne 0x4158cb
push 0x80004003
call fcn.00448760
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0xc0], 4
call fcn.00414b00
mov byte [esp + 0xb8], 6
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x415a9a
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x415927
push eax
call fcn.00448760
lea esi, [esp + 0x4c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 7
call fcn.00413590
mov byte [esp + 0xb8], 8
mov esi, dword [eax]
cmp esi, ebx
je 0x41595f
cmp dword [esi + 4], ebx
jne 0x41595a
mov ecx, dword [esi]
push ecx
call fcn.00448600
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x415961
xor esi, esi
mov eax, esi
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x415980
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x94]
call fcn.004024f0
lea edi, [esp + 0x2c]
call fcn.00413400
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0xbc], 0xb
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x8c]
call fcn.00416a70
test al, al
je 0x415a74
mov ecx, dword [esp + 0x44]
call fcn.00402430
push ecx
mov ebx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004132f0
mov byte [esp + 0xbc], 0xc
cmp dword [esp + 0x18], 0
jne 0x4159fc
push 0x80004003
call fcn.00448760
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0xc0], 0xb
call fcn.00414b00
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
cmp eax, ecx
je 0x415a44
test ecx, ecx
mov esi, eax
mov eax, ecx
mov dword [esp + 0x18], eax
je 0x415a34
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ecx
call eax
mov eax, dword [esp + 0x18]
test esi, esi
je 0x415a44
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x415a58
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x415a78
mov esi, eax
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x18], 0x10
jb 0x415bd6
mov eax, dword [eax + 4]
jmp 0x415bd9
mov eax, dword [esp + 0x18]
cmp dword [esp + 0xa4], 0x10
jb 0x415a96
mov edx, dword [esp + 0x90]
push edx
call fcn.00416c01
mov eax, dword [esp + 0x1c]
add esp, 4
mov esi, dword [esp + 0x28]
test eax, eax
mov byte [esp + 0xb8], 4
je 0x415aae
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0xb8], 3
je 0x415ac8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 2
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jl 0x415831
cmp dword [ebp + 0x1c], ebx
je 0x41614c
cmp esi, ebx
jne 0x415b0c
push 0x80004003
call fcn.00448760
mov esi, dword [esp + 0x1c]
xor edx, edx
lea edi, [esp + 0x34]
call fcn.00414ac0
mov byte [esp + 0xb8], 0xe
mov esi, dword [esp + 0x34]
cmp esi, ebx
jne 0x415b31
push 0x80004003
call fcn.00448760
lea edi, [esp + 0x28]
call fcn.004149b0
mov dword [esp + 0x18], ebx
cmp esi, ebx
mov byte [esp + 0xb8], 0x10
jne 0x415b64
push 0x80004003
call fcn.00448760
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x415b64
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push ecx
push esi
call edx
cmp dword [esp + 0x18], ebx
jne 0x415c98
mov byte [esp + 0xb8], 0xe
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x415b97
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 2
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [esp + 0xb8], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x415bbe
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0x88], 0x10
jb 0x416176
mov ecx, dword [esp + 0x74]
push ecx
jmp 0x41616e
add eax, 4
push eax
lea ebx, [esp + 0x40]
call fcn.004132f0
mov byte [esp + 0xb8], 0xd
mov eax, dword [eax]
test eax, eax
je 0x415bf5
mov eax, dword [eax]
jmp 0x415bf7
xor eax, eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x6c]
push esi
call eax
lea edi, [esp + 0x3c]
mov byte [esp + 0xb8], 0xb
call fcn.00413400
mov ecx, dword [esp + 0x48]
call fcn.00415080
lea ecx, [esp + 0x8c]
mov esi, eax
call fcn.00402120
mov byte [esp + 0xb8], 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x415c40
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x415c58
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 2
mov eax, dword [esp + 0x28]
test eax, eax
je 0x415c70
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x415c88
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x70]
call fcn.00402120
mov eax, esi
jmp 0x416178
mov dword [esp + 0x14], ebx
mov byte [esp + 0xb8], 0x11
mov esi, dword [esp + 0x28]
cmp esi, ebx
jne 0x415cc6
push 0x80004003
call fcn.00448760
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x415cc6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov ecx, dword [esi]
mov eax, dword [ecx + 0x44]
push edx
push esi
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x30], ebx
jne 0x415cf1
push 0x80004003
call fcn.00448760
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
xor edi, edi
cmp dword [esp + 0x30], ebx
jle 0x415e08
lea ebx, [ebx]
xor eax, eax
mov dword [esp + 0x20], eax
mov byte [esp + 0xb8], 0x12
cmp dword [esp + 0x14], ebx
jne 0x415d32
push 0x80004003
call fcn.00448760
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov esi, dword [esp + 0x14]
je 0x415d42
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push edi
push esi
call edx
cmp dword [esp + 0x20], ebx
jne 0x415d64
push 0x80004003
call fcn.00448760
mov esi, dword [esp + 0x20]
push 0x4526a4
lea ebx, [esp + 0x30]
call fcn.004132f0
mov byte [esp + 0xb8], 0x13
mov eax, dword [eax]
test eax, eax
je 0x415d88
mov eax, dword [eax]
jmp 0x415d8a
xor eax, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x6c]
push eax
push esi
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x415ddd
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x415dd5
test esi, esi
je 0x415dd5
mov eax, dword [esi]
test eax, eax
je 0x415dbc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x415dcc
push eax
call fcn.00416c01
add esp, 4
push esi
call fcn.00416c01
add esp, 4
mov dword [esp + 0x2c], 0
mov byte [esp + 0xb8], 0x11
mov eax, dword [esp + 0x20]
test eax, eax
je 0x415df5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add edi, 1
xor ebx, ebx
cmp edi, dword [esp + 0x30]
jl 0x415d10
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x18], ebx
jne 0x415e18
push 0x80004003
call fcn.00448760
mov edx, esi
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x2c]
call fcn.00414970
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x415e37
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x18], 0x10
jb 0x415e46
mov eax, dword [eax + 4]
jmp 0x415e49
add eax, 4
push ecx
mov ebx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.004132f0
mov byte [esp + 0xbc], 0x14
cmp dword [esp + 0x18], 0
jne 0x415e6f
push 0x80004003
call fcn.00448760
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xc0], 0x11
call fcn.00414b00
mov byte [esp + 0xb8], 0x15
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4160ee
mov esi, eax
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x18], 0x10
jb 0x415eaa
mov eax, dword [eax + 4]
jmp 0x415ead
add eax, 4
push eax
lea ebx, [esp + 0x3c]
call fcn.004132f0
mov byte [esp + 0xb8], 0x16
mov eax, dword [eax]
test eax, eax
je 0x415ec9
mov eax, dword [eax]
jmp 0x415ecb
xor eax, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x6c]
push eax
push esi
call edx
mov byte [esp + 0xb8], 0x15
mov eax, dword [esp + 0x38]
test eax, eax
je 0x415f1e
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x415f1e
test esi, esi
je 0x415f1e
mov eax, dword [esi]
test eax, eax
je 0x415f05
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x415f15
push eax
call fcn.00416c01
add esp, 4
push esi
call fcn.00416c01
add esp, 4
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x18], 0x10
jb 0x415f2d
mov eax, dword [eax + 4]
jmp 0x415f30
add eax, 4
push ecx
mov ebx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004132f0
mov byte [esp + 0xbc], 0x17
cmp dword [esp + 0x18], 0
jne 0x415f56
push 0x80004003
call fcn.00448760
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0xc0], 0x15
call fcn.00414b00
mov eax, dword [eax]
mov esi, dword [esp + 0x24]
cmp esi, eax
je 0x415f92
test eax, eax
mov dword [esp + 0x24], eax
je 0x415f86
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
test esi, esi
je 0x415f92
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x415fa2
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0x24], 0
jne 0x415fb3
push 0x80004003
call fcn.00448760
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x18], 0x10
mov esi, dword [esp + 0x24]
jb 0x415fc6
mov eax, dword [eax + 4]
jmp 0x415fc9
add eax, 4
push eax
lea ebx, [esp + 0x30]
call fcn.004132f0
mov byte [esp + 0xb8], 0x18
mov eax, dword [eax]
test eax, eax
je 0x415fe5
mov eax, dword [eax]
jmp 0x415fe7
xor eax, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x6c]
push eax
push esi
call edx
mov byte [esp + 0xb8], 0x15
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41603a
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41603a
test esi, esi
je 0x41603a
mov eax, dword [esi]
test eax, eax
je 0x416021
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x416031
push eax
call fcn.00416c01
add esp, 4
push esi
call fcn.00416c01
add esp, 4
mov ecx, dword [esp + 0x48]
call fcn.00415080
mov esi, eax
mov byte [esp + 0xb8], 0x11
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41605d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebx, 0x10
mov byte [esp + 0xb8], bl
mov eax, dword [esp + 0x14]
test eax, eax
je 0x416079
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 0xf
mov eax, dword [esp + 0x18]
test eax, eax
je 0x416091
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 0xe
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 2
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4160d1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x88], ebx
jb 0x4160e7
mov eax, dword [esp + 0x74]
push eax
call fcn.00416c01
add esp, 4
mov eax, esi
jmp 0x416178
mov byte [esp + 0xb8], 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x416106
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 0xf
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41611e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 0xe
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 2
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x1c]
xor ebx, ebx
cmp esi, ebx
mov byte [esp + 0xb8], bl
je 0x41615f
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
cmp dword [esp + 0x88], 0x10
jb 0x416176
mov edx, dword [esp + 0x74]
push edx
call fcn.00416c01
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004322f2
mov esp, ebp
pop ebp
ret 0x18