Function at 0x43ba70
Capabilities:
Create thread
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x491f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov esi, dword [ebp + 0xc]
cmp byte [esi], 0x2f
mov byte [esp + 0x54], 4
jne 0x43bda1
push 0x20000
lea ecx, [esp + 0x1c]
call fcn.004762c0
push 0x20000
lea ecx, [esp + 0x24]
call fcn.004762c0
push str._main.css
push esi
or ebx, 0xffffffff
call fcn.00402f90
add esp, 8
test eax, eax
jne 0x43bb3d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push str.HTTP_Server_
push eax
push ecx
mov dword [esp + 0x1c], 1
mov ebx, 0x69
mov esi, eax
mov edi, ecx
call fcn.00431500
push str.main.css
push eax
push esi
push edi
call fcn.00431580
add esp, 0x1c
xor edi, edi
jmp 0x43bcd7
push str._favicon.ico
push esi
call fcn.00402f90
add esp, 8
test eax, eax
jne 0x43bb8b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push str.HTTP_Server_
push eax
push ecx
mov dword [esp + 0x1c], 1
mov ebx, 0x6e
mov esi, eax
mov edi, ecx
call fcn.00431500
push str.favicon.ico
push eax
push esi
push edi
call fcn.00431580
add esp, 0x1c
xor edi, edi
jmp 0x43bcd7
push str._folder.png
push esi
call fcn.00402f90
add esp, 8
test eax, eax
jne 0x43bbd9
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push str.HTTP_Server_
push eax
push ecx
mov dword [esp + 0x1c], 1
mov ebx, 0x6d
mov esi, eax
mov edi, ecx
call fcn.00431500
push str.folder.png
push eax
push esi
push edi
call fcn.00431580
add esp, 0x1c
xor edi, edi
jmp 0x43bcd7
push str._file.png
push esi
call fcn.00402f90
add esp, 8
test eax, eax
jne 0x43bbf7
mov ebx, 0x6c
push str.file.png
jmp 0x43bc4f
push str._everything.png
push esi
call fcn.00402f90
add esp, 8
test eax, eax
jne 0x43bc15
mov ebx, 0x6b
push str.everything.png
jmp 0x43bc4f
push str._drive.png
push esi
call fcn.00402f90
add esp, 8
test eax, eax
jne 0x43bc33
mov ebx, 0x6a
push str.drive.png
jmp 0x43bc4f
push str._icon.png
push esi
call fcn.00402f90
add esp, 8
test eax, eax
jne 0x43bc6b
mov ebx, 0x68
push str.icon.png
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], 1
call fcn.0043ac10
add esp, 4
xor edi, edi
jmp 0x43bcd7
cmp dword [0x4a6190], edi
mov dword [esp + 0x10], edi
je 0x43bda1
mov cl, byte [esi + 1]
mov eax, dword [esp + 0x1c]
add esi, 1
test cl, cl
je 0x43bca9
lea esp, [esp]
cmp cl, 0x2f
jne 0x43bc9a
mov byte [eax], 0x5c
jmp 0x43bc9c
mov byte [eax], cl
mov cl, byte [esi + 1]
add esi, 1
add eax, 1
test cl, cl
jne 0x43bc90
mov byte [eax], 0
mov esi, dword [esp + 0x1c]
push esi
call section..text
push eax
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.004219c0
add esp, 0x18
test eax, eax
je 0x43bda1
mov eax, dword [esp + 0x1c]
push edi
push eax
call fcn.00444a80
mov edi, eax
or esi, 0xffffffff
add esp, 8
cmp edi, esi
je 0x43be4d
lea ecx, [esp + 0x44]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov esi, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
push eax
push ecx
push edx
push esi
call fcn.0043ac30
push 8
call fcn.00441a20
mov ebx, eax
mov eax, dword [esi]
mov dword [ebx + 4], eax
mov dword [ebx], edi
mov ecx, dword [esp + 0x34]
movzx edx, byte [esi + 7]
movzx eax, byte [esi + 6]
push ecx
movzx ecx, byte [esi + 5]
push edx
movzx edx, byte [esi + 4]
push eax
push ecx
push edx
push str.__d._d._d._d__Sending_file__s_n
push 0
call fcn.0043b700
lea eax, [esp + 0x48]
push eax
push 0
push ebx
push 0x43a9d0
push 0
push 0
mov dword [esi], 0xffffffff
call fcn.004840b5
add esp, 0x4c
test eax, eax
jne 0x43bde6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._beginthreadex__:__d:_Failed_to_start__send_db_file_thread._n
push str.http_server::_send_file
push 0x60f
push str.._srchttp_server.cpp
call fcn.00430960
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 3
call fcn.00476730
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 2
call fcn.00476730
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 1
call fcn.00476730
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 0
call fcn.00476730
mov dword [esp + 0x54], 0xffffffff
jmp 0x43bf0a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 3
call fcn.00476730
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 2
call fcn.00476730
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 1
call fcn.00476730
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 0
call fcn.00476730
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], 0xffffffff
call fcn.00476730
mov eax, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, esi
je 0x43bece
push ebx
push str.send_resource__d_n
call fcn.00430350
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
push ecx
push edx
push ebx
push eax
call fcn.0043b940
add esp, 0x18
lea ecx, [esp + 0x28]
mov edi, eax
mov byte [esp + 0x54], 3
call fcn.00476730
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 2
call fcn.00476730
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 1
call fcn.00476730
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 0
call fcn.00476730
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], esi
call fcn.00476730
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 3
call fcn.00476730
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 2
call fcn.00476730
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 1
call fcn.00476730
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 0
call fcn.00476730
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x18]
call fcn.00476730
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret