Function at 0x440dd0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x4fe490]
lea edx, [ebp - 0xac]
push ebx
mov dword [ebp - 0xb0], 0
push esi
mov eax, dword [eax*4 + 0x4fe498]
mov esi, dword [ebp + 8]
push edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [0x4fe45c]
lea edx, [ebp - 0xcc]
push edx
lea edx, [ebp - 0xdc]
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0xd0]
push edx
lea edx, [ebp - 0x74]
push edx
push 0
push 0
push 1
push 0
lea edx, [ebp - 0xac]
push edx
push eax
call dword [ecx + 0x98]
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xb0]
mov ecx, dword [ebp - 0xc8]
xorps xmm0, xmm0
push edx
push 0x4f0388
push 0
push 0x400
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x54]
mov eax, dword [0x4fe45c]
push edx
push 0
mov dword [ebp - 0x1c], 3
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 1
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 0x10001
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x6c]
test eax, eax
je 0x440f11
push str.Create_UploadResource_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 4
movups xmm0, xmmword [ebp - 0x74]
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0x12c]
mov dword [ebp - 0x104], eax
mov eax, dword [0x4fe490]
movups xmmword [ebp - 0xfc], xmm0
push 0
movups xmm0, xmmword [ebp - 0x64]
push edx
mov dword [ebp - 0x100], 1
lea edx, [ebp - 0x104]
movups xmmword [ebp - 0xec], xmm0
mov eax, dword [eax*4 + 0x4fe498]
push 0
mov dword [ebp - 0x12c], eax
mov eax, dword [0x4fe4d8]
push 0
push 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
mov eax, dword [0x4fe4d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [0x4fe4d8]
lea edx, [ebp - 0xb4]
mov dword [ebp - 0xb4], eax
mov eax, dword [0x4fe4d4]
push edx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, 0x4fe4d0
call fcn.00441360
mov eax, dword [esi + 0x408]
test eax, eax
je 0x440fda
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [esi + 0x408], 0
xor eax, eax
push 0x400
push eax
mov dword [esi + 2], eax
lea eax, [esi + 6]
push eax
call fcn.0047ebc0
mov byte [esi], 0x20
lea edx, [ebp - 0xbc]
movzx eax, word [0x4fe454]
add esp, 0xc
mov word [esi + 2], ax
movzx eax, word [0x4fe456]
mov word [esi + 4], ax
mov eax, dword [ebp - 0xb0]
push edx
push 0
mov dword [ebp - 0xbc], 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x441184
movzx edi, word [esi + 4]
movzx eax, word [0x4fe454]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
imul edi, eax
push 4
push 0x3000
shl edi, 2
push edi
push 0
call ebx
mov dword [esi + 0x408], eax
test eax, eax
je 0x441070
push edi
push dword [ebp - 0xbc]
push eax
call fcn.004803e0
add esp, 0xc
mov eax, dword [ebp - 0xb0]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [esi + 0x408], 0
je 0x441184
cmp byte [esi], 0x20
jb 0x441184
movzx eax, word [esi + 2]
movzx ecx, word [esi + 4]
imul ecx, eax
push 4
push 0x3000
lea eax, [ecx + ecx*2]
push eax
push 0
call ebx
mov edi, eax
mov dword [ebp - 0xb8], edi
test edi, edi
je 0x441184
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xb4], ebx
cmp ax, word [esi + 4]
jae 0x441163
xor eax, eax
xor edi, edi
cmp ax, word [esi + 2]
jae 0x44114c
movzx eax, bx
mov dword [ebp - 0xc0], eax
mov ebx, eax
nop dword [eax]
movzx ecx, word [esi + 2]
imul ecx, ebx
mov ebx, dword [ebp - 0xb8]
movzx eax, di
inc edi
add eax, ecx
lea ecx, [eax + eax*2]
lea edx, [eax*4]
mov eax, dword [esi + 0x408]
movzx eax, byte [edx + eax]
mov byte [ecx + ebx], al
mov eax, dword [esi + 0x408]
movzx eax, byte [eax + edx + 1]
mov byte [ecx + ebx + 1], al
mov eax, dword [esi + 0x408]
movzx eax, byte [eax + edx + 2]
mov edx, ebx
mov ebx, dword [ebp - 0xc0]
mov byte [ecx + edx + 2], al
cmp di, word [esi + 2]
jb 0x4410f0
mov ebx, dword [ebp - 0xb4]
inc ebx
mov dword [ebp - 0xb4], ebx
cmp bx, word [esi + 4]
jb 0x4410d4
mov edi, dword [ebp - 0xb8]
mov eax, dword [esi + 0x408]
test eax, eax
je 0x44117b
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [esi + 0x408], edi
mov byte [esi], 0x18
mov ecx, dword [ebp - 0xb0]
test ecx, ecx
je 0x441194
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d312
mov esp, ebp
pop ebp
ret 4