Function at 0x4143da
Capabilities:
Check for software breakpoints
Check http status code

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
lea eax, [esi + 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xac]
mov edx, dword [ebp + 0x10]
mov dword [esi + 0xb0], eax
push edi
push dword [edx]
push 0xa
push eax
call fcn.0041dc70
add esp, 0x10
mov dword [esi + 0xb4], eax
test eax, eax
jne 0x414475
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
mov eax, esi
mov ecx, dword [edi]
call 0x411919
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x415306
cmp dword [esi + 0xa0], 0
jne 0x415306
cmp dword [esi + 0xa8], 5
jbe 0x415306
mov ecx, dword [esi + 0x52c]
mov edx, dword [ebp + 0xc]
mov eax, esi
call 0x411be8
test al, al
jne 0x415306
mov byte [esi + 0x98], 0
mov dword [esi + 0x9c], 2
jmp 0x415306
sub eax, dword [esi + 0xac]
mov ecx, dword [esi + 0xb4]
inc ecx
mov edx, dword [ebp - 0x28]
lea ebx, [eax + 1]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xac], ecx
sub ecx, dword [esi + 0xb0]
sub dword [eax], ebx
mov eax, esi
call 0x411919
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x415306
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0x52c]
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], ecx
cmp dword [esi + 0xa0], 0
jne 0x414515
cmp dword [esi + 0xa8], 5
jbe 0x414515
mov edx, dword [ebp + 0xc]
mov eax, esi
call 0x411be8
test al, al
jne 0x414515
mov edx, dword [ebp + 0x10]
mov byte [esi + 0x98], 0
cmp dword [edx], 0
je 0x414501
mov dword [esi + 0x9c], 1
jmp 0x415306
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x9c], 2
mov dword [ecx], ebx
jmp 0x415306
mov ecx, dword [esi + 0xb8]
mov al, byte [ecx]
cmp al, 0xd
sete dl
cmp al, 0xa
je 0x414537
test dl, dl
je 0x4147cd
lea eax, [ecx + 1]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0xb8]
cmp byte [eax], 0xa
jne 0x414549
inc eax
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0xc8]
sub eax, 0x64
cmp eax, 0x63
ja 0x4145af
mov eax, dword [esi + 0xc8]
mov byte [esi + 0x98], 1
mov dword [esi + 0xa0], 0
cmp eax, 0x64
je 0x41457e
cmp eax, 0x65
jne 0x4145fc
jmp 0x41459a
cmp dword [esi + 0xd4], 0
je 0x4145fc
or dword [esi + 0xf4], 2
mov dword [esi + 0xd4], 0
jmp 0x4145fc
cmp dword [esi + 0xd8], 1
jne 0x4145fc
mov dword [esi + 0xd8], 2
jmp 0x4145fc
mov byte [esi + 0x98], 0
cmp dword [esi + 0x54], 0xffffffff
jne 0x4145fc
cmp dword [esi + 0x50], 0xffffffff
jne 0x4145fc
cmp byte [esi + 0x10c], 0
jne 0x4145fc
mov edi, dword [ebp + 0xc]
cmp byte [edi + 0x1c0], 0
jne 0x4145fc
cmp dword [edi + 0x13c], 0xb
jne 0x4145fc
mov eax, dword [edi + 0x1ec]
test byte [eax + 0x3e], 4
jne 0x4145fc
cmp dword [esi + 0x240], 5
je 0x4145fc
mov byte [edi + 0x1c0], 1
mov eax, dword [ebp + 0xc]
call 0x41183d
test eax, eax
je 0x414614
push ebx
push dword [esi + 0xc8]
jmp 0x4149fe
cmp byte [esi + 0x2bc], 1
mov edx, dword [esi + 0x52c]
mov ebx, dword [esi + 0xb8]
sbb eax, eax
sub ebx, edx
add eax, 3
push ebx
push edx
push eax
push dword [ebp + 0xc]
call 0x40e2ef
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x4152f1
mov eax, dword [esi + 0xc8]
mov edx, ebx
sub eax, 0x64
add edx, dword [esi + 0x80]
add dword [esi + 0x8678], ebx
cmp eax, 0x64
setb al
movzx eax, al
neg eax
mov dword [esi + 0x80], edx
and edx, eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x84], edx
cmp byte [eax], 0
jne 0x414714
sub esp, 0xc
push dword [ebp + 0xc]
call 0x411ff6
add esp, 0x10
test eax, eax
jne 0x4152ac
cmp dword [esi + 0xc8], 0x12b
jle 0x414701
mov edx, dword [ebp + 0xc]
cmp byte [edx + 0x1ce], 0
jne 0x414701
cmp byte [edx + 0x1c0], 0
jne 0x414701
cmp byte [edx + 0x1cf], 0
jne 0x414701
mov eax, dword [esi + 0x240]
sub eax, 2
cmp eax, 2
ja 0x414701
cmp byte [esi + 0xf8], 0
jne 0x414701
mov byte [edx + 0x1c0], 1
mov byte [esi + 0xf8], 1
and dword [esi + 0xf4], 0xfffffffd
cmp byte [esi + 0x8610], 0
je 0x414701
mov dword [esi + 0xd4], 3
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0x1cf], 0
je 0x414714
or dword [esi + 0xf4], 2
cmp byte [esi + 0x98], 0
jne 0x4152c3
cmp byte [esi + 0x2bf], 0
je 0x414732
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x414757
cmp byte [esi + 0x10c], 0
je 0x414757
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0x50]
cmp edx, 0xffffffff
jne 0x414767
cmp eax, 0xffffffff
je 0x41477f
push ecx
push edx
push eax
push esi
call fcn.00418f00
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
add esp, 0x10
mov eax, dword [esi + 0x60]
or eax, dword [esi + 0x64]
jne 0x41478d
mov edx, dword [ebp + 0x14]
mov byte [edx], 1
mov ecx, dword [ebp + 0x14]
cmp byte [ecx], 0
je 0x41479c
and dword [esi + 0xf4], 0xfffffffe
cmp byte [esi + 0x2c8], 0
je 0x4152f1
sub esp, 0xc
push dword [ebp + 0xc]
push ebx
push dword [esi + 0xb0]
push 1
push esi
call 0x40df0a
add esp, 0x20
mov dword [ebp - 0x2c], 0
jmp 0x415306
mov eax, dword [esi + 0xa0]
inc eax
mov dword [esi + 0xa0], eax
dec eax
jne 0x414a9f
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x1ec]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x414881
sub esp, 0xc
mov eax, edi
add eax, 0x13c
lea ebx, [esi + 0xc8]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
push 0x420550
push ecx
call fcn.0041db80
add esp, 0x20
cmp eax, 3
jne 0x41482d
imul eax, dword [ebp - 0x10], 0xa
add dword [edi + 0x13c], eax
jmp 0x4148d1
push eax
push ebx
push 0x420560
push dword [esi + 0xb8]
call fcn.0041db80
mov edx, dword [ebp + 0xc]
add esp, 0x10
mov dword [edx + 0x13c], 0xa
test eax, eax
jne 0x4148d1
mov edx, dword [esi + 0xb8]
mov eax, esi
call 0x411b88
test al, al
je 0x4152ff
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc8], 0xc8
mov dword [ecx + 0x13c], 0xa
jmp 0x4148d1
test eax, 0x40000
je 0x4152ff
sub esp, 0xc
lea eax, [esi + 0xc8]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x140
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42056a
push ecx
call fcn.0041db80
add esp, 0x20
cmp eax, 3
jne 0x4152ff
imul eax, dword [ebp - 0x14], 0xa
mov edi, dword [ebp + 0xc]
add dword [edi + 0x140], eax
mov dword [edi + 0x13c], 0xb
mov eax, dword [esi + 0xc8]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x8664], eax
mov eax, dword [edx + 0x13c]
mov dword [esi + 0x866c], eax
mov eax, dword [esi + 0x860c]
test eax, eax
je 0x4148fe
cmp eax, dword [edx + 0x13c]
jle 0x41490d
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x13c]
mov dword [esi + 0x860c], eax
cmp byte [esi + 0x2b8], 0
je 0x414a18
mov edi, dword [esi + 0xc8]
mov dword [ebp - 0x20], edi
cmp edi, 0x18f
jle 0x414a18
cmp edi, 0x191
jne 0x414943
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x1c4], 0
jmp 0x414956
cmp dword [ebp - 0x20], 0x197
jne 0x41495c
mov edx, dword [ebp + 0xc]
cmp byte [edx + 0x1c5], 0
jne 0x414a18
mov eax, dword [esi + 0x8628]
or eax, dword [esi + 0x862c]
je 0x414980
cmp dword [esi + 0x240], 1
jne 0x414980
cmp dword [ebp - 0x20], 0x1a0
je 0x414a18
mov ebx, dword [esi + 0xb8]
push eax
push 4
push 0x42057a
push ebx
call fcn.0041dbf0
add esp, 0x10
test eax, eax
jne 0x4149fa
push eax
push eax
push 0x20
push ebx
call fcn.0041db30
add esp, 0x10
test eax, eax
je 0x4149fa
lea edi, [eax + 1]
cmp byte [eax + 1], 0
je 0x4149fa
push eax
push eax
push 0xd
push edi
call fcn.0041db30
add esp, 0x10
mov ebx, eax
mov byte [ebp - 0x21], 0xd
test eax, eax
jne 0x4149e3
push eax
push eax
push 0xa
push edi
call fcn.0041db30
add esp, 0x10
mov ebx, eax
test eax, eax
je 0x4149fa
mov byte [ebp - 0x21], 0xa
mov byte [ebx], 0
push eax
push edi
push 0x42057f
push esi
call 0x40e249
mov cl, byte [ebp - 0x21]
mov byte [ebx], cl
jmp 0x414a09
push ecx
push dword [ebp - 0x20]
push 0x42000b
push esi
call 0x40e249
mov dword [ebp - 0x2c], 0x16
add esp, 0x10
jmp 0x415306
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x13c], 0xa
jne 0x414a2d
mov byte [edi + 0x1c0], 1
jmp 0x414a58
jle 0x414a58
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x1c0], 0
jne 0x414a58
mov ebx, dword [eax + 0x470]
test ebx, ebx
je 0x414a58
push edx
push edx
push eax
push esi
call fcn.004165f3
add esp, 0x10
test al, al
jne 0x414a58
mov byte [ebx], 1
mov eax, dword [esi + 0xc8]
cmp eax, 0xcc
je 0x414a6c
cmp eax, 0x130
jne 0x414a9f
cmp dword [esi + 0x238], 0
je 0x414a7c
mov byte [esi + 0x8674], 1
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov byte [esi + 0xfa], 1
cmp byte [esi + 0xfa], 0
jne 0x414b42
cmp byte [esi + 0x2df], 0
jne 0x414b42
push eax
push 0xf
push dword [esi + 0xb8]
push 0x420462
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414b42
push eax
push 0xa
push 0
mov eax, dword [esi + 0xb8]
add eax, 0xf
push eax
call fcn.0041d570
mov ebx, edx
mov edx, dword [esi + 0x29c]
mov ecx, eax
mov edi, edx
mov eax, dword [esi + 0x298]
add esp, 0x10
or edi, eax
je 0x414b23
cmp ebx, edx
jl 0x414b23
jg 0x414b0a
cmp ecx, eax
jbe 0x414b23
push eax
push eax
push 0x4205a4
push esi
call 0x40e249
mov dword [ebp - 0x2c], 0x3f
jmp 0x414a10
test ebx, ebx
js 0x414cea
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], ebx
push eax
push ebx
push ecx
push esi
call fcn.00418f00
jmp 0x414b86
push edi
push 0xd
push dword [esi + 0xb8]
push 0x4200c9
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414bba
sub esp, 0xc
push dword [esi + 0xb8]
call 0x411d81
add esp, 0x10
mov ebx, eax
test eax, eax
je 0x4152f6
cmp byte [eax], 0
jne 0x414b8e
sub esp, 0xc
push ebx
call dword [fcn.0041e00c]
add esp, 0x10
jmp 0x41525e
mov eax, dword [esi + 0x868c]
test eax, eax
je 0x414baf
sub esp, 0xc
push eax
call dword [fcn.0041e00c]
mov dword [esi + 0x868c], 0
add esp, 0x10
mov dword [esi + 0x868c], ebx
jmp 0x41525e
push ebx
push 7
push dword [esi + 0xb8]
push 0x4205bf
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414c22
sub esp, 0xc
push dword [esi + 0xb8]
call 0x411d81
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [edx + 0x470]
add esp, 0x10
test eax, eax
je 0x414c15
cmp byte [eax], 0
je 0x414c15
push ecx
push ecx
push ebx
push esi
call fcn.00416484
add esp, 0x10
test al, al
je 0x414c15
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x470]
mov byte [eax], 0
test ebx, ebx
je 0x41525e
jmp 0x414b7c
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x13c], 0xa
jne 0x414c54
cmp byte [edi + 0x1c3], 0
je 0x414c54
push edx
push 0x4205c7
push 0x4203a6
push dword [esi + 0xb8]
call 0x411ca6
add esp, 0x10
test al, al
jne 0x414cc1
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x13c], 0xb
jne 0x414c95
cmp byte [eax + 0x1c3], 0
je 0x414c95
push eax
push 0x4205d2
push 0x4203a6
push dword [esi + 0xb8]
call 0x411ca6
add esp, 0x10
test al, al
je 0x414c95
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x1c0], 1
jmp 0x41525e
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x13c], 0xa
jne 0x414ccd
push eax
push 0x4205c7
push 0x4205d8
push dword [esi + 0xb8]
call 0x411ca6
add esp, 0x10
test al, al
je 0x414ccd
mov edi, dword [ebp + 0xc]
mov byte [edi + 0x1c0], 0
jmp 0x41525e
push eax
push 0x4205d2
push 0x4205d8
push dword [esi + 0xb8]
call 0x411ca6
add esp, 0x10
test al, al
je 0x414cf9
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x1c0], 1
jmp 0x41525e
push eax
push 0x12
push dword [esi + 0xb8]
push 0x4201e1
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414e83
mov ebx, dword [esi + 0xb8]
mov edi, dword [0x4252e8]
add ebx, 0x12
jmp 0x414d29
inc ebx
mov al, byte [ebx]
test al, al
je 0x414d5e
mov ecx, dword [0x4252c4]
movzx edx, al
cmp dword [ecx], 1
jne 0x414d48
mov eax, dword [edi]
movzx eax, word [eax + edx*2]
and eax, 8
jmp 0x414d55
push eax
push eax
push 8
push edx
call fcn.0041db90
add esp, 0x10
test eax, eax
jne 0x414d28
cmp byte [ebx], 0x2c
je 0x414d28
push eax
push 7
push ebx
push 0x4201f4
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414d8b
sub esp, 0xc
mov byte [esi + 0x10c], 1
push dword [ebp + 0xc]
add ebx, 7
call fcn.0041c3e4
add esp, 0x10
cmp dword [esi + 0xdc], 0
jne 0x41525e
push ecx
push 8
push ebx
push 0x4205e4
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414dbc
mov dword [esi + 0xdc], 0
jmp 0x414e50
push edx
push 7
push ebx
push 0x4205ed
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414de3
add ebx, 7
mov dword [esi + 0xdc], 1
jmp 0x414d29
push eax
push 4
push ebx
push 0x4205f5
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414e0a
add ebx, 4
mov dword [esi + 0xdc], 2
jmp 0x414d29
push eax
push 6
push ebx
push 0x4205fa
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414e31
add ebx, 6
mov dword [esi + 0xdc], 2
jmp 0x414d29
push eax
push 8
push ebx
push 0x420601
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414e58
mov dword [esi + 0xdc], 3
add ebx, 8
jmp 0x414d29
push eax
push 0xa
push ebx
push 0x42060a
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x41525e
add ebx, 0xa
mov dword [esi + 0xdc], 3
jmp 0x414d29
push eax
push 0x11
push dword [esi + 0xb8]
push 0x420615
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414fb9
cmp dword [esi + 0x310], 0
jne 0x414eba
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x13c], 0x14
jne 0x414fb9
mov ebx, dword [esi + 0xb8]
mov edi, dword [0x4252e8]
add ebx, 0x11
jmp 0x414ecc
inc ebx
mov al, byte [ebx]
test al, al
je 0x414efb
movzx edx, al
mov eax, dword [0x4252c4]
cmp dword [eax], 1
jne 0x414eea
mov eax, dword [edi]
movzx eax, word [eax + edx*2]
and eax, 8
jmp 0x414ef7
push eax
push eax
push 8
push edx
call fcn.0041db90
add esp, 0x10
test eax, eax
jne 0x414ecb
push ecx
push 8
push ebx
push 0x4205e4
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414f1f
mov dword [esi + 0xdc], 0
jmp 0x41525e
push edx
push 7
push ebx
push 0x4205ed
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414f43
mov dword [esi + 0xdc], 1
jmp 0x41525e
push eax
push 4
push ebx
push 0x4205f5
call fcn.004180d5
add esp, 0x10
test eax, eax
jne 0x414f6d
push eax
push 6
push ebx
push 0x4205fa
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x414f7c
mov dword [esi + 0xdc], 2
jmp 0x41525e
push eax
push 8
push ebx
push 0x420601
call fcn.004180d5
add esp, 0x10
test eax, eax
jne 0x414faa
push eax
push 0xa
push ebx
push 0x42060a
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x41525e
mov dword [esi + 0xdc], 3
jmp 0x41525e
push eax
push 0xe
push dword [esi + 0xb8]
push 0x420312
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x41502a
mov edx, dword [esi + 0xb8]
add edx, 0xe
jmp 0x414fdf
inc edx
mov al, byte [edx]
test al, al
je 0x414fec
sub eax, 0x30
cmp al, 9
ja 0x414fde
push eax
push 0xa
push 0
push edx
call fcn.0041d570
add esp, 0x10
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], edx
cmp dword [esi + 0x862c], edx
jne 0x41525e
cmp dword [esi + 0x8628], eax
jne 0x41525e
mov byte [esi + 0xbc], 1
jmp 0x41525e
cmp dword [esi + 0x400], 0
je 0x4150a0
push edi
push 0xb
push dword [esi + 0xb8]
push 0x420627
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x4150a0
push ebx
push 2
push 2
push esi
call 0x411544
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x21c]
add esp, 0x10
mov edx, dword [esi + 0x8618]
test eax, eax
jne 0x415074
mov eax, dword [ecx + 0x98]
push ecx
push ecx
push edx
push eax
mov eax, dword [esi + 0xb8]
add eax, 0xb
push eax
push 1
push dword [esi + 0x400]
push esi
call 0x40cf55
add esp, 0x18
push 2
push esi
call 0x411584
jmp 0x414b86
push edi
push 0xe
push dword [esi + 0xb8]
push 0x420633
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x41510f
cmp dword [esi + 0x238], 0
jne 0x4150cc
cmp byte [esi + 0x2b1], 0
je 0x41510f
sub esp, 0xc
lea edi, [ebp - 0x18]
push 0
call fcn.0041da90
pop ecx
pop ebx
push edi
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xb8]
add eax, 0xe
push eax
call sym.survivalist.exe_curl_getdate
add esp, 0x10
mov dword [esi + 0xe0], eax
cmp byte [esi + 0x2b1], 0
je 0x41525e
mov dword [esi + 0x8670], eax
jmp 0x41525e
push edx
push 0x11
push dword [esi + 0xb8]
push 0x420642
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x415135
cmp dword [esi + 0xc8], 0x191
je 0x41515b
push eax
push 0x13
push dword [esi + 0xb8]
push 0x420654
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x4151ad
cmp dword [esi + 0xc8], 0x197
jne 0x4151ad
sub esp, 0xc
mov edi, dword [esi + 0xc8]
push dword [esi + 0xb8]
call 0x411d81
add esp, 0x10
mov ebx, eax
test eax, eax
je 0x4152f6
push eax
xor eax, eax
cmp edi, 0x197
push ebx
sete al
push eax
push dword [ebp + 0xc]
call 0x4128f6
mov dword [esp], ebx
mov edi, eax
call dword [fcn.0041e00c]
add esp, 0x10
test edi, edi
je 0x41525e
jmp 0x4152f1
mov eax, dword [esi + 0xc8]
sub eax, 0x12c
cmp eax, 0x63
ja 0x415243
push eax
push 9
push dword [esi + 0xb8]
push 0x420668
call fcn.004180d5
add esp, 0x10
test eax, eax
je 0x415243
cmp dword [esi + 0xfc], 0
jne 0x415243
sub esp, 0xc
push dword [esi + 0xb8]
call 0x411d81
add esp, 0x10
test eax, eax
je 0x4152f6
cmp byte [eax], 0
jne 0x41520b
sub esp, 0xc
push eax
jmp 0x414b80
mov dword [esi + 0xfc], eax
cmp byte [esi + 0x2b9], 0
je 0x41525e
sub esp, 0xc
push eax
call dword [0x41e014]
add esp, 0x10
mov dword [esi + 0x100], eax
test eax, eax
je 0x4152f6
mov eax, dword [ebp + 0xc]
call 0x411e89
test eax, eax
je 0x41525e
jmp 0x4152ac
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1ec]
test byte [eax + 0x3e], 4
je 0x41525e
mov dword [ebp - 0x2c], 4
jmp 0x415306
cmp byte [esi + 0x2bc], 1
sbb ebx, ebx
add ebx, 3
cmp byte [esi + 0x2c8], 0
je 0x415290
sub esp, 0xc
push dword [ebp + 0xc]
push dword [esi + 0xa8]
push dword [esi + 0xb8]
push 1
push esi
call 0x40df0a
add esp, 0x20
push dword [esi + 0xa8]
push dword [esi + 0xb8]
push ebx
push dword [ebp + 0xc]
call 0x40e2ef
add esp, 0x10
test eax, eax
je 0x4152b1
mov dword [ebp - 0x2c], eax
jmp 0x415306
mov eax, dword [esi + 0xa8]
add dword [esi + 0x8678], eax
add dword [esi + 0x80], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi + 0x52c]
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], 0
cmp byte [ecx], 0
jne 0x415306
mov eax, dword [esi + 0xac]
cmp byte [eax], 0
je 0x415306
jmp 0x4143ec
mov dword [ebp - 0x2c], edi
jmp 0x415306
mov dword [ebp - 0x2c], 0x1b
jmp 0x415306
mov byte [esi + 0x98], 0
mov eax, dword [ebp - 0x2c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret