Function at 0x1021bc4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x104a794]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
xor edi, edi
push 0x1004c7c
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push dword [eax + 0x190]
mov dword [ebp - 0x1c], edi
call esi
mov dword [ebp - 0x20], eax
mov eax, dword [0x104a794]
push 0x1004c68
push dword [eax + 0x190]
call esi
mov dword [ebp - 0x34], eax
mov eax, dword [0x104a794]
push 0x1004c54
push dword [eax + 0x190]
call esi
mov dword [ebp - 0x28], eax
mov eax, dword [0x104a794]
push 0x1004c40
push dword [eax + 0x190]
call esi
mov dword [ebp - 0x24], eax
mov eax, dword [0x104a794]
push 0x1004c30
push dword [eax + 0x190]
call esi
mov dword [ebp - 0x2c], eax
mov eax, dword [0x104a794]
push 0x1004c1c
push dword [eax + 0x190]
call esi
mov dword [ebp - 0x30], eax
mov eax, dword [0x104a794]
push 0x1004c04
push dword [eax + 0x190]
call esi
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x20], edi
jne 0x1021c98
mov eax, 0x80004003
push eax
push 0x1004be8
push 0x155a
jmp 0x1021d1f
cmp dword [ebp - 0x34], edi
jne 0x1021caf
mov eax, 0x80004003
push eax
push 0x1004be8
push 0x155b
jmp 0x1021d1f
cmp dword [ebp - 0x28], edi
jne 0x1021cc6
mov eax, 0x80004003
push eax
push 0x1004be8
push 0x155c
jmp 0x1021d1f
cmp dword [ebp - 0x24], edi
jne 0x1021cdd
mov eax, 0x80004003
push eax
push 0x1004be8
push 0x155d
jmp 0x1021d1f
cmp dword [ebp - 0x2c], edi
jne 0x1021cf4
mov eax, 0x80004003
push eax
push 0x1004be8
push 0x155e
jmp 0x1021d1f
cmp dword [ebp - 0x30], edi
jne 0x1021d0b
mov eax, 0x80004003
push eax
push 0x1004be8
push 0x155f
jmp 0x1021d1f
cmp eax, edi
jne 0x1021d3a
mov eax, 0x80004003
push eax
push 0x1004be8
push 0x1560
push 0x10047a8
push 0x10018c8
mov ecx, 0x104abe8
mov esi, eax
call fcn.0102f8f0
jmp 0x1021f00
push ebx
push 1
lea eax, [ebp - 4]
push eax
push 0x1004bc4
call fcn.0102e74f
mov ebx, dword [ebp + 8]
test eax, eax
jl 0x1021e06
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x24]
mov esi, eax
cmp esi, edi
jge 0x1021d73
push esi
push 0x1004be8
push 0x156a
jmp 0x1021edd
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x18]
call dword [ebp - 0x28]
mov esi, eax
cmp esi, edi
jge 0x1021d93
push esi
push 0x1004be8
push 0x156b
jmp 0x1021edd
cmp dword [ebp - 0xc], edi
je 0x1021dbc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x18]
call dword [ebp - 0x2c]
mov esi, eax
cmp esi, edi
jge 0x1021dbc
push esi
push 0x1004be8
push 0x1571
jmp 0x1021edd
push dword [ebp - 0x18]
call dword [ebp - 0x30]
xor esi, esi
cmp dword [ebp - 0xc], edi
jbe 0x1021e06
mov eax, dword [ebp - 8]
mov eax, dword [eax + esi*4]
push 0xffffffffffffffff
push dword [eax + 4]
push 0xffffffffffffffff
push dword [ebp - 4]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x1021e00
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
cmp eax, edi
je 0x1021e29
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x1021dc9
cmp dword [ebp + 0x14], edi
je 0x1021e3e
cmp dword [ebp - 0x1c], edi
jne 0x1021ea5
mov esi, 0x80004005
push esi
push 0x1004be8
push 0x158e
jmp 0x1021edd
mov esi, 0x8007000e
push esi
push 0x1004be8
push 0x1584
jmp 0x1021edd
cmp dword [ebp - 0x1c], edi
jne 0x1021ea5
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x1004bb0
call dword [ebp - 0x34]
mov esi, eax
cmp esi, edi
jge 0x1021e64
push esi
push 0x1004be8
push 0x159c
jmp 0x1021edd
push dword [ebp - 0x10]
push 0x1004bc4
call fcn.0102f538
mov esi, eax
cmp esi, edi
jge 0x1021e84
push esi
push 0x1004be8
push 0x159f
jmp 0x1021edd
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
cmp eax, edi
jne 0x1021ea5
mov esi, 0x8007000e
push esi
push 0x1004be8
push 0x15a1
jmp 0x1021edd
lea eax, [ebp - 0x14]
push eax
push dword [ebx]
call dword [ebp - 0x38]
mov esi, eax
cmp esi, edi
jge 0x1021ec1
push esi
push 0x1004be8
push 0x15a9
jmp 0x1021edd
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call fcn.0103a142
mov esi, eax
cmp esi, edi
jge 0x1021ef3
push esi
push 0x1004be8
push 0x15aa
push 0x10047a8
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
jmp 0x1021eff
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x1021eff
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
pop ebx
cmp dword [ebp - 4], edi
je 0x1021f11
push dword [ebp - 4]
call fcn.0102d44c
pop ecx
mov dword [ebp - 4], edi
cmp dword [ebp - 8], edi
je 0x1021f1f
push dword [ebp - 8]
call dword [ebp - 0x20]
mov dword [ebp - 8], edi
cmp dword [ebp - 0x10], edi
je 0x1021f2d
push dword [ebp - 0x10]
call dword [ebp - 0x20]
mov dword [ebp - 8], edi
cmp esi, edi
jl 0x1021f36
cmp dword [ebp + 0x10], edi
jne 0x1021f45
cmp dword [ebp - 0x14], edi
je 0x1021f45
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov eax, esi
pop esi
leave
ret 0x10