Function at 0x10049390
Capabilities:
Get http document via iwebbrowser2

Disassembly:
push 0xffffffffffffffff
push 0x1007deb5
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10097060]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x1c], ebx
lea edi, [esp + 0x1c]
mov dword [esp + 0xbc], ebx
call fcn.10014610
mov eax, dword [esp + 0xc4]
mov esi, dword [eax + 0x14]
push esi
mov word [esp + 0x30], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x10049401
cmp esi, ebx
je 0x10049401
push 0x8007000e
call fcn.10066a70
mov byte [esp + 0xbc], 1
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
jne 0x1004941f
push 0x80004003
call fcn.10066a70
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov edx, dword [ecx]
lea eax, [esp + 0x18]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x44]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x4c]
mov esi, ecx
push ecx
mov ecx, dword [edx + 0xe8]
mov dword [esp + 0x30], ebx
mov dword [eax + 0xc], edi
call ecx
cmp eax, ebx
jge 0x10049465
push 0x10088d24
push esi
push eax
call fcn.10066a80
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x40], ebx
xor ebp, ebp
mov dword [esp + 0x54], ebp
mov byte [esp + 0xbc], 3
cmp dword [esp + 0x1c], ebx
jne 0x10049492
push 0x80004003
call fcn.10066a70
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x18]
call fcn.10017690
mov eax, dword [eax]
cmp eax, ebx
je 0x100494b5
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov esi, eax
push eax
mov dword [esp + 0x44], esi
call edx
jmp 0x100494b9
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x100494c9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jne 0x10049587
mov eax, dword [esp + 0xc4]
mov esi, dword [eax + 0x14]
push esi
mov word [esp + 0x30], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x100494ff
cmp esi, ebx
je 0x100494ff
push 0x8007000e
call fcn.10066a70
mov byte [esp + 0xbc], 4
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
jne 0x1004951d
push 0x80004003
call fcn.10066a70
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x40]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x44]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x108]
push ecx
mov esi, ecx
call eax
cmp eax, ebx
jge 0x1004955a
push 0x10088d24
push esi
push eax
call fcn.10066a80
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0xbc], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x10049580
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor al, al
jmp 0x10049f00
mov ecx, dword [esi]
mov eax, dword [ecx + 0x58]
lea edx, [esp + 0x28]
push edx
push esi
mov dword [esp + 0x30], ebx
call eax
cmp eax, ebx
jge 0x100495a8
push 0x10088d44
push esi
push eax
call fcn.10066a80
cmp word [esp + 0x28], bx
je 0x10049e27
push ecx
mov ebx, esp
mov dword [esp + 0x54], esp
push str.point
call fcn.10017500
mov byte [esp + 0xc0], 5
mov edi, dword [esp + 0x44]
lea ecx, [esp + 0x1c]
mov bl, 3
push ecx
mov byte [esp + 0xc4], bl
call fcn.10017590
mov byte [esp + 0xbc], 6
mov eax, dword [eax]
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
mov dword [ecx], eax
je 0x10049602
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x58]
call fcn.100171e0
test eax, eax
jge 0x1004961c
cmp eax, 0x80004002
je 0x1004961c
push eax
call fcn.10066a70
mov byte [esp + 0xbc], bl
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10049633
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebp, dword [esp + 0x54]
test ebp, ebp
jne 0x100496d4
mov eax, dword [esp + 0xc4]
mov esi, dword [eax + 0x14]
push esi
mov word [esp + 0x30], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esp + 0x34], eax
jne 0x1004966d
test esi, esi
je 0x1004966d
push 0x8007000e
call fcn.10066a70
mov byte [esp + 0xbc], 7
cmp dword [esp + 0x1c], 0
jne 0x10049686
push 0x80004003
call fcn.10066a70
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.10021cf0
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0xbc], 0
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0xbc], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100496cd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
jmp 0x10049f00
mov eax, dword [0x10099194]
mov edx, dword [eax + 0xc]
mov ecx, 0x10099194
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
push ecx
mov byte [esp + 0xc0], 8
mov ebx, esp
mov dword [esp + 0x54], esp
push str.type
call fcn.10017500
lea eax, [esp + 0x70]
mov byte [esp + 0xc0], 9
push eax
mov edi, ebp
mov byte [esp + 0xc4], 8
call fcn.10017410
mov esi, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 0xa
call fcn.10003af0
mov byte [esp + 0xbc], 0xb
mov eax, dword [eax]
test eax, eax
je 0x10049744
mov eax, dword [eax]
jmp 0x10049746
xor eax, eax
mov edx, eax
lea edi, [esp + 0x28]
call fcn.10001ae0
lea edi, [esp + 0x18]
call fcn.10003db0
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [esp + 0x28]
push edx
call fcn.100674d7
mov ecx, dword [esp + 0xc8]
xor ebx, ebx
add esp, 4
mov dword [ecx + 0x10], eax
mov dword [esp + 0x24], ebx
xor edi, edi
mov dword [esp + 0x4c], edi
mov esi, ebp
mov byte [esp + 0xbc], 0xd
call fcn.10017660
test ax, ax
je 0x10049dd5
mov edx, dword [0x10099194]
mov eax, dword [edx + 0xc]
mov ecx, 0x10099194
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
mov byte [esp + 0xbc], 0xe
mov edx, dword [0x10099194]
mov eax, dword [edx + 0xc]
mov ecx, 0x10099194
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov bl, 0xf
lea edi, [esp + 0x18]
mov byte [esp + 0xbc], bl
call fcn.100173d0
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 0x10
call fcn.10016fb0
mov byte [esp + 0xbc], bl
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10049810
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x10049822
push 0x80004003
call fcn.10066a70
lea eax, [esp + 0x18]
call fcn.10017390
mov byte [esp + 0xbc], 0x11
mov eax, dword [eax]
test eax, eax
je 0x1004983d
mov edx, dword [eax]
jmp 0x1004983f
xor edx, edx
lea edi, [esp + 0x48]
call fcn.10001ae0
lea edi, [esp + 0x18]
mov byte [esp + 0xbc], bl
call fcn.10003db0
lea edi, [esp + 0x18]
mov esi, ebp
call fcn.10017350
lea ecx, [esp + 0x4c]
mov byte [esp + 0xbc], 0x12
call fcn.10016fb0
mov byte [esp + 0xbc], bl
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1004988b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x4c]
test edi, edi
jne 0x1004989d
push 0x80004003
call fcn.10066a70
lea eax, [esp + 0x18]
call fcn.10017390
mov byte [esp + 0xbc], 0x13
mov eax, dword [eax]
test eax, eax
je 0x100498b8
mov eax, dword [eax]
jmp 0x100498ba
xor eax, eax
mov edx, eax
lea edi, [esp + 0x44]
call fcn.10001ae0
lea edi, [esp + 0x18]
mov byte [esp + 0xbc], bl
call fcn.10003db0
xor eax, eax
cmp dword [esp + 0x44], eax
setne al
mov dword [esp + 0x68], eax
mov edx, dword [0x10099194]
mov eax, dword [edx + 0xc]
mov ecx, 0x10099194
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push ecx
mov bl, 0x15
mov byte [esp + 0xc0], bl
mov edx, esp
mov dword [esp + 0x5c], esp
push edx
mov edi, 0x10085f8c
call fcn.10003e00
mov byte [esp + 0xc0], 0x16
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x10049939
push 0x80004003
call fcn.10066a70
lea eax, [esp + 0xa0]
push eax
mov byte [esp + 0xc4], bl
call fcn.10017410
mov esi, eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xbc], 0x17
call fcn.10003af0
mov byte [esp + 0xbc], 0x18
mov eax, dword [eax]
test eax, eax
je 0x10049978
mov edx, dword [eax]
test edx, edx
jne 0x1004997e
xor eax, eax
jmp 0x10049992
xor edx, edx
xor eax, eax
jmp 0x10049992
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10049983
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x24]
call fcn.10002470
mov eax, dword [esp + 0x60]
test eax, eax
je 0x100499e8
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100499e0
test esi, esi
je 0x100499e0
mov eax, dword [esi]
test eax, eax
je 0x100499c7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x100499d7
push eax
call fcn.10067257
add esp, 4
push esi
call fcn.10067257
add esp, 4
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xbc], 0x15
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ecx
call ebp
mov edx, dword [esp + 0x20]
push edx
call fcn.10067afe
fstp dword [esp + 0x34]
mov ebx, esp
mov dword [esp + 0x5c], esp
push 0x10085f90
call fcn.10017500
test edi, edi
mov byte [esp + 0xc0], 0x19
jne 0x10049a34
push 0x80004003
call fcn.10066a70
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0xc4], 0x15
call fcn.10017410
mov esi, eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xbc], 0x1a
call fcn.10003af0
mov byte [esp + 0xbc], 0x1b
mov eax, dword [eax]
test eax, eax
je 0x10049a74
mov edx, dword [eax]
test edx, edx
jne 0x10049a7a
xor eax, eax
jmp 0x10049a8f
xor edx, edx
xor eax, eax
jmp 0x10049a8f
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10049a80
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x24]
call fcn.10002470
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10049ae5
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10049add
test esi, esi
je 0x10049add
mov eax, dword [esi]
test eax, eax
je 0x10049ac4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10049ad4
push eax
call fcn.10067257
add esp, 4
push esi
call fcn.10067257
add esp, 4
mov dword [esp + 0x5c], 0
lea ecx, [esp + 0x8c]
push ecx
mov byte [esp + 0xc0], 0x15
call ebp
mov edx, dword [esp + 0x20]
push edx
call fcn.10067afe
fstp dword [esp + 0x30]
mov ebx, esp
mov dword [esp + 0x5c], esp
push 0x10085f94
call fcn.10017500
test edi, edi
mov byte [esp + 0xc0], 0x1c
jne 0x10049b2b
push 0x80004003
call fcn.10066a70
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xc4], 0x15
call fcn.10017410
mov esi, eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xbc], 0x1d
call fcn.10003af0
mov byte [esp + 0xbc], 0x1e
mov eax, dword [eax]
test eax, eax
je 0x10049b6b
mov edx, dword [eax]
test edx, edx
jne 0x10049b71
xor eax, eax
jmp 0x10049b85
xor edx, edx
xor eax, eax
jmp 0x10049b85
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10049b76
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x24]
call fcn.10002470
mov eax, dword [esp + 0x64]
test eax, eax
je 0x10049bdb
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10049bd3
test esi, esi
je 0x10049bd3
mov eax, dword [esi]
test eax, eax
je 0x10049bba
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10049bca
push eax
call fcn.10067257
add esp, 4
push esi
call fcn.10067257
add esp, 4
mov dword [esp + 0x64], 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xbc], 0x15
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ecx
call edi
mov ebp, dword [esp + 0x20]
push ebp
call fcn.10067afe
fstp dword [esp + 0x38]
mov esi, dword [esp + 0xc8]
add esp, 4
lea ebx, [esp + 0x2c]
call fcn.10014a60
cmp dword [esp + 0x68], 0
je 0x10049d9d
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10049c4a
test dx, dx
je 0x10049c46
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10049c4a
add eax, 4
add ecx, 4
test dx, dx
jne 0x10049c24
xor eax, eax
jmp 0x10049c4f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10049da7
cmp dword [esp + 0x24], 0
je 0x10049f1c
mov esi, dword [esp + 0x24]
lea edi, [esp + 0x50]
call fcn.10017310
mov byte [esp + 0xbc], 0x20
mov eax, dword [eax]
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
mov dword [ecx], eax
je 0x10049c8e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x28]
call fcn.100171e0
test eax, eax
jge 0x10049ca8
cmp eax, 0x80004002
je 0x10049ca8
push eax
call fcn.10066a70
mov byte [esp + 0xbc], 0x15
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10049cc0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x10049cd2
push 0x80004003
call fcn.10066a70
lea eax, [esp + 0x18]
call fcn.10017390
mov byte [esp + 0xbc], 0x21
mov eax, dword [eax]
test eax, eax
je 0x10049cf3
mov edx, dword [eax]
test edx, edx
jne 0x10049cf9
xor eax, eax
jmp 0x10049d0f
xor edx, edx
xor eax, eax
jmp 0x10049d0f
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10049d00
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x4c]
call fcn.10002470
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10049d65
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10049d5d
test esi, esi
je 0x10049d5d
mov eax, dword [esi]
test eax, eax
je 0x10049d44
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10049d54
push eax
call fcn.10067257
add esp, 4
push esi
call fcn.10067257
add esp, 4
mov dword [esp + 0x18], 0
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x10]
mov byte [esp + 0xbc], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100498e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x100498e2
push 0x80004005
call fcn.10002ec0
lea ecx, [esp + 0x6c]
push ecx
call edi
lea eax, [esp + 0x20]
call fcn.1001f1f0
lea eax, [esp + 0x44]
call fcn.1001f1f0
lea eax, [esp + 0x48]
call fcn.1001f1f0
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x4c]
test edi, edi
mov byte [esp + 0xbc], 0xc
je 0x10049de9
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
test ebx, ebx
mov byte [esp + 0xbc], 8
je 0x10049dfd
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov byte [esp + 0xbc], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10049e25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov ecx, dword [esp + 0xc4]
mov esi, dword [ecx + 0x14]
push esi
mov word [esp + 0x30], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x10049e55
cmp esi, ebx
je 0x10049e55
push 0x8007000e
call fcn.10066a70
mov byte [esp + 0xbc], 0x22
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
jne 0x10049e73
push 0x80004003
call fcn.10066a70
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x40]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x44]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x108]
push ecx
mov esi, ecx
call eax
cmp eax, ebx
jge 0x10049eb0
push 0x10088d24
push esi
push eax
call fcn.10066a80
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ebp, ebx
mov byte [esp + 0xbc], 2
je 0x10049ed0
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push ebp
call eax
mov byte [esp + 0xbc], bl
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xbc], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x10049efe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 4
mov edx, esi
mov edi, dword [edx + 0x14]
lea esi, [esp + 0x7c]
call fcn.10003d20
mov esi, eax
mov byte [esp + 0xbc], 0x1f
cmp dword [esp + 0x1c], 0
jne 0x10049f45
push 0x80004003
call fcn.10066a70
mov edi, dword [esp + 0x1c]
mov ecx, esi
call fcn.10021cf0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x7c]
push eax
call esi
lea ecx, [esp + 0x6c]
push ecx
call esi
lea eax, [esp + 0x20]
call fcn.1001f1f0
lea eax, [esp + 0x44]
call fcn.1001f1f0
lea eax, [esp + 0x48]
call fcn.1001f1f0
mov byte [esp + 0xbc], 0xc
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10049f97
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea eax, [esp + 0x28]
call fcn.1001f1f0
mov byte [esp + 0xbc], 2
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xbc], 0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x100496b2