Function at 0x10020600
Capabilities:
Get http document via iwebbrowser2

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100400b4
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x10042544]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push ecx
push ebx
lea ecx, [ebp - 0x50]
call fcn.10019e80
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x24], 0
mov dword [eax], 0
mov eax, dword [ebx]
mov esi, dword [eax + 0x64]
mov ecx, esi
call dword [0x100431c0]
mov ecx, ebx
call esi
mov edx, dword [eax + 8]
mov dword [ebp - 0x18], eax
lea edi, [eax + 8]
mov esi, dword [edx + 0x7c]
mov ecx, esi
call dword [0x100431c0]
mov ecx, edi
call esi
test eax, eax
je 0x10020e76
cmp dword [ebx + 0x94], 0
je 0x1002090e
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x10007b20
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x80], 0x10002de4
test edi, edi
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x78], 4
setne al
lea eax, [eax*4 + 3]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x24], al
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 0xa
mov dword [ebp - 0x68], 0x80020004
mov word [ebp - 0x70], ax
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x60], 0
push eax
call fcn.1003ca20
mov byte [ebp - 4], 2
test edi, edi
jne 0x1002077c
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], 0x8007000e
call fcn.1003ce72
test eax, eax
je 0x1002077c
cmp dword [ebp - 0x38], edi
je 0x1002077c
test byte [0x100428f8], 2
je 0x10020755
mov eax, dword [0x100440fc]
push 0x9d
push 0x10007b30
push 0x27409
push eax
call fcn.10011220
mov bl, byte [ebp - 0x24]
add esp, 0x10
mov edi, dword [ebp - 0x28]
jmp 0x10020758
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0x10002de4
call fcn.1003ce70
test bl, 2
je 0x100211dc
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x100211dc
test byte [ebp - 0x78], 4
jne 0x100207c9
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], 0x8007000e
call fcn.1003a9d0
test eax, eax
je 0x100207c9
cmp dword [ebp - 0x38], 0
je 0x100207c9
test byte [0x100428f8], 2
je 0x10020755
mov eax, dword [0x100440fc]
push 0x9e
push 0x10007b30
push 0x27809
push eax
call fcn.10011220
mov bl, byte [ebp - 0x24]
add esp, 0x10
mov edi, dword [ebp - 0x28]
jmp 0x10020758
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x80]
mov esi, dword [esi]
call fcn.1003c7d0
mov esi, dword [esi + 0x28]
lea ecx, [ebp - 0x14]
push ecx
sub esp, 0x10
mov ecx, dword [eax]
mov edx, esp
push dword [ebp - 0x18]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, esi
mov dword [edx + 0xc], eax
call dword [0x100431c0]
call esi
mov dword [ebp - 0x38], eax
test eax, eax
jns 0x10020850
lea ecx, [ebp - 0x50]
call fcn.1003a9d0
test byte [0x100428f8], 2
je 0x10020755
mov eax, dword [0x100440fc]
push 0x9f
push 0x10007b30
push 0x27c09
push eax
call fcn.10011220
mov bl, byte [ebp - 0x24]
add esp, 0x10
mov edi, dword [ebp - 0x28]
jmp 0x10020758
mov eax, dword [ebp - 0x14]
lea ecx, [ebx + 0x50]
mov esi, dword [eax]
lea eax, [ebp - 0x140]
push eax
call fcn.1003c7d0
mov esi, dword [esi + 0x20]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
push dword [ebp - 0x14]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, esi
mov dword [edx + 0xc], eax
call dword [0x100431c0]
call esi
mov dword [ebp - 0x38], eax
test eax, eax
jns 0x100208e0
lea ecx, [ebp - 0x50]
call fcn.1003a9d0
test byte [0x100428f8], 2
je 0x100208c4
mov eax, dword [0x100440fc]
push 0xa0
push 0x10007b30
push 0x28009
push eax
call fcn.10011220
add esp, 0x10
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0x10002de4
call fcn.1003ce70
lea ecx, [ebp - 0x28]
call fcn.1003ce72
jmp 0x100211dc
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100431c0]
call esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0x10002de4
call fcn.1003ce70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.1003c470
cmp dword [ebx + 0x98], 0
je 0x10020ba3
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x10007b90
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
lea ecx, [ebp - 0xa8]
test esi, esi
mov dword [ebp - 0x30], esi
push 4
setne al
lea eax, [eax*4 + 3]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
lea eax, [ebp - 0x30]
push eax
call fcn.1001ffe0
mov byte [ebp - 4], 4
test esi, esi
jne 0x100209d1
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], 0x8007000e
call fcn.1003a9d0
test eax, eax
je 0x100209d1
cmp dword [ebp - 0x38], esi
je 0x100209d1
test byte [0x100428f8], 2
je 0x100209a4
mov eax, dword [0x100440fc]
push 0xa8
push 0x10007b30
push 0x2a009
push eax
call fcn.10011220
mov bl, byte [ebp - 0x2c]
add esp, 0x10
mov esi, dword [ebp - 0x30]
jmp 0x100209a7
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0xa8], 0x10002de4
lea ecx, [ebp - 0xa8]
call fcn.1003ce70
test bl, 2
je 0x100211dc
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x100211dc
test byte [ebp - 0xa0], 4
jne 0x10020a21
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], 0x8007000e
call fcn.1003a9d0
test eax, eax
je 0x10020a21
cmp dword [ebp - 0x38], 0
je 0x10020a21
test byte [0x100428f8], 2
je 0x100209a4
mov eax, dword [0x100440fc]
push 0xa9
push 0x10007b30
push 0x2a409
push eax
call fcn.10011220
mov bl, byte [ebp - 0x2c]
add esp, 0x10
mov esi, dword [ebp - 0x30]
jmp 0x100209a7
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0xa8]
mov esi, dword [edi]
call fcn.1003c7d0
mov esi, dword [esi + 0x28]
lea ecx, [ebp - 0x14]
push ecx
sub esp, 0x10
mov ecx, dword [eax]
mov edx, esp
push edi
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, esi
mov dword [edx + 0xc], eax
call dword [0x100431c0]
call esi
mov dword [ebp - 0x38], eax
test eax, eax
jns 0x10020abc
lea ecx, [ebp - 0x50]
call fcn.1003a9d0
test byte [0x100428f8], 2
je 0x10020a9a
push 0xaa
push 0x10007b30
push 0x2a809
mov eax, dword [0x100440fc]
push eax
call fcn.10011220
add esp, 0x10
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x10002de4
call fcn.1003ce70
lea ecx, [ebp - 0x30]
call fcn.1003c470
jmp 0x100211dc
mov eax, dword [ebx + 0x48]
and al, 1
movzx eax, al
neg eax
push ecx
sbb eax, eax
lea ecx, [ebp - 0xf8]
push eax
call fcn.10023440
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx]
lea ecx, [ebp - 0x160]
push ecx
mov ecx, eax
call fcn.1003c7d0
mov esi, dword [esi + 0x20]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
push dword [ebp - 0x14]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, esi
mov dword [edx + 0xc], eax
call dword [0x100431c0]
call esi
mov dword [ebp - 0x38], eax
test eax, eax
jns 0x10020b2d
lea ecx, [ebp - 0x50]
call fcn.1003a9d0
mov esi, 1
jmp 0x10020b2f
xor esi, esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xf8], 0x10002de4
call fcn.1003ce70
test esi, esi
je 0x10020b6d
test byte [0x100428f8], 2
je 0x10020a9a
push 0xab
push 0x10007b30
push 0x2ac09
jmp 0x10020a8c
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100431c0]
call esi
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x10002de4
call fcn.1003ce70
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.1003c470
jmp 0x10020ba6
mov edi, dword [ebp - 0x18]
cmp dword [ebx + 0x9c], 0
je 0x10020e23
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x10007bac
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
lea ecx, [ebp - 0xd0]
test esi, esi
mov dword [ebp - 0x20], esi
push 4
setne al
lea eax, [eax*4 + 3]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0x20]
push eax
call fcn.1001ffe0
mov byte [ebp - 4], 7
test esi, esi
jne 0x10020c67
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], 0x8007000e
call fcn.1003a9d0
test eax, eax
je 0x10020c67
cmp dword [ebp - 0x38], esi
je 0x10020c67
test byte [0x100428f8], 2
je 0x10020c4f
mov eax, dword [0x100440fc]
push 0xb3
push 0x10007b30
push 0x2cc09
push eax
call fcn.10011220
mov bl, byte [ebp - 0x1c]
lea ecx, [ebp - 0xd0]
mov esi, dword [ebp - 0x20]
add esp, 0x10
mov dword [ebp - 0xd0], 0x10002de4
jmp 0x100209b7
mov ebx, dword [ebp - 0x24]
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x10002de4
jmp 0x100209b7
test byte [ebp - 0xc8], 4
jne 0x10020cd1
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], 0x8007000e
call fcn.1003a9d0
test eax, eax
je 0x10020cd1
cmp dword [ebp - 0x38], 0
je 0x10020cd1
test byte [0x100428f8], 2
je 0x10020caf
push 0xb4
push 0x10007b30
push 0x2d009
mov eax, dword [0x100440fc]
push eax
call fcn.10011220
add esp, 0x10
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x10002de4
call fcn.1003ce70
lea ecx, [ebp - 0x20]
call fcn.1003c470
jmp 0x100211dc
mov esi, dword [edi]
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0xd0]
call fcn.1003c7d0
mov esi, dword [esi + 0x28]
lea ecx, [ebp - 0x14]
push ecx
sub esp, 0x10
mov ecx, dword [eax]
mov edx, esp
push edi
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, esi
mov dword [edx + 0xc], eax
call dword [0x100431c0]
call esi
mov dword [ebp - 0x38], eax
test eax, eax
jns 0x10020d3e
lea ecx, [ebp - 0x50]
call fcn.1003a9d0
test byte [0x100428f8], 2
je 0x10020caf
push 0xb5
push 0x10007b30
push 0x2d409
jmp 0x10020ca1
mov eax, dword [ebx + 0x48]
and al, 2
movzx eax, al
neg eax
push ecx
sbb eax, eax
lea ecx, [ebp - 0x120]
push eax
call fcn.10023440
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx]
lea ecx, [ebp - 0x180]
push ecx
mov ecx, eax
call fcn.1003c7d0
mov esi, dword [esi + 0x20]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
push dword [ebp - 0x14]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, esi
mov dword [edx + 0xc], eax
call dword [0x100431c0]
call esi
mov dword [ebp - 0x38], eax
test eax, eax
jns 0x10020daf
lea ecx, [ebp - 0x50]
call fcn.1003a9d0
mov esi, 1
jmp 0x10020db1
xor esi, esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x120], 0x10002de4
call fcn.1003ce70
test esi, esi
je 0x10020def
test byte [0x100428f8], 2
je 0x10020caf
push 0xb6
push 0x10007b30
push 0x2d809
jmp 0x10020ca1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100431c0]
call esi
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x10002de4
call fcn.1003ce70
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.1003c470
mov esi, dword [ebp + 8]
mov ecx, edi
push dword [ebp - 0x54]
lea eax, [esi + 0x10]
push eax
call fcn.10032150
mov dword [ebp - 0x38], eax
test eax, eax
jns 0x10021165
lea ecx, [ebp - 0x50]
call fcn.1003a9d0
test byte [0x100428f8], 2
je 0x100211dc
mov eax, dword [0x100440fc]
push 0xbb
push 0x10007b30
push 0x2ec09
push eax
call fcn.10011220
add esp, 0x10
jmp 0x100211dc
mov edx, dword [ebx + 0x90]
xor ecx, ecx
mov eax, 0x10007470
cmp dword [eax], edx
je 0x10020e9d
add eax, 0x10
inc ecx
cmp eax, 0x100076b0
jl 0x10020e83
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
jmp 0x10020ed8
shl ecx, 4
xor eax, eax
mov dword [ebp - 0x18], 0
cmp word [ecx + 0x10007478], 0xffff
sete al
xor edx, edx
cmp word [ecx + 0x1000747a], 0xffff
mov dword [ebp - 0x14], eax
sete dl
cmp word [ecx + 0x1000747c], 0xffff
mov ecx, dword [ebp - 0x18]
sete cl
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov esi, eax
test edx, edx
je 0x10020ee7
lea esi, [eax + 1]
mov dword [ebp - 0x1c], esi
test ecx, ecx
je 0x10020eef
inc esi
mov dword [ebp - 0x1c], esi
push 0x18
push 0xe00000
push dword [0x100428d0]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
mov edi, dword [ebp - 0x54]
add esp, 0xc
mov dword [edi], eax
test eax, eax
jne 0x10020f56
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], 0x8007000e
call fcn.1003a9d0
test eax, eax
je 0x10020f56
cmp dword [ebp - 0x38], 0
je 0x10020f56
test byte [0x100428f8], 2
je 0x100211dc
mov eax, dword [0x100440fc]
push 0xca
push 0x10007b30
push 0x32809
push eax
call fcn.10011220
add esp, 0x10
jmp 0x100211dc
mov eax, dword [edi]
mov dword [eax], 0
imul eax, esi, 0x34
push eax
push 0xe00000
push dword [0x100428d0]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
mov ecx, dword [edi]
add esp, 0xc
mov dword [ecx], eax
test eax, eax
jne 0x10020fc6
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], 0x8007000e
call fcn.1003a9d0
test eax, eax
je 0x10020fc6
cmp dword [ebp - 0x38], 0
je 0x10020fc6
test byte [0x100428f8], 2
je 0x100211dc
mov eax, dword [0x100440fc]
push 0xcc
push 0x10007b30
push 0x33009
push eax
call fcn.10011220
add esp, 0x10
jmp 0x100211dc
cmp dword [ebp - 0x14], 0
mov edi, dword [edi]
mov esi, dword [ebp + 8]
mov eax, dword [0x1000a014]
mov dword [esi + 0x10], 1
mov dword [edi + 8], eax
mov eax, dword [0x1000a018]
mov dword [edi + 0xc], eax
mov eax, dword [0x1000a01c]
mov dword [edi + 0x10], eax
mov eax, dword [0x1000a020]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 4], eax
je 0x10021073
mov eax, dword [edi]
xor ecx, ecx
mov dword [eax], 0x1b
cmp dword [ebx + 0x94], ecx
mov eax, dword [edi]
sete cl
mov dword [eax + 4], ecx
mov ecx, dword [edi]
mov eax, dword [0x10009f3c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10009f40]
mov dword [ecx + 0x10], eax
mov eax, dword [0x10009f44]
mov dword [ecx + 0x14], eax
mov eax, dword [0x10009f48]
mov dword [ecx + 0x18], eax
mov eax, dword [0x10009f4c]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x10009f50]
mov dword [ecx + 0x20], eax
lea ecx, [ebx + 0x50]
call fcn.1003c850
mov edx, dword [edi]
mov ecx, dword [eax]
mov dword [edx + 0x24], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 0x28], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 0x2c], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0x30], eax
mov eax, 1
mov dword [ebp - 0x24], eax
jmp 0x10021075
xor eax, eax
cmp dword [ebp - 0x2c], 0
je 0x100210ef
imul edx, eax, 0x34
xor ecx, ecx
mov eax, dword [edi]
mov dword [edx + eax], 0xa7
cmp dword [ebx + 0x98], ecx
mov eax, dword [edi]
sete cl
mov dword [edx + eax + 4], ecx
mov ecx, dword [edi]
mov eax, dword [0x10009f3c]
add ecx, edx
mov dword [ecx + 0xc], eax
mov eax, dword [0x10009f40]
mov dword [ecx + 0x10], eax
mov eax, dword [0x10009f44]
mov dword [ecx + 0x14], eax
mov eax, dword [0x10009f48]
mov dword [ecx + 0x18], eax
mov eax, dword [0x10009f4c]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x10009f50]
mov dword [ecx + 0x20], eax
mov ecx, 0xb
mov eax, dword [edi]
mov word [edx + eax + 0x24], cx
mov eax, dword [ebx + 0x48]
and al, 1
movzx ecx, al
mov eax, dword [edi]
neg ecx
sbb ecx, ecx
mov word [edx + eax + 0x2c], cx
mov eax, dword [ebp - 0x24]
inc eax
cmp dword [ebp - 0x18], 0
je 0x10021165
imul edx, eax, 0x34
xor ecx, ecx
mov eax, dword [edi]
mov dword [edx + eax], 0x1d
cmp dword [ebx + 0x9c], ecx
mov eax, dword [edi]
sete cl
mov dword [edx + eax + 4], ecx
mov ecx, dword [edi]
mov eax, dword [0x10009f3c]
add ecx, edx
mov dword [ecx + 0xc], eax
mov eax, dword [0x10009f40]
mov dword [ecx + 0x10], eax
mov eax, dword [0x10009f44]
mov dword [ecx + 0x14], eax
mov eax, dword [0x10009f48]
mov dword [ecx + 0x18], eax
mov eax, dword [0x10009f4c]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x10009f50]
mov dword [ecx + 0x20], eax
mov ecx, 0xb
mov eax, dword [edi]
mov word [edx + eax + 0x24], cx
mov eax, dword [ebx + 0x48]
and al, 2
movzx ecx, al
mov eax, dword [edi]
neg ecx
sbb ecx, ecx
mov word [edx + eax + 0x2c], cx
mov ecx, dword [ebp + 0xc]
mov dword [esi], 0
cmp dword [ecx + 0x7c], 0
je 0x10021197
mov eax, dword [ebx + 0x90]
cmp eax, 0xc9
je 0x1002118f
cmp eax, 0xcb
je 0x1002118f
cmp eax, 0xcd
jne 0x10021197
push eax
call fcn.1001e5a0
mov dword [esi], eax
mov dword [esi + 4], 0
mov cx, word [ebx + 0x90]
call fcn.1001fdd0
mov word [esi + 0x30], ax
mov eax, dword [ebx + 0x78]
mov dword [esi + 0x14], eax
movzx eax, byte [ebx + 0x80]
mov byte [esi + 0x32], al
movzx eax, byte [ebx + 0x7c]
mov byte [esi + 0x33], al
mov dword [esi + 0x28], 2
test byte [ebx + 0x20], 4
je 0x100211d7
mov eax, dword [ebx + 0x1c]
jmp 0x100211d9
xor eax, eax
mov dword [esi + 0x2c], eax
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.10019de0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003f4c0
mov esp, ebp
pop ebp
ret 8