Function at 0x4b8320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
call fcn.004b4a00
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x4b8343
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
jmp 0x4b8360
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x40]
imul ecx, dword [eax + 4]
mov edx, dword [ebp + 0x24]
movzx eax, byte [edx + 0x5b14ac]
imul ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x18], 0
je 0x4b8374
mov edx, dword [ebp + 0x18]
mov dword [ebp - 8], edx
jmp 0x4b8391
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x40]
imul edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x24]
movzx ecx, byte [eax + 0x5b14ac]
imul edx, ecx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jge 0x4b83b7
push 0x90e
push 0x588550
push str.info__channels___0
call fcn.00507981
add esp, 0xc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0x40
jle 0x4b83d7
push 0x90f
push 0x5885f0
push str.info__channels___64
call fcn.00507981
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x40], 0
jl 0x4b83e9
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0x40
jle 0x4b83f0
xor eax, eax
jmp 0x4b8897
mov eax, dword [ebp + 8]
cmp dword [eax + 0x50], 6
jb 0x4b8410
push 0x914
push 0x588690
push str.info__horizontal_filter____sizeof__stbir__filter_info_table___sizeof__stbir__filter_info_table__0___
call fcn.00507981
add esp, 0xc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x54], 6
jb 0x4b8430
push 0x915
push 0x5887d8
push str.info__vertical_filter____sizeof__stbir__filter_info_table___sizeof__stbir__filter_info_table__0___
call fcn.00507981
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x50], 6
jb 0x4b8440
xor eax, eax
jmp 0x4b8897
mov edx, dword [ebp + 8]
cmp dword [edx + 0x54], 6
jb 0x4b8450
xor eax, eax
jmp 0x4b8897
cmp dword [ebp + 0x1c], 0
jge 0x4b845f
mov eax, dword [ebp + 0x20]
or eax, 3
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp + 0x20]
and ecx, 2
je 0x4b846f
mov edx, dword [ebp + 0x20]
and edx, 1
jne 0x4b8497
cmp dword [ebp + 0x1c], 0
jl 0x4b8480
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
cmp ecx, dword [eax + 0x40]
jl 0x4b8497
push 0x921
push 0x588918
push str.alpha_channel___0__alpha_channel___info__channels
call fcn.00507981
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
cmp ecx, dword [eax + 0x40]
jl 0x4b84a9
xor eax, eax
jmp 0x4b8897
cmp dword [ebp + 0x34], 0
jne 0x4b84c6
push 0x927
push 0x588a00
push str.tempmem
call fcn.00507981
add esp, 0xc
cmp dword [ebp + 0x34], 0
jne 0x4b84d3
xor eax, eax
jmp 0x4b8897
mov eax, dword [ebp + 0x38]
cmp eax, dword [ebp - 0xc]
jae 0x4b84f2
push 0x92c
push 0x588a88
push str.tempmem_size_in_bytes___memory_required
call fcn.00507981
add esp, 0xc
mov edx, dword [ebp + 0x38]
cmp edx, dword [ebp - 0xc]
jae 0x4b8501
xor eax, eax
jmp 0x4b8897
mov eax, dword [ebp + 0x38]
push eax
push 0
mov ecx, dword [ebp + 0x34]
push ecx
call fcn.004fdef0
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
mov dword [ecx + 0x44], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x48], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x24]
mov dword [edx + 0x4c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x28]
mov dword [ecx + 0x58], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x2c]
mov dword [eax + 0x5c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x30]
mov dword [edx + 0x60], eax
mov ecx, dword [ebp + 8]
push ecx
movss xmm0, dword [ecx + 0x38]
movss dword [esp], xmm0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x50]
push eax
call fcn.004b6360
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], eax
mov edx, dword [ebp + 8]
push ecx
movss xmm0, dword [edx + 0x3c]
movss dword [esp], xmm0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x54]
push ecx
call fcn.004b6360
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x84], eax
mov eax, dword [ebp + 8]
push ecx
movss xmm0, dword [eax + 0x38]
movss dword [esp], xmm0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x50]
push edx
call fcn.004b64c0
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x88], eax
mov edx, dword [ebp + 8]
push ecx
movss xmm0, dword [edx + 0x3c]
movss dword [esp], xmm0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x54]
push ecx
call fcn.004b64c0
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x8c], eax
mov eax, dword [ebp + 8]
push ecx
movss xmm0, dword [eax + 0x38]
movss dword [esp], xmm0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x50]
push edx
call fcn.004b6490
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x90], eax
mov edx, dword [ebp + 8]
push ecx
movss xmm0, dword [edx + 0x3c]
movss dword [esp], xmm0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x54]
push ecx
call fcn.004b6490
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x94], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x14]
imul edx, dword [ecx + 0x40]
shl edx, 2
mov eax, dword [ebp + 8]
mov dword [eax + 0xa0], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
lea edx, [ecx + edx*2]
mov eax, dword [ebp + 8]
mov dword [eax + 0x74], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x34]
mov dword [ecx + 0x64], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xbc]
mov eax, dword [ebp + 8]
mov dword [eax + 0x68], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xc0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6c], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6c]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0xc4]
mov edx, dword [ebp + 8]
mov dword [edx + 0x70], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xc8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x78], ecx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b8ab0
add esp, 4
test eax, eax
je 0x4b8760
mov edx, dword [ebp + 8]
mov dword [edx + 0x7c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xcc]
mov eax, dword [ebp + 8]
mov dword [eax + 0xb4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb4]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xd4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xb8], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb8]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0xd8]
mov edx, dword [ebp + 0x34]
add edx, dword [ebp + 0x38]
cmp eax, edx
je 0x4b875e
push 0x958
push 0x588b58
push str._size_t__unsigned_char____unsigned_char_info__encode_buffer___info__encode_buffer_size____size_t_tempmem__tempmem_size_in_bytes
call fcn.00507981
add esp, 0xc
jmp 0x4b87cd
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xcc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x7c], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0xd0]
mov edx, dword [ebp + 8]
mov dword [edx + 0xb4], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0xb8], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb4]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xd4]
mov ecx, dword [ebp + 0x34]
add ecx, dword [ebp + 0x38]
cmp edx, ecx
je 0x4b87cd
push 0x960
push str.D:projectsin_workmacro_sharedutils_stb_image_resize.h
push str._size_t__unsigned_char____unsigned_char_info__ring_buffer___info__ring_buffer_size____size_t_tempmem__tempmem_size_in_bytes
call fcn.00507981
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0xb0], 0xffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push ecx
movss xmm0, dword [edx + 0x30]
movss dword [esp], xmm0
mov eax, dword [ebp + 8]
push ecx
movss xmm0, dword [eax + 0x38]
movss dword [esp], xmm0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x50]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
push eax
call fcn.004b4730
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 8]
push ecx
movss xmm0, dword [edx + 0x34]
movss dword [esp], xmm0
mov eax, dword [ebp + 8]
push ecx
movss xmm0, dword [eax + 0x3c]
movss dword [esp], xmm0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6c]
push eax
call fcn.004b4730
add esp, 0x1c
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b8ab0
add esp, 4
test eax, eax
je 0x4b8886
mov edx, dword [ebp + 8]
push edx
call fcn.004b4050
add esp, 4
jmp 0x4b8892
mov eax, dword [ebp + 8]
push eax
call fcn.004b3e80
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret