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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov dword [ebp - 0xc], eax
xor ecx, ecx
push 2
add eax, 6
pop ebx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004218c6
pop ecx
xor ecx, ecx
mov dword [esi + 4], eax
mov eax, ebx
mov ebx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], 0x7c
cmp dword [ebp - 0xc], ecx
jle 0x45f2ba
push 0x20
pop edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], 0x28
jmp 0x45f198
inc ecx
cmp word [edi + ecx*2], dx
je 0x45f197
movzx edx, word [edi + ecx*2]
cmp dx, word [ebp - 0x10]
je 0x45f1c0
mov eax, dword [esi + 4]
inc ecx
push 0x20
mov word [eax + ebx*2], dx
inc ebx
movzx edx, word [edi + ecx*2]
pop eax
cmp dx, ax
jne 0x45f1a8
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
push 0x7c
pop edx
push 0x20
mov word [eax + ebx*2], dx
inc ebx
pop eax
jmp 0x45f1d5
inc ecx
cmp word [edi + ecx*2], ax
je 0x45f1d4
jmp 0x45f1ef
cmp dx, word [ebp - 0x14]
je 0x45f1f8
mov eax, dword [esi + 4]
inc ecx
push 0x20
mov word [eax + ebx*2], dx
inc ebx
pop eax
movzx edx, word [edi + ecx*2]
cmp dx, ax
jne 0x45f1dd
mov eax, dword [esi + 4]
push 0x3b
pop edx
push 0x20
mov word [eax + ebx*2], dx
inc ebx
pop eax
jmp 0x45f209
inc ecx
cmp word [edi + ecx*2], ax
je 0x45f208
mov edx, dword [ebp - 0x14]
cmp word [edi + ecx*2], dx
jne 0x45f219
inc ecx
cmp word [edi + ecx*2], ax
je 0x45f218
xor edx, edx
inc edx
jmp 0x45f228
pop eax
jmp 0x45f228
inc ecx
cmp word [edi + ecx*2], ax
je 0x45f227
jmp 0x45f25b
cmp ax, word [ebp - 0x10]
jne 0x45f240
push 0x20
pop eax
inc ecx
cmp word [edi + ecx*2], ax
je 0x45f239
movzx eax, word [edi + ecx*2]
mov dword [ebp - 0x2c], eax
cmp eax, 0x29
je 0x45f26c
mov eax, dword [esi + 4]
inc ecx
mov edi, dword [ebp - 0x2c]
mov word [eax + ebx*2], di
inc ebx
mov edi, dword [ebp + 8]
movzx eax, word [edi + ecx*2]
push 0x3b
pop edi
cmp ax, di
mov edi, dword [ebp + 8]
jne 0x45f230
jmp 0x45f271
xor eax, eax
inc ecx
mov edx, eax
push 0x20
pop eax
jmp 0x45f277
inc ecx
cmp word [edi + ecx*2], ax
je 0x45f276
mov eax, dword [esi + 4]
test edx, edx
jne 0x45f288
push 0xa
jmp 0x45f28a
push 0x3b
pop edi
mov word [eax + ebx*2], di
inc ebx
mov edi, dword [ebp + 8]
push 0x3b
pop eax
cmp word [edi + ecx*2], ax
jne 0x45f29d
inc ecx
xor eax, eax
inc eax
push 0x20
cmp edx, eax
je 0x45f224
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ebx
pop edx
cmp ecx, dword [ebp - 0xc]
jl 0x45f198
xor ecx, ecx
push 3
pop edx
cmp dword [esi + 0x24], ecx
je 0x45f2c9
add eax, edx
mov dword [ebp - 8], eax
xor ecx, ecx
push 4
pop edi
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004218c6
mov dword [esi + 8], eax
xor ecx, ecx
mov eax, dword [ebp - 8]
push 0x1c
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004218c6
mov dword [esi + 0xc], eax
xor edx, edx
pop ecx
pop ecx
mov dword [eax], str.InterfaceDispatch
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
push 2
mov dword [eax + 4], edx
mov eax, dword [esi + 0xc]
or dword [eax + 8], 0xffffffff
mov eax, dword [esi + 0xc]
or dword [eax + 0xc], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [eax + 0x10], edi
mov eax, dword [esi + 0xc]
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0xc]
mov word [eax + 0x18], cx
xor ecx, ecx
mov eax, dword [esi + 0xc]
mov word [eax + 0x1a], cx
mov eax, dword [esi + 0xc]
pop ecx
push 0x13
mov dword [ebp + 8], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x20], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x24], edx
mov eax, dword [esi + 0xc]
or dword [eax + 0x28], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [eax + 0x2c], edi
mov eax, dword [esi + 0xc]
pop edi
mov dword [eax + 0x30], edx
mov eax, dword [esi + 0xc]
mov word [eax + 0x34], cx
mov eax, dword [esi + 0xc]
mov word [eax + 0x36], di
mov edi, ecx
mov eax, dword [esi + 8]
mov dword [eax], edx
mov eax, dword [esi + 8]
mov dword [eax + 4], edx
cmp dword [esi + 0x24], edx
je 0x45f4b9
mov eax, dword [esi + 0xc]
push 5
pop edi
push 3
mov dword [eax + 0x38], str.QueryInterface
mov eax, dword [esi + 0xc]
mov dword [ebp + 8], edi
mov dword [eax + 0x40], 1
mov eax, dword [esi + 0xc]
mov dword [eax + 0x44], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x48], 4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x4c], ecx
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
mov word [eax + 0x50], cx
mov eax, dword [esi + 0xc]
pop ecx
push 0x10
mov word [eax + 0x52], cx
call fcn.004218c6
pop ecx
mov ecx, dword [esi + 8]
xor edx, edx
push 0x48
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
pop ecx
push 0x13
mov eax, dword [eax + 8]
mov word [eax + 4], cx
mov ecx, 0x4013
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
mov word [eax + 0xc], cx
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
mov dword [eax], edx
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
mov dword [eax + 8], edx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [eax + 8]
mov dword [ecx + 0x3c], eax
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
mov dword [eax + 0x54], str.AddRef
mov eax, dword [esi + 0xc]
mov dword [eax + 0x58], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x5c], 2
mov eax, dword [esi + 0xc]
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x64], 4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x68], edx
mov eax, dword [esi + 0xc]
mov word [eax + 0x6c], cx
mov eax, dword [esi + 0xc]
pop ecx
push 3
mov word [eax + 0x6e], cx
mov eax, dword [esi + 8]
pop ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x70], str.Release
mov eax, dword [esi + 0xc]
mov dword [eax + 0x74], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x78], ecx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x7c], 2
mov eax, dword [esi + 0xc]
mov dword [eax + 0x80], 4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x84], edx
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
push 0x13
mov word [eax + 0x88], cx
mov eax, dword [esi + 0xc]
pop ecx
mov word [eax + 0x8a], cx
mov eax, dword [esi + 8]
mov dword [eax + 0x10], edx
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x28], edx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
push 8
pop eax
test ebx, ebx
jle 0x45f702
mov eax, dword [ebp + 8]
shl eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
imul edi, edi, 0x1c
add eax, 0xfffffffe
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], edi
movzx ebx, word [eax + ecx*2]
cmp bx, word [ebp - 0x30]
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
jne 0x45f516
xor edx, edx
mov word [eax + ecx*2], dx
lea edx, [ecx + 1]
lea edx, [eax + edx*2]
mov dword [ebp - 0x28], edx
jmp 0x45f6f3
push 0xa
pop esi
cmp word [ebp + 8], si
mov esi, dword [ebp - 0x18]
je 0x45f52d
cmp word [ebp + 8], 0
jne 0x45f6f3
xor ebx, ebx
mov word [eax + ecx*2], bx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + eax], ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + 1]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp - 0x20]
mov dword [edi + eax + 8], ebx
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp - 4]
mov dword [edi + eax + 0xc], ecx
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
mov word [edi + eax + 0x18], cx
xor eax, eax
mov ecx, eax
mov dword [ebp + 8], eax
cmp word [edx], ax
je 0x45f5a3
push 0x3b
mov eax, edx
mov ebx, ecx
xor edi, edi
pop esi
cmp word [eax], si
jne 0x45f58c
cmp word [eax + 2], di
je 0x45f587
inc ebx
jmp 0x45f58c
xor edi, edi
mov word [eax], di
inc ecx
lea eax, [edx + ecx*2]
cmp word [eax], di
jne 0x45f579
mov esi, dword [ebp - 0x18]
xor eax, eax
mov edi, dword [ebp - 0x14]
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x45f5d1
push 0x3b
pop ebx
cmp word [edx + eax*2], bx
mov ebx, dword [ebp - 4]
je 0x45f5bf
inc eax
cmp eax, ecx
jl 0x45f5ac
jmp 0x45f5d1
xor ecx, ecx
mov word [edx + eax*2], cx
inc eax
lea eax, [edx + eax*2]
cmp word [eax], cx
je 0x45f5d1
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 0x1a]
add ecx, 0x10
add eax, edi
add ecx, edi
push eax
push ecx
push edx
call fcn.0045e7de
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov dword [edi + ecx + 0x14], eax
xor ecx, ecx
test eax, eax
je 0x45f6bf
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004218c6
mov edx, dword [ebp - 0xc]
pop ecx
mov ecx, dword [esi + 8]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45f6b0
xor ecx, ecx
xor ebx, ebx
cmp word [eax], bx
mov edx, eax
mov ebx, dword [ebp - 4]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x1c], ecx
je 0x45f689
mov ebx, eax
push 0x3b
pop edi
cmp word [ebx], di
push 0
pop edi
jne 0x45f67a
xor eax, eax
push edx
mov word [ebx], ax
call fcn.0045fbdc
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ecx + edx]
mov word [ecx + edi*8 + 4], ax
mov ecx, edi
mov eax, dword [esi + 8]
mov eax, dword [eax + edx]
xor edx, edx
mov dword [eax + ecx*8], edx
inc ecx
mov eax, dword [ebp - 0x10]
lea edx, [ebx + 2]
mov dword [ebp + 8], ecx
xor edi, edi
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
lea ebx, [eax + ecx*2]
cmp word [ebx], di
jne 0x45f637
mov ebx, dword [ebp - 4]
push edx
call fcn.0045fbdc
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ecx + edx]
mov word [ecx + edi*8 + 4], ax
mov ecx, edi
mov eax, dword [esi + 8]
xor edi, edi
mov eax, dword [eax + edx]
mov dword [eax + ecx*8], edi
mov edi, dword [ebp - 0x14]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + eax]
mov dword [edi + ecx + 4], eax
jmp 0x45f6cf
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0xc]
mov dword [edx + eax], ecx
mov eax, dword [esi + 0xc]
mov dword [edi + eax + 4], ecx
mov eax, dword [ebp - 0x20]
add edx, 4
mov ecx, dword [ebp - 0x2c]
add edi, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
lea edx, [ecx + 1]
mov dword [ebp - 0x14], edi
lea edx, [eax + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, ebx
jl 0x45f4f2
push 8
pop eax
push eax
call fcn.004218c6
pop ecx
mov ecx, dword [ebp - 8]
mov dword [esi + 0x10], eax
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
pop edi
pop esi
mov dword [ecx], eax
pop ebx
mov esp, ebp
pop ebp
ret 4