Function at 0x1000a0e0
Capabilities:
Check http status code

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f59f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x208
mov eax, dword [0x10066080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x13c], edx
mov esi, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
push 0
mov byte [ebp - 0x58], 0
call fcn.100160e0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
call fcn.10015d30
mov eax, esi
mov byte [ebp - 0x30], 5
cdq
mov esi, eax
mov edi, edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
xorps xmm0, xmm0
push 0xc
movups xmmword [ecx], xmm0
push str.characterIdx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1001a8d0
lea ecx, [ebp - 0x58]
call fcn.1001d9f0
mov cl, byte [eax]
mov byte [eax], 5
mov edx, dword [eax + 0xc]
mov byte [ebp - 0x144], cl
mov byte [ebp - 0x30], cl
mov ecx, dword [eax + 8]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push dword [ebp - 0x144]
call fcn.10015d30
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
call fcn.10015d30
mov eax, dword [ebp - 0x13c]
cdq
mov esi, eax
mov byte [ebp - 0x30], 5
mov edi, edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
xorps xmm0, xmm0
push 9
movups xmmword [ecx], xmm0
push str.classType
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1001a8d0
lea ecx, [ebp - 0x58]
call fcn.1001d9f0
mov cl, byte [eax]
mov byte [ebp - 0x13c], cl
mov byte [eax], 5
mov edx, dword [eax + 0xc]
mov byte [ebp - 0x30], cl
mov ecx, dword [eax + 8]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push dword [ebp - 0x13c]
call fcn.10015d30
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
call fcn.10015d30
mov eax, dword [ebx + 8]
cdq
mov esi, eax
mov byte [ebp - 0x30], 5
mov edi, edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
xorps xmm0, xmm0
push 6
movups xmmword [ecx], xmm0
push str.damage
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1001a8d0
lea ecx, [ebp - 0x58]
call fcn.1001d9f0
mov cl, byte [eax]
mov byte [eax], 5
mov edx, dword [eax + 0xc]
mov byte [ebp - 0x13c], cl
mov byte [ebp - 0x30], cl
mov ecx, dword [eax + 8]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push dword [ebp - 0x13c]
call fcn.10015d30
push 0xe0
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0xb
push 0
push eax
call fcn.1002e4c0
add esp, 0xc
mov dword [ebp - 0x1b4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1b0], 0
lea ecx, [ebp - 0x1c4]
movups xmmword [ebp - 0x1c4], xmm0
push 0xc
push str.Content_Type
call fcn.1001a8d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1ac]
push 0x1f
xorps xmm0, xmm0
mov dword [ebp - 0x19c], 0
push str.application_json__charsetutf_8
movups xmmword [ebp - 0x1ac], xmm0
mov dword [ebp - 0x198], 0
call fcn.1001a8d0
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1c4]
push eax
push ecx
lea ecx, [ebp - 0x148]
call fcn.10011aa0
mov esi, eax
mov dword [ebp - 0x13c], esi
sub esp, 0x10
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x58]
push eax
call fcn.100120d0
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x190]
push eax
push ecx
lea ecx, [ebp - 0x1fc]
call fcn.10006850
mov edi, eax
mov byte [ebp - 4], 0x10
mov ecx, 0x7fffffff
mov edx, dword [0x10068ab0]
sub ecx, edx
cmp ecx, 7
jb 0x1000a94c
cmp dword [0x10068ab4], 0xf
mov eax, 0x10068aa0
push edx
cmova eax, dword [0x10068aa0]
push eax
push 7
push str.http:__
push ecx
push dword [ebp - 0x13c]
lea ecx, [ebp - 0x160]
call fcn.1001de10
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x14c]
mov eax, edx
mov ecx, dword [ebp - 0x150]
sub eax, ecx
push 0x1a
push str._api_BaldusDamageCount.php
cmp eax, 0x1a
jb 0x1000a471
cmp edx, 0xf
lea esi, [ebp - 0x160]
lea eax, [ecx + 0x1a]
cmova esi, dword [ebp - 0x160]
add esi, ecx
mov dword [ebp - 0x150], eax
push esi
call fcn.1002df40
mov byte [esi + 0x1a], 0
lea eax, [ebp - 0x160]
mov esi, dword [ebp - 0x13c]
add esp, 0xc
jmp 0x1000a48b
mov byte [ebp - 0x13c], 0
lea ecx, [ebp - 0x160]
push dword [ebp - 0x13c]
push 0x1a
call fcn.1001b940
mov dword [ebp - 0x168], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x164], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x178], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x168], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x178]
push eax
push ecx
lea ecx, [ebp - 0x1e0]
call fcn.10006510
push esi
push edi
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x138]
call fcn.10018b00
add esp, 8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x1c8]
cmp ecx, 0xf
jbe 0x1000a542
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a538
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a951
push ecx
push edx
call fcn.1002c76a
add esp, 8
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0xf
mov byte [ebp - 0x1dc], 0
push fcn.100137a0
push 1
push 0x18
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0x16
push eax
call fcn.1002c7a4
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x1000a5b4
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a5aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a951
push ecx
push edx
call fcn.1002c76a
add esp, 8
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x1e4]
cmp ecx, 0xf
jbe 0x1000a60d
mov edx, dword [ebp - 0x1f8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a603
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a951
push ecx
push edx
call fcn.1002c76a
add esp, 8
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0xf
mov byte [ebp - 0x1f8], 0
push fcn.100137a0
push 1
push 0x18
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x19
push eax
call fcn.1002c7a4
lea eax, [ebp - 0x148]
push eax
mov ecx, eax
call fcn.10019a80
push fcn.1000a9b0
push 1
push 0x30
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 0x1b
push eax
call fcn.1002c7a4
cmp dword [ebp - 0x130], 0xc8
jne 0x1000a872
sub esp, 0x28
lea edx, [ebp - 0x12c]
mov eax, esp
lea ecx, [ebp - 0x30]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.10018be0
add esp, 0x30
sub esp, 0x18
mov byte [ebp - 4], 0x1c
mov ecx, esp
xorps xmm0, xmm0
push 7
movups xmmword [ecx], xmm0
push str.success
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1001a8d0
lea ecx, [ebp - 0x30]
call fcn.1001d9f0
mov ecx, eax
cmp byte [ecx], 4
jne 0x1000a956
mov al, byte [ecx + 8]
sub esp, 0x18
mov ecx, esp
mov byte [ebp - 0x13d], al
xorps xmm0, xmm0
push 7
movups xmmword [ecx], xmm0
push str.message
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1001a8d0
lea ecx, [ebp - 0x30]
call fcn.1001d9f0
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.10018d20
cmp byte [ebp - 0x13d], 0
mov ecx, 0x10067898
mov byte [ebp - 4], 0x1e
je 0x1000a758
mov edx, str.Data_inserted_successfully:
call fcn.10018e20
cmp dword [ebp - 0x34], 0xf
lea edx, [ebp - 0x48]
push dword [ebp - 0x38]
cmova edx, dword [ebp - 0x48]
mov ecx, eax
call fcn.10020e60
add esp, 4
push eax
call fcn.100190d0
add esp, 4
jmp 0x1000a809
mov edx, str.Failed_to_insert_data:
call fcn.10018e20
cmp dword [ebp - 0x34], 0xf
lea edx, [ebp - 0x48]
push dword [ebp - 0x38]
cmova edx, dword [ebp - 0x48]
mov ecx, eax
call fcn.10020e60
add esp, 4
push eax
call fcn.100190d0
add esp, 4
mov edx, str.Request_body:
mov ecx, 0x10067898
call fcn.10018e20
sub esp, 0x10
lea ecx, [ebp - 0x58]
mov esi, eax
lea eax, [ebp - 0x190]
push eax
call fcn.100120d0
mov byte [ebp - 4], 0x1f
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x1000a7b5
mov eax, dword [eax]
push edx
mov edx, eax
mov ecx, esi
call fcn.10020e60
add esp, 4
push eax
call fcn.100190d0
mov byte [ebp - 4], 0x1e
add esp, 4
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x1000a809
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a7ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a9a0
push ecx
push edx
call fcn.1002c76a
add esp, 8
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1000a841
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a837
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a9a5
push ecx
push edx
call fcn.1002c76a
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
call fcn.10015d30
lea ecx, [ebp - 0x138]
call fcn.1000aa50
jmp 0x1000a91c
mov edx, str.Failed_to_connect_to_the_server._Response_code:
mov ecx, 0x10067898
call fcn.10018e20
push dword [ebp - 0x130]
mov ecx, eax
call fcn.10012c20
push eax
call fcn.100190d0
add esp, 4
mov edx, str.Response_body:
mov ecx, 0x10067898
call fcn.10018e20
cmp dword [ebp - 0x118], 0xf
lea edx, [ebp - 0x12c]
push dword [ebp - 0x11c]
cmova edx, dword [ebp - 0x12c]
mov ecx, eax
call fcn.10020e60
add esp, 4
push eax
call fcn.100190d0
add esp, 4
lea ecx, [ebp - 0x138]
call fcn.1000aa50
jmp 0x1000a91c
mov dword [ebp - 4], 0x22
lea ecx, [ebp - 0x50]
push dword [ebp - 0x58]
call fcn.10015d30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002c727
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10004d10
call fcn.1003c339
call fcn.100162f0
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x190]
lea eax, [ebp - 0x13c]
push eax
call fcn.10028030
add esp, 4
push ecx
push eax
mov edx, 0x12e
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x218]
call fcn.1001a0b0
add esp, 8
lea eax, [ebp - 0x218]
push 0x100647ac
push eax
call fcn.1002e7be
call fcn.1003c339
call fcn.1003c339
int3