Function at 0x1001176a
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea esi, [ebx + 0x50]
mov eax, dword [esi + 0x5c]
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x60], eax
push dword [edi]
push 0xa
push eax
call dword [sym.imp.MSVCR100.dll_memchr]
add esp, 0xc
mov dword [esi + 0x64], eax
test eax, eax
je 0x10012444
sub eax, dword [esi + 0x5c]
lea edi, [eax + 1]
mov eax, dword [ebp + 0x10]
sub dword [eax], edi
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.1000fb98
pop ecx
test eax, eax
jne 0x100125a6
mov eax, dword [esi + 0x54]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x6dc]
xor edx, edx
mov dword [esi + 0x68], eax
cmp dword [esi + 0x50], edx
jne 0x100117f6
cmp dword [esi + 0x58], 5
jbe 0x100117f6
push dword [ebx + 0x6dc]
mov eax, dword [ebp + 0xc]
push ebx
call fcn.1000fb71
pop ecx
pop ecx
test eax, eax
je 0x1001248f
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x1001218f
cmp cl, 0xd
je 0x10012194
mov ecx, dword [esi + 0x50]
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
cmp ecx, edx
jne 0x10011a7e
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x440]
mov ecx, dword [ecx + 0x3c]
test cl, 3
je 0x100118f7
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x78]
push ecx
add edi, 0x178
push edi
lea ecx, [ebp + 8]
push ecx
push 0x10037ce8
push eax
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0x14
cmp eax, 1
jne 0x1001187f
cmp dword [ebp + 8], 2
jne 0x100118b6
lea eax, [esi + 0x78]
push eax
push 0x10037cdc
push dword [esi + 0x68]
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x100118b6
and dword [edi], 0
push 3
pop eax
cmp eax, 3
jne 0x100118b6
mov eax, dword [ebp + 8]
imul eax, eax, 0xa
add dword [edi], eax
cmp dword [esi + 0x88], 2
mov eax, dword [edi]
jne 0x10011944
cmp eax, 0x14
je 0x10011944
push 0x10037cb8
push ebx
call fcn.1001e3ce
pop ecx
pop ecx
jmp 0x10011944
lea eax, [esi + 0x78]
push eax
push 0x10037cac
push dword [esi + 0x68]
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x10011944
push dword [esi + 0x68]
mov eax, ebx
call fcn.1000fafc
pop ecx
test eax, eax
je 0x100124be
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x10011944
test ecx, 0x40000
je 0x100124be
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x78]
push ecx
add edi, 0x17c
push edi
lea ecx, [ebp - 8]
push ecx
push 0x10037c9c
push eax
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x100124be
mov eax, dword [ebp - 8]
imul eax, eax, 0xa
add dword [edi], eax
mov edi, dword [ebp + 0xc]
add edi, 0x178
mov dword [edi], 0xb
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x4850]
mov dword [ebx + 0x48e0], eax
mov eax, dword [edi]
xor edx, edx
mov dword [ebx + 0x48e8], eax
cmp ecx, edx
je 0x10011965
cmp ecx, dword [edi]
jle 0x1001196d
mov ecx, dword [edi]
mov dword [ebx + 0x4850], ecx
cmp dword [ebx + 0x398], edx
je 0x100119cd
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x100119cd
cmp eax, 0x191
jne 0x10011991
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x3b8], edx
jne 0x100119cd
cmp eax, 0x197
jne 0x100119a3
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x3bc], edx
jne 0x100119cd
mov ecx, dword [ebx + 0x4878]
or ecx, dword [ebx + 0x487c]
je 0x100124b5
cmp dword [ebx + 0x268], 1
jne 0x100124b5
cmp eax, 0x1a0
jne 0x100124b5
mov edi, dword [edi]
cmp edi, 0xa
jne 0x100119ee
push 0x10037c78
push ebx
call fcn.1001e3ce
push 1
push dword [ebp + 0xc]
call fcn.1000273a
add esp, 0x10
jmp 0x10011a46
cmp edi, 0x14
je 0x10011a37
cmp dword [esi + 0x88], 1
jne 0x10011a02
cmp dword [esi + 0x78], 0x65
je 0x10011a37
cmp edi, 0xb
jl 0x10011a46
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x39c], edx
jne 0x10011a46
mov edi, eax
cmp dword [edi + 0x748], edx
je 0x10011a46
push eax
push ebx
call fcn.1001abac
pop ecx
pop ecx
test eax, eax
jne 0x10011a46
mov eax, dword [edi + 0x748]
mov dword [eax], 1
jmp 0x10011a46
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x748]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x10011a55
sub eax, 0x64
jne 0x10011a7e
xor eax, eax
cmp dword [ebx + 0x25c], eax
je 0x10011a69
mov dword [ebx + 0x48f0], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
jne 0x10011b3b
cmp dword [ebx + 0x3f8], 0
jne 0x10011b3b
push 0xf
push dword [esi + 0x68]
push 0x10037754
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10011b3b
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call dword [sym.imp.MSVCR100.dll__strtoi64]
mov ecx, dword [ebx + 0x360]
mov dword [ebp - 0xc], edx
mov edi, eax
mov eax, dword [ebx + 0x364]
mov edx, ecx
add esp, 0xc
or edx, eax
je 0x10011af0
cmp dword [ebp - 0xc], eax
jg 0x100124c7
jl 0x10011af0
cmp edi, ecx
ja 0x100124c7
cmp dword [ebp - 0xc], 0
jl 0x10011b1a
jg 0x10011afc
test edi, edi
jb 0x10011b1a
mov eax, dword [ebp - 0xc]
push eax
push edi
push ebx
mov dword [esi], edi
mov dword [esi + 4], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
call fcn.1001c3cf
add esp, 0xc
jmp 0x10012125
push 2
push dword [ebp + 0xc]
call fcn.1000273a
push dword [ebp - 0xc]
push edi
push 0x10037c40
push ebx
call fcn.1001e3ce
add esp, 0x18
jmp 0x10012125
push 0xd
push dword [esi + 0x68]
push 0x10037580
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10011b88
push dword [esi + 0x68]
call fcn.1000ed3d
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x100124d8
cmp byte [eax], 0
jne 0x10011b6d
push eax
jmp 0x10011be4
push dword [ebx + 0x4908]
call dword [0x1003532c]
mov eax, dword [ebp - 4]
pop ecx
mov dword [ebx + 0x4908], eax
jmp 0x10012125
push 7
push dword [esi + 0x68]
push 0x10037c38
call sym.libcurl.dll_curl_strnequal
mov edi, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x10011bef
cmp dword [edi + 0x178], 0x14
jge 0x10012125
push dword [esi + 0x68]
call fcn.1000ed3d
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x748]
pop ecx
test eax, eax
je 0x10011be1
cmp dword [eax], 1
jne 0x10011be1
push dword [ebp - 4]
push ebx
call fcn.1001acf8
pop ecx
pop ecx
test eax, eax
je 0x10011be1
mov eax, dword [edi + 0x748]
or dword [eax], 0xffffffff
push dword [ebp - 4]
call dword [0x1003532c]
jmp 0x10011cc2
cmp dword [edi + 0x178], 0xa
jne 0x10011c29
cmp dword [edi + 0x3b0], 0
je 0x10011c29
push 0x10037c2c
push 0x100377dc
push dword [esi + 0x68]
call fcn.1000f884
add esp, 0xc
test eax, eax
je 0x10011c29
push 0
push edi
call fcn.1000273a
push 0x10037bfc
jmp 0x10011c92
cmp dword [edi + 0x178], 0xb
jne 0x10011c63
cmp dword [edi + 0x3b0], 0
je 0x10011c63
push 0x10037bf4
push 0x100377dc
push dword [esi + 0x68]
call fcn.1000f884
add esp, 0xc
test eax, eax
je 0x10011c63
push 1
push edi
call fcn.1000273a
push 0x10037bcc
jmp 0x10011c92
cmp dword [edi + 0x178], 0xa
jne 0x10011ca0
push 0x10037c2c
push 0x10037bc0
push dword [esi + 0x68]
call fcn.1000f884
add esp, 0xc
test eax, eax
je 0x10011ca0
push 0
push edi
call fcn.1000273a
push 0x10037b98
push ebx
call fcn.1001e3ce
add esp, 0x10
jmp 0x10012125
push 0x10037bf4
push 0x10037bc0
push dword [esi + 0x68]
call fcn.1000f884
add esp, 0xc
test eax, eax
je 0x10011cc8
push 2
push edi
call fcn.1000273a
pop ecx
pop ecx
jmp 0x10012125
push 0x12
push dword [esi + 0x68]
push 0x10037550
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10011dcf
mov edi, dword [esi + 0x68]
add edi, 0x12
jmp 0x10011cff
movzx eax, al
push eax
call dword [sym.imp.MSVCR100.dll_isspace]
pop ecx
test eax, eax
jne 0x10011cfe
cmp byte [edi], 0x2c
jne 0x10011d05
inc edi
mov al, byte [edi]
test al, al
jne 0x10011cea
push 7
push edi
push 0x10037994
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10011d2f
push dword [ebp + 0xc]
mov dword [esi + 0xc8], 1
call fcn.100125c8
pop ecx
add edi, 7
cmp dword [esi + 0x8c], 0
jne 0x10012125
push 8
push edi
push 0x10037b8c
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10011d5c
and dword [esi + 0x8c], 0
add edi, 8
jmp 0x10011cff
push 7
push edi
push 0x10037b84
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10011d7f
mov dword [esi + 0x8c], 1
add edi, 7
jmp 0x10011cff
push 4
push edi
push 0x10037b7c
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10011da5
mov dword [esi + 0x8c], 2
add edi, 4
jmp 0x10011cff
push 6
push edi
push 0x10037b74
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10012125
mov dword [esi + 0x8c], 2
add edi, 6
jmp 0x10011cff
push 0x11
push dword [esi + 0x68]
push 0x10037b60
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10011e92
cmp dword [ebx + 0x440], 0
je 0x10011e92
mov edi, dword [esi + 0x68]
add edi, 0x11
jmp 0x10011e0e
movzx eax, al
push eax
call dword [sym.imp.MSVCR100.dll_isspace]
pop ecx
test eax, eax
je 0x10011e14
inc edi
mov al, byte [edi]
test al, al
jne 0x10011dfe
push 8
push edi
push 0x10037b8c
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10011e34
and dword [esi + 0x8c], 0
jmp 0x10012125
push 7
push edi
push 0x10037b84
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10011e57
mov dword [esi + 0x8c], 1
jmp 0x10012125
push 4
push edi
push 0x10037b7c
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
jne 0x10011e83
push 6
push edi
push 0x10037b74
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10012125
mov dword [esi + 0x8c], 2
jmp 0x10012125
push 0xe
push dword [esi + 0x68]
push 0x10037874
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10011f2c
mov edi, dword [esi + 0x68]
add edi, 0xe
jmp 0x10011ec9
movzx eax, al
push eax
call dword [sym.imp.MSVCR100.dll_isdigit]
pop ecx
test eax, eax
jne 0x10011ecf
cmp byte [edi], 0x2a
je 0x10011ecf
inc edi
mov al, byte [edi]
test al, al
jne 0x10011eb4
movzx eax, byte [edi]
push eax
call dword [sym.imp.MSVCR100.dll_isdigit]
pop ecx
test eax, eax
je 0x10011f19
push 0xa
push 0
push edi
call dword [sym.imp.MSVCR100.dll__strtoi64]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov eax, dword [ebx + 0x4878]
add esp, 0xc
cmp eax, dword [esi + 0x70]
jne 0x10012125
cmp dword [ebx + 0x487c], edx
jne 0x10012125
mov dword [esi + 0x6c], 1
jmp 0x10012125
and dword [ebx + 0x4878], 0
and dword [ebx + 0x487c], 0
jmp 0x10012125
cmp dword [ebx + 0x590], 0
je 0x10011f94
push 0xb
push dword [esi + 0x68]
push 0x10035ab8
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10011f94
push 2
push 2
push ebx
call fcn.1001f218
mov eax, dword [edi + 0x470]
add esp, 0xc
test eax, eax
jne 0x10011f68
mov eax, dword [edi + 0x98]
push dword [ebx + 0x4860]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x590]
push ebx
call fcn.1000322d
push 2
push ebx
call fcn.1001f252
add esp, 0x20
jmp 0x10012125
push 0xe
push dword [esi + 0x68]
push 0x10037b50
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10012001
cmp dword [ebx + 0x25c], 0
jne 0x10011fbc
cmp dword [ebx + 0x37c], 0
je 0x10012001
push 0
call dword [sym.imp.MSVCR100.dll__time64]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xe
push eax
mov dword [ebp - 0x14], edx
call sym.libcurl.dll_curl_getdate
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [ebx + 0x37c], 0
je 0x10012125
mov dword [ebx + 0x48ec], eax
jmp 0x10012125
push 0x11
push dword [esi + 0x68]
push 0x10037b3c
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10012021
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x10012041
push 0x13
push dword [esi + 0x68]
push 0x10037b28
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x1001208c
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x1001208c
push dword [esi + 0x68]
xor ecx, ecx
cmp eax, 0x197
sete cl
mov dword [ebp - 4], ecx
call fcn.1000ed3d
mov edi, eax
pop ecx
test edi, edi
je 0x100124d8
push edi
push dword [ebp - 4]
push dword [ebp + 0xc]
call fcn.1000f2ed
push edi
mov dword [ebp - 4], eax
call dword [0x1003532c]
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x10012125
mov eax, dword [ebp - 4]
jmp 0x100125a6
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x10012103
cmp eax, 0x190
jge 0x10012103
push 9
push dword [esi + 0x68]
push 0x10037b1c
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10012103
cmp dword [ebx + 0x108], 0
jne 0x10012103
push dword [esi + 0x68]
call fcn.1000ed3d
pop ecx
test eax, eax
je 0x100124d8
cmp byte [eax], 0
je 0x10011b6a
cmp dword [ebx + 0x3a0], 0
mov dword [ebx + 0x108], eax
je 0x10012125
push eax
call dword [0x10035334]
pop ecx
mov dword [ebx + 0x10c], eax
test eax, eax
je 0x100124d8
push edi
call fcn.1000ef07
jmp 0x1001211c
mov eax, dword [edi + 0x440]
test dword [eax + 0x3c], 0x40000
je 0x10012125
push dword [esi + 0x68]
push edi
call fcn.1001d5df
pop ecx
pop ecx
test eax, eax
jne 0x100125a6
cmp dword [ebx + 0x3ac], 0
push 2
pop edi
je 0x10012134
push 3
pop edi
cmp dword [ebx + 0x3c4], 0
je 0x10012151
push dword [ebp + 0xc]
push dword [esi + 0x58]
push dword [esi + 0x68]
push 1
push ebx
call fcn.1001e30e
add esp, 0x14
push dword [esi + 0x58]
push dword [esi + 0x68]
push edi
push dword [ebp + 0xc]
call fcn.1001e73f
add esp, 0x10
test eax, eax
jne 0x100125a6
mov eax, dword [esi + 0x58]
add dword [ebx + 0x48f4], eax
mov eax, dword [esi + 0x58]
add dword [ebx + 0x80], eax
mov eax, dword [ebx + 0x6dc]
and dword [esi + 0x58], 0
mov dword [esi + 0x54], eax
jmp 0x1001240d
cmp cl, 0xd
jne 0x10012198
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x100121a4
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x100121fd
cmp eax, 0xc7
jg 0x100121fd
sub eax, 0x64
je 0x100121dc
dec eax
je 0x100121ca
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
jmp 0x10012258
cmp dword [esi + 0x88], 1
je 0x1001241e
mov dword [esi + 0x48], edx
jmp 0x10012258
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
cmp dword [esi + 0x84], edx
jle 0x10012258
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], edx
jmp 0x10012258
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x48], edx
cmp eax, 0xffffffff
jne 0x10012258
cmp dword [esi + 0xc8], edx
jne 0x10012258
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x39c], edx
jne 0x10012258
cmp dword [eax + 0x178], 0xb
jne 0x10012258
mov eax, dword [eax + 0x440]
test dword [eax + 0x3c], 0x40000
jne 0x10012258
cmp dword [ebx + 0x268], 5
je 0x10012258
push 0x10037ae0
push ebx
call fcn.1001e3ce
push 2
push dword [ebp + 0xc]
call fcn.1000273a
add esp, 0x10
xor edx, edx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x39c], edx
je 0x100122a6
mov eax, dword [ebx + 0xc8]
cmp eax, 0x191
jne 0x1001227c
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x4ec], 2
je 0x1001228f
cmp eax, 0x197
jne 0x100122a6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x528], 2
jne 0x100122a6
push 0x10037aa8
push ebx
call fcn.1001e3ce
pop ecx
pop ecx
mov dword [ebx + 0x480c], 1
mov ecx, dword [ebp + 0xc]
call fcn.1000f514
test eax, eax
jne 0x100124dc
push 2
pop ecx
cmp dword [ebx + 0x3ac], eax
je 0x100122c4
push 3
pop ecx
mov eax, dword [ebx + 0x6dc]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
push ecx
push dword [ebp + 0xc]
call fcn.1001e73f
add esp, 0x10
test eax, eax
jne 0x100125a6
add dword [ebx + 0x80], edi
add dword [ebx + 0x48f4], edi
mov ecx, dword [esi + 0x78]
mov eax, dword [ebx + 0x80]
cmp ecx, 0x64
jl 0x10012307
cmp ecx, 0xc7
jle 0x10012309
xor eax, eax
push dword [ebp + 0xc]
mov dword [ebx + 0x84], eax
call fcn.1000fcd2
pop ecx
test eax, eax
jne 0x100125a6
cmp dword [esi + 0x78], 0x12c
jl 0x100123f6
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [eax + 0x3e0], ecx
jne 0x100123d6
cmp dword [eax + 0x39c], ecx
jne 0x100123d6
cmp dword [eax + 0x3e4], ecx
jne 0x100123d6
mov eax, dword [ebx + 0x268]
add eax, 0xfffffffe
cmp eax, 2
ja 0x100123d6
cmp dword [esi + 0xac], ecx
jne 0x100123d6
cmp dword [ebx + 0x39c], ecx
je 0x1001239a
push 0x10037a78
push ebx
call fcn.1001e3ce
cmp dword [esi + 0x84], 0
pop ecx
pop ecx
jle 0x100123d6
and dword [esi + 0x84], 0
or dword [esi + 0xa8], 2
jmp 0x100123d6
push 0x10037a48
push ebx
call fcn.1001e3ce
push 2
push dword [ebp + 0xc]
call fcn.1000273a
and dword [esi + 0xa8], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xac], 1
cmp dword [ebx + 0x4854], 0
je 0x100123d6
mov dword [esi + 0x84], 3
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3e4], 0
je 0x100123f6
push 0x10037a20
push ebx
call fcn.1001e3ce
or dword [esi + 0xa8], 2
pop ecx
pop ecx
xor eax, eax
cmp dword [esi + 0x48], eax
je 0x100124f5
mov ecx, dword [ebx + 0x6dc]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x5c]
cmp byte [eax], 0
jne 0x10011779
jmp 0x100125a4
push 0x10037a10
push ebx
call fcn.1001e3ce
xor eax, eax
inc eax
and dword [esi + 0x50], 0
pop ecx
pop ecx
mov dword [esi + 0x88], 2
mov dword [esi + 0x48], eax
jmp 0x100125a6
push dword [edi]
call fcn.1000fb98
pop ecx
test eax, eax
jne 0x100125a6
cmp dword [esi + 0x50], eax
jne 0x100125a4
cmp dword [esi + 0x58], 5
jbe 0x100125a4
push dword [ebx + 0x6dc]
mov eax, dword [ebp + 0xc]
push ebx
call fcn.1000fb71
pop ecx
pop ecx
test eax, eax
jne 0x100125a4
and dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
jmp 0x100125a4
mov eax, dword [ebp + 0x10]
and dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x100124a7
mov dword [esi + 0x4c], 1
jmp 0x100125a4
mov dword [esi + 0x4c], 2
mov dword [eax], edi
jmp 0x100125a4
push ebx
call fcn.1000fc3e
pop ecx
jmp 0x100124ed
and dword [esi + 0x48], 0
jmp 0x100125a4
push 0x10036658
push ebx
call fcn.1001e441
pop ecx
pop ecx
push 0x3f
jmp 0x100124ef
push 0x1b
jmp 0x100124ef
push dword [esi + 0x78]
push 0x100374d0
push ebx
call fcn.1001e441
add esp, 0xc
push 0x16
pop eax
jmp 0x100125a6
mov edx, dword [ebp + 0x14]
cmp dword [ebx + 0x3b8], eax
jne 0x10012528
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x440]
test dword [ecx + 0x3c], 0x40000
je 0x10012530
cmp dword [ebx + 0x518], 2
jne 0x10012530
cmp dword [esi + 4], 0xffffffff
jg 0x10012530
jl 0x10012528
cmp dword [esi], 0xffffffff
ja 0x10012530
mov dword [edx], 1
jmp 0x10012546
cmp dword [esi + 0xc8], eax
je 0x10012546
or eax, 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x10012554
cmp ecx, eax
je 0x1001256d
push ecx
push eax
push ebx
call fcn.1001c3cf
mov eax, dword [esi]
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x14], eax
xor eax, eax
cmp dword [esi + 0x10], eax
jne 0x1001257f
cmp dword [esi + 0x14], eax
jne 0x1001257f
mov dword [edx], 1
cmp dword [edx], eax
je 0x1001258a
and dword [esi + 0xa8], 0xfffffffe
cmp dword [ebx + 0x3c4], eax
je 0x100125a4
push dword [ebp + 0xc]
push edi
push dword [esi + 0x60]
push 1
push ebx
call fcn.1001e30e
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret