Function at 0x10048830
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100729b4
mov eax, dword fs:[0]
push eax
mov eax, 0x1408
call fcn.1004f910
mov eax, dword [0x100f7080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1118], ecx
mov dword [ebp - 0x10fc], 1
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x1400]
push ecx
call fcn.10048110
add esp, 4
push eax
lea edx, [ebp - 0x1150]
push edx
call fcn.10040ea0
add esp, 0xc
push str.http
mov eax, dword [ebp - 0x1118]
add eax, 4
push eax
call fcn.10040a60
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x100488d2
push str.Only_HTTP_scheme_is_supported
lea ecx, [ebp - 0x13f8]
call fcn.10045560
push 0x100f54c0
lea edx, [ebp - 0x13f8]
push edx
call fcn.1005078a
nop
xor eax, eax
mov dword [ebp - 0x131c], eax
mov dword [ebp - 0x1318], eax
mov dword [ebp - 0x1314], eax
mov dword [ebp - 0x1310], eax
mov dword [ebp - 0x130c], eax
mov dword [ebp - 0x1308], eax
mov dword [ebp - 0x1304], eax
mov dword [ebp - 0x1300], eax
mov ecx, dword [ebp - 0x1118]
movzx edx, byte [ecx + 1]
push edx
call fcn.10047ec0
add esp, 4
mov dword [ebp - 0x1318], eax
mov dword [ebp - 0x1314], 1
mov ecx, dword [ebp - 0x1118]
add ecx, 0x64
call fcn.1000a6f0
movzx eax, al
test eax, eax
je 0x10048948
mov dword [ebp - 0x1178], 0x100763b4
jmp 0x1004895c
mov ecx, dword [ebp - 0x1118]
add ecx, 0x64
call fcn.1000a740
mov dword [ebp - 0x1178], eax
mov ecx, dword [ebp - 0x1178]
mov dword [ebp - 0x125c], ecx
lea edx, [ebp - 0x12dc]
push edx
lea eax, [ebp - 0x131c]
push eax
mov ecx, dword [ebp - 0x125c]
push ecx
mov ecx, dword [ebp - 0x1118]
add ecx, 0x4c
call fcn.1000a740
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x10048a2c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x12bc], eax
mov edx, dword [ebp - 0x1118]
add edx, 0x4c
push edx
push str.Failed_to_get_address_info_of
lea eax, [ebp - 0xc8]
push eax
call fcn.10040e10
add esp, 0xc
mov dword [ebp - 0x12ac], eax
mov ecx, dword [ebp - 0x12ac]
mov dword [ebp - 0x12b0], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x12b0]
mov dword [ebp - 0x12b8], edx
mov eax, dword [ebp - 0x12b8]
push eax
push 0x100f7004
mov ecx, dword [ebp - 0x12bc]
push ecx
lea ecx, [ebp - 0x1414]
call fcn.100458e0
push 0x100f6294
lea edx, [ebp - 0x1414]
push edx
call fcn.1005078a
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.1000a9f0
nop
mov eax, dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebp - 0x12c0], eax
lea ecx, [ebp - 0x12c0]
push ecx
mov edx, dword [ebp - 0x12dc]
push edx
lea ecx, [ebp - 0x1148]
call fcn.10040640
mov dword [ebp - 4], 1
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x1338], esp
mov eax, dword [ebp + 0x14]
push eax
call fcn.10045320
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1118]
add eax, 4
push eax
lea ecx, [ebp - 0x1184]
push ecx
call fcn.100474d0
add esp, 0x1c
mov dword [ebp - 0x138c], eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1118]
movzx eax, byte [edx + 1]
push eax
lea ecx, [ebp - 0x1120]
call fcn.10045650
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x18]
call fcn.10047190
mov dword [ebp - 0x12c8], eax
mov dword [ebp - 0x12c4], edx
cmp dword [ebp - 0x12c4], 0
jl 0x10048aff
jg 0x10048ad8
cmp dword [ebp - 0x12c8], 0
jb 0x10048aff
mov ecx, dword [ebp - 0x114c]
push ecx
mov edx, dword [ebp - 0x1150]
push edx
lea ecx, [ebp - 0x10ff]
call fcn.10046130
mov dword [ebp - 0x1164], eax
mov dword [ebp - 0x1160], edx
jmp 0x10048b12
or eax, 0xffffffff
mov dword [ebp - 0x1164], 0xffffffff
mov dword [ebp - 0x1160], eax
lea ecx, [ebp - 0x1148]
call fcn.1003f4a0
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x12e0], ecx
lea ecx, [ebp - 0x1148]
call fcn.1003f4a0
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x12e4], edx
mov eax, dword [ebp - 0x1160]
push eax
mov ecx, dword [ebp - 0x1164]
push ecx
mov edx, dword [ebp - 0x12e0]
push edx
mov eax, dword [ebp - 0x12e4]
push eax
lea ecx, [ebp - 0x1120]
call fcn.10047060
lea ecx, [ebp - 0x1184]
call fcn.1000ebe0
mov dword [ebp - 0x112c], eax
lea ecx, [ebp - 0x1184]
call fcn.100391f0
mov dword [ebp - 0x1140], eax
cmp dword [ebp - 0x112c], 0
jbe 0x10048c48
lea ecx, [ebp + 0x18]
call fcn.10047190
mov dword [ebp - 0x12d0], eax
mov dword [ebp - 0x12cc], edx
cmp dword [ebp - 0x12cc], 0
jl 0x10048bdf
jg 0x10048bb8
cmp dword [ebp - 0x12d0], 0
jb 0x10048bdf
mov ecx, dword [ebp - 0x114c]
push ecx
mov edx, dword [ebp - 0x1150]
push edx
lea ecx, [ebp - 0x10ff]
call fcn.10046130
mov dword [ebp - 0x116c], eax
mov dword [ebp - 0x1168], edx
jmp 0x10048bf2
or eax, 0xffffffff
mov dword [ebp - 0x116c], 0xffffffff
mov dword [ebp - 0x1168], eax
mov ecx, dword [ebp - 0x1168]
push ecx
mov edx, dword [ebp - 0x116c]
push edx
mov eax, dword [ebp - 0x112c]
push eax
mov ecx, dword [ebp - 0x1140]
push ecx
lea ecx, [ebp - 0x1120]
call fcn.10049a40
mov dword [ebp - 0x1154], eax
mov edx, dword [ebp - 0x112c]
sub edx, dword [ebp - 0x1154]
mov dword [ebp - 0x112c], edx
mov eax, dword [ebp - 0x1140]
add eax, dword [ebp - 0x1154]
mov dword [ebp - 0x1140], eax
jmp 0x10048b83
mov byte [ebp - 0x1108], 0xd
mov byte [ebp - 0x1107], 0xa
mov byte [ebp - 0x1124], 0xd
mov byte [ebp - 0x1123], 0xa
mov byte [ebp - 0x1122], 0xd
mov byte [ebp - 0x1121], 0xa
mov ecx, dword [ebp + 8]
call fcn.10045590
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10fc]
or ecx, 1
mov dword [ebp - 0x10fc], ecx
lea ecx, [ebp - 0x1114]
call fcn.1000ec70
mov dword [ebp - 4], 5
mov byte [ebp - 0x10fe], 0
mov byte [ebp - 0x1101], 0
mov dword [ebp - 0x1130], 0
mov byte [ebp - 0x1100], 0
mov dword [ebp - 0x111c], 0
mov byte [ebp - 0x10fd], 0
lea ecx, [ebp + 0x18]
call fcn.10047190
mov dword [ebp - 0x12d8], eax
mov dword [ebp - 0x12d4], edx
cmp dword [ebp - 0x12d4], 0
jl 0x10048d1e
jg 0x10048cf7
cmp dword [ebp - 0x12d8], 0
jb 0x10048d1e
mov edx, dword [ebp - 0x114c]
push edx
mov eax, dword [ebp - 0x1150]
push eax
lea ecx, [ebp - 0x10ff]
call fcn.10046130
mov dword [ebp - 0x1174], eax
mov dword [ebp - 0x1170], edx
jmp 0x10048d31
or ecx, 0xffffffff
mov dword [ebp - 0x1174], 0xffffffff
mov dword [ebp - 0x1170], ecx
lea ecx, [ebp - 0x10f8]
call fcn.10049ae0
mov dword [ebp - 0x12e8], eax
lea ecx, [ebp - 0x10f8]
call fcn.1002d510
mov dword [ebp - 0x12ec], eax
mov edx, dword [ebp - 0x1170]
push edx
mov eax, dword [ebp - 0x1174]
push eax
mov ecx, dword [ebp - 0x12e8]
push ecx
mov edx, dword [ebp - 0x12ec]
push edx
lea ecx, [ebp - 0x1120]
call fcn.10048330
mov dword [ebp - 0x1158], eax
cmp dword [ebp - 0x1158], 0
jne 0x10048dfc
mov dword [ebp - 0x10fc], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1114]
call fcn.1000ec20
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x10fc]
and eax, 1
je 0x10048dc4
and dword [ebp - 0x10fc], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.10045be0
nop
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1120]
call fcn.10045c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1184]
call fcn.1000ec20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1148]
call fcn.10045ab0
mov eax, dword [ebp + 8]
jmp 0x10049a1c
lea ecx, [ebp - 0x1390]
push ecx
lea ecx, [ebp - 0x10f8]
call fcn.10046e20
mov dword [ebp - 0x12f0], eax
mov edx, dword [ebp - 0x1158]
push edx
lea eax, [ebp - 0x1394]
push eax
mov ecx, dword [ebp - 0x12f0]
call fcn.10045fc0
mov ecx, dword [eax]
mov dword [ebp - 0x12f4], ecx
mov edx, dword [ebp - 0x12f4]
mov dword [ebp - 0x118c], edx
lea eax, [ebp - 0x1398]
push eax
lea ecx, [ebp - 0x10f8]
call fcn.10046e20
mov ecx, dword [eax]
mov dword [ebp - 0x12f8], ecx
mov edx, dword [ebp - 0x12f8]
mov dword [ebp - 0x1190], edx
lea eax, [ebp - 0x139c]
push eax
lea ecx, [ebp - 0x1114]
call fcn.1000ebf0
mov ecx, dword [eax]
mov dword [ebp - 0x12fc], ecx
mov edx, dword [ebp - 0x12fc]
mov dword [ebp - 0x1188], edx
mov eax, dword [ebp - 0x1188]
mov dword [ebp - 0x1194], eax
mov ecx, dword [ebp - 0x118c]
push ecx
mov edx, dword [ebp - 0x1190]
push edx
mov eax, dword [ebp - 0x1194]
push eax
lea ecx, [ebp - 0x13a0]
push ecx
lea ecx, [ebp - 0x1114]
call fcn.10042f40
nop
movzx edx, byte [ebp - 0x10fe]
test edx, edx
jne 0x100492c5
lea eax, [ebp - 0x13a4]
push eax
lea ecx, [ebp - 0x1124]
call fcn.10046fb0
mov ecx, dword [eax]
mov dword [ebp - 0x1198], ecx
mov edx, dword [ebp - 0x1198]
mov dword [ebp - 0x119c], edx
mov eax, dword [ebp - 0x119c]
mov dword [ebp - 0x11b8], eax
lea ecx, [ebp - 0x13a8]
push ecx
lea ecx, [ebp - 0x1124]
call fcn.10046f50
mov edx, dword [eax]
mov dword [ebp - 0x11a0], edx
mov eax, dword [ebp - 0x11a0]
mov dword [ebp - 0x11a4], eax
mov ecx, dword [ebp - 0x11a4]
mov dword [ebp - 0x11bc], ecx
lea edx, [ebp - 0x13ac]
push edx
lea ecx, [ebp - 0x1114]
call fcn.10046ff0
mov eax, dword [eax]
mov dword [ebp - 0x11a8], eax
mov ecx, dword [ebp - 0x11a8]
mov dword [ebp - 0x11ac], ecx
mov edx, dword [ebp - 0x11ac]
mov dword [ebp - 0x11c0], edx
lea eax, [ebp - 0x13b0]
push eax
lea ecx, [ebp - 0x1114]
call fcn.10046f90
mov ecx, dword [eax]
mov dword [ebp - 0x11b0], ecx
mov edx, dword [ebp - 0x11b0]
mov dword [ebp - 0x11b4], edx
mov eax, dword [ebp - 0x11b4]
mov dword [ebp - 0x11c4], eax
mov ecx, dword [ebp - 0x11b8]
push ecx
mov edx, dword [ebp - 0x11bc]
push edx
mov eax, dword [ebp - 0x11c0]
push eax
mov ecx, dword [ebp - 0x11c4]
push ecx
lea edx, [ebp - 0x115c]
push edx
call fcn.100449e0
add esp, 0x14
lea eax, [ebp - 0x13b8]
push eax
lea ecx, [ebp - 0x1114]
call fcn.10046ff0
push eax
lea ecx, [ebp - 0x115c]
call fcn.10045e70
movzx ecx, al
test ecx, ecx
je 0x10048fed
jmp 0x100499ae
lea edx, [ebp - 0x11c8]
push edx
lea ecx, [ebp - 0x1114]
call fcn.10046f90
push 2
lea eax, [ebp - 0x1128]
push eax
lea ecx, [ebp - 0x115c]
call fcn.10045ff0
mov ecx, dword [ebp - 0x1128]
push ecx
mov edx, dword [ebp - 0x11c8]
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.10043d80
add esp, 0xc
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x113c], ecx
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebp + 8]
call fcn.10045e30
nop
mov eax, dword [ebp - 0x1128]
push eax
mov ecx, dword [ebp - 0x113c]
push ecx
lea edx, [ebp - 0x74]
push edx
call fcn.10043920
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x113c], eax
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x40]
call fcn.1000aa40
mov byte [ebp - 4], 8
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.1000aa40
mov byte [ebp - 4], 9
push str.transfer_encoding
lea eax, [ebp - 0x40]
push eax
call fcn.10040a60
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10049138
push str.chunked
lea edx, [ebp - 0x28]
push edx
call fcn.10040a60
add esp, 8
movzx eax, al
test eax, eax
je 0x100490d4
mov byte [ebp - 0x1100], 1
jmp 0x10049136
lea ecx, [ebp - 0x28]
push ecx
push str.Unsupported_transfer_encoding:
lea edx, [ebp - 0xb0]
push edx
call fcn.10040e10
add esp, 0xc
mov dword [ebp - 0x11cc], eax
mov eax, dword [ebp - 0x11cc]
mov dword [ebp - 0x11d0], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x11d0]
push ecx
lea ecx, [ebp - 0x13e0]
call fcn.100455f0
push 0x100f5518
lea edx, [ebp - 0x13e0]
push edx
call fcn.1005078a
nop
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb0]
call fcn.1000a9f0
nop
jmp 0x100491b4
push str.content_length
lea eax, [ebp - 0x40]
push eax
call fcn.10040a60
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x100491b4
lea edx, [ebp - 0x13bc]
push edx
lea ecx, [ebp - 0x28]
call fcn.10046fd0
mov eax, dword [eax]
mov dword [ebp - 0x11d4], eax
lea ecx, [ebp - 0x13b4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10046f70
mov edx, dword [eax]
mov dword [ebp - 0x11d8], edx
mov eax, dword [ebp - 0x11d4]
push eax
mov ecx, dword [ebp - 0x11d8]
push ecx
call fcn.10044ca0
add esp, 8
mov dword [ebp - 0x1130], eax
mov byte [ebp - 0x1101], 1
mov edx, dword [ebp - 0x1130]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x2c
call fcn.10048430
nop
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0xf8]
call fcn.10040900
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0xf8]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x20
call fcn.100482e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xf8]
call fcn.10045a90
nop
lea eax, [ebp - 0x1128]
push eax
lea ecx, [ebp - 0x113c]
call fcn.10045e70
movzx ecx, al
test ecx, ecx
je 0x1004922d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.1000a9f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.1000a9f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
call fcn.10045a30
nop
jmp 0x10049257
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.1000a9f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.1000a9f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
call fcn.10045a30
nop
jmp 0x10049050
push 2
lea edx, [ebp - 0x13c4]
push edx
lea ecx, [ebp - 0x1128]
call fcn.10045ff0
mov eax, dword [eax]
mov dword [ebp - 0x11dc], eax
lea ecx, [ebp - 0x13cc]
push ecx
lea ecx, [ebp - 0x1114]
call fcn.10046f90
mov edx, dword [eax]
mov dword [ebp - 0x11e0], edx
mov eax, dword [ebp - 0x11dc]
push eax
mov ecx, dword [ebp - 0x11e0]
push ecx
lea edx, [ebp - 0x13d0]
push edx
lea ecx, [ebp - 0x1114]
call fcn.10047d70
nop
mov byte [ebp - 0x10fe], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x98]
call fcn.10045a50
nop
movzx eax, byte [ebp - 0x10fe]
test eax, eax
je 0x100499a9
movzx ecx, byte [ebp - 0x1100]
test ecx, ecx
je 0x10049865
cmp dword [ebp - 0x111c], 0
jbe 0x100494a7
lea ecx, [ebp - 0x1114]
call fcn.1000ebe0
mov dword [ebp - 0x11e4], eax
lea edx, [ebp - 0x11e4]
push edx
lea eax, [ebp - 0x111c]
push eax
call fcn.1000a670
add esp, 8
mov ecx, dword [eax]
mov dword [ebp - 0x1138], ecx
lea edx, [ebp - 0x13d4]
push edx
lea ecx, [ebp - 0x1114]
call fcn.1000b380
mov dword [ebp - 0x11e8], eax
mov eax, dword [ebp - 0x1138]
push eax
lea ecx, [ebp - 0x13c8]
push ecx
mov ecx, dword [ebp - 0x11e8]
call fcn.10046020
mov edx, dword [eax]
mov dword [ebp - 0x11ec], edx
mov eax, dword [ebp - 0x11ec]
mov dword [ebp - 0x11fc], eax
lea ecx, [ebp - 0x1320]
push ecx
lea ecx, [ebp - 0x1114]
call fcn.1000b380
mov edx, dword [eax]
mov dword [ebp - 0x11f0], edx
mov eax, dword [ebp - 0x11f0]
mov dword [ebp - 0x1200], eax
lea ecx, [ebp - 0x1324]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x2c
call fcn.1000ebf0
mov edx, dword [eax]
mov dword [ebp - 0x11f4], edx
mov eax, dword [ebp - 0x11f4]
mov dword [ebp - 0x11f8], eax
mov ecx, dword [ebp - 0x11f8]
mov dword [ebp - 0x1204], ecx
mov edx, dword [ebp - 0x11fc]
push edx
mov eax, dword [ebp - 0x1200]
push eax
mov ecx, dword [ebp - 0x1204]
push ecx
lea edx, [ebp - 0x1328]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x2c
call fcn.100430a0
nop
lea eax, [ebp - 0x132c]
push eax
lea ecx, [ebp - 0x1114]
call fcn.1000b380
mov dword [ebp - 0x1208], eax
mov ecx, dword [ebp - 0x1138]
push ecx
lea edx, [ebp - 0x1330]
push edx
mov ecx, dword [ebp - 0x1208]
call fcn.10046020
mov eax, dword [eax]
mov dword [ebp - 0x120c], eax
mov ecx, dword [ebp - 0x120c]
mov dword [ebp - 0x1214], ecx
lea edx, [ebp - 0x1334]
push edx
lea ecx, [ebp - 0x1114]
call fcn.1000b380
mov eax, dword [eax]
mov dword [ebp - 0x1210], eax
mov ecx, dword [ebp - 0x1210]
mov dword [ebp - 0x1218], ecx
mov edx, dword [ebp - 0x1214]
push edx
mov eax, dword [ebp - 0x1218]
push eax
lea ecx, [ebp - 0x13c0]
push ecx
lea ecx, [ebp - 0x1114]
call fcn.10047d70
nop
mov edx, dword [ebp - 0x111c]
sub edx, dword [ebp - 0x1138]
mov dword [ebp - 0x111c], edx
jne 0x1004948b
mov byte [ebp - 0x10fd], 1
lea ecx, [ebp - 0x1114]
call fcn.100471d0
movzx eax, al
test eax, eax
je 0x100494a2
jmp 0x10049860
jmp 0x1004985b
movzx ecx, byte [ebp - 0x10fd]
test ecx, ecx
je 0x10049611
lea ecx, [ebp - 0x1114]
call fcn.1000ebe0
cmp eax, 2
jae 0x100494cb
jmp 0x10049860
lea edx, [ebp - 0x133c]
push edx
lea ecx, [ebp - 0x1114]
call fcn.1000b380
mov eax, dword [eax]
mov dword [ebp - 0x121c], eax
mov ecx, dword [ebp - 0x121c]
mov dword [ebp - 0x1228], ecx
lea edx, [ebp - 0x1340]
push edx
lea ecx, [ebp - 0x1108]
call fcn.10047ba0
mov eax, dword [eax]
mov dword [ebp - 0x1220], eax
mov ecx, dword [ebp - 0x1220]
mov dword [ebp - 0x122c], ecx
lea edx, [ebp - 0x1344]
push edx
lea ecx, [ebp - 0x1108]
call fcn.10046e00
mov eax, dword [eax]
mov dword [ebp - 0x1224], eax
mov ecx, dword [ebp - 0x1224]
mov dword [ebp - 0x1230], ecx
mov edx, dword [ebp - 0x1228]
push edx
mov eax, dword [ebp - 0x122c]
push eax
mov ecx, dword [ebp - 0x1230]
push ecx
call fcn.10042cb0
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x10049583
push str.Invalid_chunk
lea ecx, [ebp - 0x13ec]
call fcn.10045620
push 0x100f5518
lea eax, [ebp - 0x13ec]
push eax
call fcn.1005078a
nop
mov byte [ebp - 0x10fd], 0
lea ecx, [ebp - 0x1348]
push ecx
lea ecx, [ebp - 0x1114]
call fcn.1000b380
mov dword [ebp - 0x1234], eax
push 2
lea edx, [ebp - 0x134c]
push edx
mov ecx, dword [ebp - 0x1234]
call fcn.10046020
mov eax, dword [eax]
mov dword [ebp - 0x1238], eax
mov ecx, dword [ebp - 0x1238]
mov dword [ebp - 0x1240], ecx
lea edx, [ebp - 0x1350]
push edx
lea ecx, [ebp - 0x1114]
call fcn.1000b380
mov eax, dword [eax]
mov dword [ebp - 0x123c], eax
mov ecx, dword [ebp - 0x123c]
mov dword [ebp - 0x1244], ecx
mov edx, dword [ebp - 0x1240]
push edx
mov eax, dword [ebp - 0x1244]
push eax
lea ecx, [ebp - 0x1354]
push ecx
lea ecx, [ebp - 0x1114]
call fcn.10047d70
nop
lea edx, [ebp - 0x1358]
push edx
lea ecx, [ebp - 0x1108]
call fcn.10047ba0
mov eax, dword [eax]
mov dword [ebp - 0x1248], eax
mov ecx, dword [ebp - 0x1248]
mov dword [ebp - 0x124c], ecx
mov edx, dword [ebp - 0x124c]
mov dword [ebp - 0x1268], edx
lea eax, [ebp - 0x135c]
push eax
lea ecx, [ebp - 0x1108]
call fcn.10046e00
mov ecx, dword [eax]
mov dword [ebp - 0x1250], ecx
mov edx, dword [ebp - 0x1250]
mov dword [ebp - 0x1254], edx
mov eax, dword [ebp - 0x1254]
mov dword [ebp - 0x126c], eax
lea ecx, [ebp - 0x1360]
push ecx
lea ecx, [ebp - 0x1114]
call fcn.1000ebf0
mov edx, dword [eax]
mov dword [ebp - 0x1258], edx
mov eax, dword [ebp - 0x1258]
mov dword [ebp - 0x12b4], eax
mov ecx, dword [ebp - 0x12b4]
mov dword [ebp - 0x1270], ecx
lea edx, [ebp - 0x1364]
push edx
lea ecx, [ebp - 0x1114]
call fcn.1000b380
mov eax, dword [eax]
mov dword [ebp - 0x1260], eax
mov ecx, dword [ebp - 0x1260]
mov dword [ebp - 0x1264], ecx
mov edx, dword [ebp - 0x1264]
mov dword [ebp - 0x1274], edx
mov eax, dword [ebp - 0x1268]
push eax
mov ecx, dword [ebp - 0x126c]
push ecx
mov edx, dword [ebp - 0x1270]
push edx
mov eax, dword [ebp - 0x1274]
push eax
lea ecx, [ebp - 0x1134]
push ecx
call fcn.10044b10
add esp, 0x14
lea edx, [ebp - 0x1368]
push edx
lea ecx, [ebp - 0x1114]
call fcn.1000ebf0
push eax
lea ecx, [ebp - 0x1134]
call fcn.10045e70
movzx eax, al
test eax, eax
je 0x1004972e
jmp 0x10049860
mov ecx, dword [ebp - 0x1134]
mov dword [ebp - 0x1278], ecx
lea edx, [ebp - 0x136c]
push edx
lea ecx, [ebp - 0x1114]
call fcn.1000b380
mov eax, dword [eax]
mov dword [ebp - 0x127c], eax
mov ecx, dword [ebp - 0x1278]
push ecx
mov edx, dword [ebp - 0x127c]
push edx
call fcn.10042ee0
add esp, 8
mov dword [ebp - 0x111c], eax
push 2
lea eax, [ebp - 0x1370]
push eax
lea ecx, [ebp - 0x1134]
call fcn.10046020
mov ecx, dword [eax]
mov dword [ebp - 0x1280], ecx
mov edx, dword [ebp - 0x1280]
mov dword [ebp - 0x1288], edx
lea eax, [ebp - 0x1374]
push eax
lea ecx, [ebp - 0x1114]
call fcn.1000b380
mov ecx, dword [eax]
mov dword [ebp - 0x1284], ecx
mov edx, dword [ebp - 0x1284]
mov dword [ebp - 0x128c], edx
mov eax, dword [ebp - 0x1288]
push eax
mov ecx, dword [ebp - 0x128c]
push ecx
lea edx, [ebp - 0x1378]
push edx
lea ecx, [ebp - 0x1114]
call fcn.10047d70
nop
cmp dword [ebp - 0x111c], 0
jne 0x1004985b
mov dword [ebp - 0x10fc], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1114]
call fcn.1000ec20
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x10fc]
and eax, 1
je 0x10049823
and dword [ebp - 0x10fc], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.10045be0
nop
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1120]
call fcn.10045c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1184]
call fcn.1000ec20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1148]
call fcn.10045ab0
mov eax, dword [ebp + 8]
jmp 0x10049a1c
jmp 0x100492e3
jmp 0x100499a9
lea ecx, [ebp - 0x137c]
push ecx
lea ecx, [ebp - 0x1114]
call fcn.1000ebf0
mov edx, dword [eax]
mov dword [ebp - 0x1290], edx
mov eax, dword [ebp - 0x1290]
mov dword [ebp - 0x12a0], eax
lea ecx, [ebp - 0x1380]
push ecx
lea ecx, [ebp - 0x1114]
call fcn.1000b380
mov edx, dword [eax]
mov dword [ebp - 0x1294], edx
mov eax, dword [ebp - 0x1294]
mov dword [ebp - 0x12a4], eax
lea ecx, [ebp - 0x1384]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x2c
call fcn.1000ebf0
mov edx, dword [eax]
mov dword [ebp - 0x1298], edx
mov eax, dword [ebp - 0x1298]
mov dword [ebp - 0x129c], eax
mov ecx, dword [ebp - 0x129c]
mov dword [ebp - 0x12a8], ecx
mov edx, dword [ebp - 0x12a0]
push edx
mov eax, dword [ebp - 0x12a4]
push eax
mov ecx, dword [ebp - 0x12a8]
push ecx
lea edx, [ebp - 0x1388]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x2c
call fcn.100430a0
nop
lea ecx, [ebp - 0x1114]
call fcn.1000ec10
nop
movzx eax, byte [ebp - 0x1101]
test eax, eax
je 0x100499a9
mov ecx, dword [ebp + 8]
add ecx, 0x2c
call fcn.1000ebe0
cmp eax, dword [ebp - 0x1130]
jb 0x100499a9
mov dword [ebp - 0x10fc], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1114]
call fcn.1000ec20
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10fc]
and ecx, 1
je 0x10049974
and dword [ebp - 0x10fc], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.10045be0
nop
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1120]
call fcn.10045c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1184]
call fcn.1000ec20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1148]
call fcn.10045ab0
mov eax, dword [ebp + 8]
jmp 0x10049a1c
jmp 0x10048ccf
mov dword [ebp - 0x10fc], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1114]
call fcn.1000ec20
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x10fc]
and edx, 1
je 0x100499e9
and dword [ebp - 0x10fc], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.10045be0
nop
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1120]
call fcn.10045c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1184]
call fcn.1000ec20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1148]
call fcn.10045ab0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004f727
mov esp, ebp
pop ebp
ret 0x18