Function at 0x4768b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b0ca
mov eax, dword fs:[0]
push eax
sub esp, 0xc74
mov eax, dword [0x562040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push ecx
mov dword [ebp - 0xc68], 0
mov ecx, esp
mov dword [ebp - 0xc68], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0xc70], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0xc74], esp
push 0x52be6c
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0xffffffffffffffff
push 2
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0xc78], esp
push 0x52be4c
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push 0x52bec0
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea ecx, [ebp - 0xc64]
mov dword [ebp - 4], 0xffffffff
call fcn.00470d10
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xc64]
push dword [edi + 0x248]
call fcn.00470360
cmp eax, 1
jne 0x477128
mov esi, dword [edi + 0x248]
lea eax, [ebp - 0x8b0]
push 0x58
push 0
push eax
call fcn.004d4ca0
xor eax, eax
mov dword [ebp - 0x858], 1
mov word [ebp - 0x654], ax
add esp, 0xc
mov word [ebp - 0x854], ax
lea eax, [ebp - 0x654]
mov dword [ebp - 0x894], eax
lea eax, [ebp - 0x854]
mov dword [ebp - 0x88c], eax
lea eax, [ebp - 0x8b0]
push eax
mov dword [ebp - 0x8b0], 0x58
mov dword [ebp - 0x890], 0x104
mov dword [ebp - 0x874], 0
mov dword [ebp - 0x888], 0x100
mov dword [ebp - 0x87c], 0x88002e
mov dword [ebp - 0x8a4], 0x52be80
mov dword [ebp - 0x8ac], esi
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
cmp eax, 1
jne 0x477128
push eax
mov ecx, edi
call fcn.00477760
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x654]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476a60
sub ecx, edx
lea eax, [ebp - 0x654]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00416d40
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
call fcn.004766c0
mov esi, eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.004ab0d0
push 1
push 0x51eef8
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00416ad0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0xc7c]
lea ecx, [ebp - 0x50]
call fcn.0041c0f0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x54]
cmp ecx, 7
jbe 0x476b28
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x476b1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47714e
push ecx
push edx
call fcn.004cfce1
add esp, 8
lea ecx, [ebp - 0x80]
call fcn.00414f80
lea ecx, [ebp - 0x98]
call fcn.00414f80
xorps xmm0, xmm0
mov dword [ebp - 0x158], 0x51f710
lea ecx, [ebp - 0xe0]
movlpd qword [ebp - 0xc80], xmm0
mov dword [ebp - 0x148], 0x51ee98
call fcn.0040c160
push ecx
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0xc68], 7
call fcn.00414a20
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_fstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ebp + ecx - 0x15c], eax
lea ecx, [ebp - 0x140]
call fcn.00414ee0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 7
push ecx
cmova eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x140]
push 0x61
push eax
call fcn.00414e20
test eax, eax
lea ecx, [ebp - 0x158]
mov eax, dword [ebp - 0x158]
je 0x476bff
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x476c14
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.004039a0
cmp dword [ebp - 0xf4], 0
je 0x476c90
push 2
push 0
push 0
lea ecx, [ebp - 0x158]
call fcn.0041b8e0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x158]
call fcn.0041b7e0
mov esi, dword [eax + 8]
add esi, dword [eax]
mov ecx, dword [eax + 0xc]
adc ecx, dword [eax + 4]
mov dword [ebp - 0xc68], ecx
lea ecx, [ebp - 0x140]
call fcn.00414d20
test eax, eax
jne 0x476ca2
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x158]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004039a0
jmp 0x476ca2
mov eax, dword [ebp - 0xc7c]
mov esi, dword [ebp - 0xc80]
mov dword [ebp - 0xc68], eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0xc
call fcn.00417730
mov eax, dword [ebp - 0xc68]
add esi, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x47702c
jb 0x476cd3
cmp esi, 0xfffff
ja 0x47702c
cmp dword [ebp - 0x24], 7
lea eax, [ebp - 0x38]
cmova eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.soui.dll_public:_static_struct_SOUI::IBitmap____cdecl_SOUI::SResLoadFromFile::LoadImageW_wchar_t_const__]
mov esi, eax
add esp, 4
test esi, esi
jne 0x476d7b
push ecx
mov ecx, esp
mov dword [ebp - 0xc7c], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0xc78], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0xc74], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push esi
push 2
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0xc70], esp
push 0x52c0d8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x18
push 0x52c0c8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 0xc
call fcn.00470d10
mov byte [ebp - 4], 0x19
jmp 0x4770b1
mov eax, dword [esi]
lea ecx, [ebp - 0xc80]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x58]
call eax
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
mov dword [ebp - 0xc68], edx
cmp edx, 0xc8
jle 0x476db6
imul eax, ecx, 0xc8
cdq
idiv dword [ebp - 0xc68]
mov edx, 0xc8
mov ecx, eax
mov eax, edx
cmp ecx, 0xc8
jle 0x476dce
imul eax, eax, 0xc8
cdq
idiv ecx
mov ecx, 0xc8
mov edx, eax
push 3
push ecx
mov dword [ebp - 0xc6c], 0
lea ecx, [ebp - 0xc6c]
mov eax, dword [esi]
push edx
push ecx
mov ecx, esi
mov eax, dword [eax + 0x6c]
call eax
mov edx, dword [esi + 4]
lea ecx, [esi + 4]
test eax, eax
je 0x476e87
call dword [edx + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0xc7c], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0xc78], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 0x1b
mov ecx, esp
mov dword [ebp - 0xc74], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0
push 2
push ecx
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0xc70], esp
push 0x52c0d8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x1d
push 0x52c0c8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 0xc
call fcn.00470d10
mov byte [ebp - 4], 0x1e
jmp 0x4770b1
cmp dword [ebp - 0xc6c], 0
mov eax, dword [edx + 4]
jne 0x476f23
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0xc7c], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0xc78], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 0x20
mov ecx, esp
mov dword [ebp - 0xc74], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0
push 2
push ecx
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0xc70], esp
push 0x52c0d8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x22
push 0x52c0c8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 0xc
call fcn.00470d10
mov byte [ebp - 4], 0x23
jmp 0x4770b1
call eax
mov ecx, dword [ebp - 0xc6c]
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 7
lea esi, [ebp - 0x20]
mov dword [ebp - 0x20], 0xb96b3caf
cmova edx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], 0x11d30728
mov dword [ebp - 0x18], 0x7b9d
mov dword [ebp - 0x14], 0x2ef31ef8
mov eax, dword [ecx]
push esi
push edx
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [ebp - 0xc6c]
add ecx, 4
test eax, eax
mov eax, dword [ecx]
je 0x476ffe
call dword [eax + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0xc7c], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0xc78], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 0x25
mov ecx, esp
mov dword [ebp - 0xc74], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0
push 2
push ecx
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ebp - 0xc70], esp
push 0x52c0d8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x27
push 0x52c0c8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 0xc
call fcn.00470d10
mov byte [ebp - 4], 0x28
jmp 0x4770b1
call dword [eax + 4]
mov esi, dword [edi + 0x248]
call fcn.00421ff0
cmp dword [ebp - 0x3c], 7
lea eax, [ebp - 0x50]
push 0x477160
cmova eax, dword [ebp - 0x50]
push eax
push esi
call dword [0x56d26c]
add esp, 0xc
jmp 0x4770d6
push ecx
mov ecx, esp
mov dword [ebp - 0xc7c], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0xc78], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0xc74], esp
push 0x51ef30
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0
push 2
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0xc70], esp
push 0x52c0ac
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x13
push 0x52c09c
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 0xc
call fcn.00470d10
mov byte [ebp - 4], 0x14
push dword [edi + 0x248]
lea ecx, [ebp - 0x44c]
call fcn.00470360
push 0
mov ecx, edi
call fcn.00477760
lea ecx, [ebp - 0x44c]
call fcn.00470e80
lea ecx, [ebp - 0x50]
call fcn.00414f80
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x477114
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47710a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477153
push ecx
push edx
call fcn.004cfce1
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0xc64]
call fcn.00470e80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cfcce
mov esp, ebp
pop ebp
ret
call fcn.004df8cc
call fcn.004df8cc
int3