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

Disassembly:
push 0xffffffffffffffff
push 0x4d1f90
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x68]
xor ebp, ebp
cmp eax, ebp
jne 0x49bc5d
or eax, 0xffffffff
jmp 0x49c3f7
mov dword [esp + 0x14], ebp
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], ebp
call fcn.00491780
cmp eax, ebp
jge 0x49bc80
cmp eax, 0x80004002
je 0x49bc80
push eax
call fcn.004ccc80
mov esi, dword [esp + 0x14]
cmp esi, ebp
jne 0x49bc94
push 0x80004003
call fcn.004ccc80
jmp 0x49bc9c
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
lea ecx, [esp + 0x68]
call fcn.00474bb0
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 1
call fcn.00474bb0
mov edx, dword [esp + 0x6c]
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 2
call fcn.00474c20
mov ebx, dword [esp + 0x70]
push ebx
lea ecx, [esp + 0x2c]
call fcn.00474c20
cmp esi, ebp
jne 0x49bce2
push 0x80004003
call fcn.004ccc80
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.0049ab90
mov eax, dword [eax]
cmp eax, ebp
mov byte [esp + 0x60], 3
je 0x49bcfd
mov eax, dword [eax]
jmp 0x49bcff
xor eax, eax
or edi, 0xffffffff
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.004748c0
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 5
call fcn.0049a9d0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.00477290
add esp, 8
test eax, eax
je 0x49c2bd
mov eax, dword [esp + 0x68]
push str._this_
push eax
call fcn.00477290
add esp, 8
test eax, eax
je 0x49c2bd
mov dword [esp + 0x6c], ebp
cmp esi, ebp
mov byte [esp + 0x60], 8
jne 0x49bd76
push 0x80004003
call fcn.004ccc80
mov eax, dword [esp + 0x6c]
cmp eax, ebp
je 0x49bd76
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
push esi
call edx
cmp eax, ebp
jge 0x49bde5
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [esp + 0x6c]
cmp eax, ebp
mov byte [esp + 0x60], 5
je 0x49bda8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 2
call fcn.004732d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 1
call fcn.004732d0
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 0
call fcn.004732d0
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
mov dword [esp + 0x64], edi
call edx
xor eax, eax
jmp 0x49c3f7
push ebp
push 0x51ef40
lea ecx, [esp + 0x70]
call fcn.004734f0
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x40], edi
jl 0x49be7a
push ebp
push 0x51ef3c
lea ecx, [esp + 0x70]
call fcn.004734f0
sub eax, esi
sub eax, 1
push eax
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x74]
call fcn.004741d0
mov bl, 9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], bl
call fcn.00473680
push esi
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x48], eax
call fcn.004743b0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0xa
call fcn.00474c20
lea ecx, [esp + 0x3c]
mov byte [esp + 0x60], bl
call fcn.004732d0
lea ecx, [esp + 0x68]
call fcn.00473530
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 8
call fcn.004732d0
lea ecx, [esp + 0x18]
call fcn.00474bb0
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 0xb
call fcn.00474bb0
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 0xc
call fcn.00474bb0
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 0xd
call fcn.00474bb0
push ebp
push 0x3a
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 0xe
call fcn.004734b0
mov esi, dword [esp + 0x20]
add esi, 0x15c
mov edi, eax
mov eax, dword [esi + 8]
cmp eax, ebp
jne 0x49beda
mov dword [esp + 0x3c], ebp
jmp 0x49bf60
mov eax, dword [eax - 0xc]
shr eax, 2
cmp eax, ebp
mov dword [esp + 0x3c], eax
jle 0x49bf60
cmp edi, ebp
jl 0x49bf60
push edi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x70]
call fcn.004743b0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 0xf
call fcn.00474c20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 0xe
call fcn.004732d0
lea ecx, [edi + 1]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x70]
call fcn.00401040
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0x10
call fcn.00474c20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 0xe
call fcn.004732d0
mov eax, dword [esp + 0x30]
push eax
mov ecx, esi
call fcn.00492c40
add eax, 4
push eax
lea ecx, [esp + 0x38]
call fcn.00474c20
cmp dword [esp + 0x6c], ebp
jne 0x49bf70
push 0x80004003
call fcn.004ccc80
mov ecx, dword [esp + 0x6c]
call fcn.004830b0
test eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], 0
jle 0x49c20d
cmp dword [esp + 0x6c], 0
jne 0x49bf9e
push 0x80004003
call fcn.004ccc80
push ebp
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x74]
call fcn.0048b230
mov esi, dword [esp + 0x1c]
test esi, esi
mov byte [esp + 0x60], 0x11
je 0x49c0e4
lea edx, [esp + 0x48]
push edx
mov ecx, esi
mov ebx, 1
call fcn.0049ab90
mov eax, dword [eax]
test eax, eax
mov byte [esp + 0x60], 0x12
je 0x49bfde
mov eax, dword [eax]
jmp 0x49bfe0
xor eax, eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x20]
call fcn.00473ec0
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 0x11
call fcn.0049a9d0
cmp dword [esp + 0x3c], 0
jle 0x49c07a
push 0
push 0x3a
lea ecx, [esp + 0x20]
call fcn.004734b0
mov edi, eax
test edi, edi
jl 0x49c07a
lea eax, [edi + 1]
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401040
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 0x13
call fcn.00474c20
lea ecx, [esp + 0x4c]
mov byte [esp + 0x60], 0x11
call fcn.004732d0
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.0049ac30
mov eax, dword [eax]
test eax, eax
mov byte [esp + 0x60], 0x14
je 0x49c05e
mov eax, dword [eax]
jmp 0x49c060
xor eax, eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x40]
call fcn.00473ec0
lea ecx, [esp + 0x50]
mov byte [esp + 0x60], 0x11
call fcn.0049a9d0
cmp edi, 0xffffffff
jne 0x49c081
xor ebx, ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.00477290
add esp, 8
test eax, eax
jne 0x49c0d4
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.00477290
add esp, 8
test eax, eax
je 0x49c0b1
test ebx, ebx
jne 0x49c0d4
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
je 0x49c0fb
cmp eax, dword [esp + 0x2c]
je 0x49c0fb
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
add dword [esp + 0x2c], 1
push esi
mov byte [esp + 0x64], 0xe
call edx
jmp 0x49c0e9
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov dword [esp + 0x1c], 0
mov byte [esp + 0x60], 0xe
add ebp, 1
cmp ebp, dword [esp + 0x54]
jl 0x49bf8d
jmp 0x49c20d
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
test eax, eax
mov edi, dword [esp + 0x74]
je 0x49c136
mov eax, dword [eax - 0xc]
shr eax, 1
test eax, eax
jle 0x49c136
mov ebp, dword [esp + 0x20]
push edi
push ecx
push esi
mov ecx, ebp
call fcn.0049ad50
test eax, eax
jne 0x49c13a
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
mov byte [esp + 0x64], 0xe
call eax
jmp 0x49c20d
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x20]
call fcn.0049a700
mov ecx, eax
call fcn.0049abe0
mov eax, dword [esp + 0x70]
test eax, eax
mov bl, 0x15
mov byte [esp + 0x60], bl
je 0x49c161
mov eax, dword [eax]
jmp 0x49c163
xor eax, eax
push eax
mov ecx, edi
call fcn.0047ea90
lea ecx, [esp + 0x70]
call fcn.0049a850
test eax, eax
jne 0x49c1e6
lea ecx, [esp + 0x74]
call fcn.00474bb0
push 0xffffffffffffffff
push 0x513d50
lea ecx, [esp + 0x7c]
mov byte [esp + 0x68], 0x16
call fcn.00473ec0
push edi
lea edx, [esp + 0x78]
push edx
push esi
mov ecx, ebp
call fcn.0049ad50
cmp eax, 0xffffffff
jne 0x49c1c6
push eax
push 0x513d44
lea ecx, [esp + 0x7c]
call fcn.00473ec0
push edi
lea eax, [esp + 0x78]
push eax
push esi
mov ecx, ebp
call fcn.0049ad50
lea ecx, [esp + 0x74]
mov byte [esp + 0x60], bl
call fcn.004732d0
lea ecx, [esp + 0x70]
call fcn.0049a9d0
mov ecx, dword [esi]
mov byte [esp + 0x60], 0xe
push esi
jmp 0x49c208
lea ecx, [esp + 0x1c]
call fcn.004884c0
lea ecx, [esp + 0x70]
call fcn.0049a9d0
mov eax, dword [esp + 0x1c]
test eax, eax
mov byte [esp + 0x60], 0xe
je 0x49c20d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [esp + 0x6c]
xor esi, esi
cmp eax, esi
jne 0x49c223
push 0x80004003
call fcn.004ccc80
jmp 0x49c22f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 0xd
call fcn.004732d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 0xc
call fcn.004732d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 0xb
call fcn.004732d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 8
call fcn.004732d0
mov eax, dword [esp + 0x6c]
cmp eax, esi
mov byte [esp + 0x60], 5
je 0x49c27c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], esi
mov byte [esp + 0x60], 2
call fcn.004732d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 1
call fcn.004732d0
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 0
call fcn.004732d0
xor eax, eax
jmp 0x49c3f7
mov eax, dword [ebx]
xor edi, edi
cmp eax, ebp
je 0x49c2e5
mov eax, dword [eax - 0xc]
shr eax, 1
cmp eax, ebp
jle 0x49c2e5
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x20]
push eax
push ebx
push esi
call fcn.0049ad50
mov edi, eax
jmp 0x49c3af
cmp esi, ebp
jne 0x49c2f3
push 0x80004003
call fcn.004ccc80
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call fcn.0049abe0
mov esi, dword [esp + 0x70]
cmp esi, ebp
mov byte [esp + 0x60], 6
je 0x49c310
mov eax, dword [esi]
jmp 0x49c312
xor eax, eax
mov ebp, dword [esp + 0x74]
push eax
mov ecx, ebp
call fcn.0047ea90
test esi, esi
je 0x49c333
mov esi, dword [esi]
test esi, esi
je 0x49c333
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x49c39b
lea ecx, [esp + 0x74]
call fcn.00474bb0
push 0xffffffffffffffff
push 0x513d50
lea ecx, [esp + 0x7c]
mov byte [esp + 0x68], 7
call fcn.00473ec0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
push ebp
lea edx, [esp + 0x78]
push edx
push esi
mov ecx, ebx
call fcn.0049ad50
mov edi, eax
cmp edi, 0xffffffff
jne 0x49c38d
push eax
push 0x513d44
lea ecx, [esp + 0x7c]
call fcn.00473ec0
push ebp
lea eax, [esp + 0x78]
push eax
push esi
mov ecx, ebx
call fcn.0049ad50
mov edi, eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x60], 6
call fcn.004732d0
lea ecx, [esp + 0x70]
mov byte [esp + 0x60], 5
call fcn.0049a9d0
mov esi, dword [esp + 0x14]
xor ebp, ebp
cmp esi, ebp
jne 0x49c3bf
push 0x80004003
call fcn.004ccc80
jmp 0x49c3cb
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 2
call fcn.004732d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 1
call fcn.004732d0
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 0
call fcn.004732d0
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x10