Function at 0x43bb30
Capabilities:
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp byte [edx + 0x21], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], edi
je 0x43bbff
movzx ecx, word [edi + 2]
movzx eax, word [edi + 4]
mov edx, dword [edx + 4]
mov dword [esp + 0xcc], eax
imul eax, ecx
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
shl eax, 2
push eax
lea eax, [ecx*4]
mov dword [esp + 0xd4], 1
mov esi, dword [edx]
push eax
push dword [edi + 0x408]
lea eax, [esp + 0xc8]
push eax
push 0
push edx
call dword [esi + 0x30]
test eax, eax
je 0x43c15f
push str.WriteToSubresource_Failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edx + 0x14]
cmp eax, 0x1c
je 0x43bc1a
cmp eax, 0x1d
je 0x43bc1a
cmp eax, 0x57
je 0x43bc1a
cmp eax, 0x58
jne 0x43bd3f
movzx eax, word [edx + 8]
xorps xmm0, xmm0
cdq
mov esi, eax
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x38]
mov ecx, edx
mov dword [esp + 0xd4], 2
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0
movzx eax, word [eax + 0xa]
cdq
push edx
push eax
push ecx
push esi
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
movlpd qword [esp + 0xfc], xmm0
mov dword [esp + 0x104], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0xf8], 1
call fcn.004c0420
mov ecx, dword [esp + 0x4c]
shld edx, eax, 2
xor edx, edx
mov dword [esp + 0x100], 1
mov dword [esp + 0xfc], edx
mov dword [esp + 0x108], edx
mov dword [esp + 0x110], edx
mov dword [esp + 0x118], edx
lea edx, [esp + 0x34]
push edx
push 0x4f0388
push 0
shl eax, 2
lea edx, [esp + 0xf4]
push 0xac3
and eax, 0xffffff00
mov dword [esp + 0x114], 0x10001
push edx
add eax, 0x100
mov dword [esp + 0x120], 1
push 0
mov dword [esp + 0x110], eax
lea edx, [esp + 0xec]
mov eax, dword [ecx]
push edx
push ecx
mov dword [esp + 0x134], 1
call dword [eax + 0x6c]
test eax, eax
je 0x43bd57
push str.Create_UploadResource_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x44]
push edx
push 0
mov dword [esp + 0x4c], 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x43bfc6
mov ecx, dword [esp + 0x44]
mov eax, dword [edi + 0x408]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
movzx edi, word [ecx + 8]
mov ecx, edi
shl ecx, 2
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x3c]
mov dl, byte [ecx]
movzx esi, word [ecx + 2]
mov ecx, edi
mov byte [esp + 0x1f], dl
movzx edx, dl
shr edx, 3
imul edx, esi
cmp si, di
mov dword [esp + 0x30], edx
mov edx, esi
cmovae edx, ecx
movzx ecx, dx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x3c]
movzx esi, word [ecx + 4]
mov ecx, dword [esp + 0x38]
mov edi, esi
movzx edx, word [ecx + 0xa]
cmp si, dx
mov ecx, edx
mov dl, byte [esp + 0x1f]
cmovae edi, ecx
movzx ecx, di
cmp dl, 8
jne 0x43bea1
xor edx, edx
cmp dx, cx
jae 0x43bfb8
mov edx, dword [esp + 0x28]
xor esi, esi
mov edi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
nop
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], ecx
cmp cx, dx
jae 0x43be7f
mov edi, dword [esp + 0x3c]
movzx ecx, cx
lea edx, [esi + ecx*4]
lea esi, [ecx + eax]
mov eax, dword [esp + 0x24]
movzx ecx, byte [esi]
movzx ecx, byte [edi + ecx*4 + 8]
mov byte [edx + eax], cl
movzx ecx, byte [esi]
movzx ecx, byte [edi + ecx*4 + 7]
mov byte [edx + eax + 1], cl
movzx ecx, byte [esi]
movzx ecx, byte [edi + ecx*4 + 6]
mov byte [edx + eax + 2], cl
movzx ecx, byte [esi]
mov esi, eax
mov eax, dword [esp + 0x2c]
movzx ecx, byte [edi + ecx*4 + 9]
mov byte [edx + esi + 3], cl
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
inc ecx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
cmp cx, dx
jb 0x43be23
mov edi, dword [esp + 0x18]
add eax, dword [esp + 0x30]
add esi, dword [esp + 0x40]
sub edi, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
jne 0x43be10
jmp 0x43bfb8
cmp dl, 0x18
jne 0x43bf2c
xor edx, edx
cmp dx, cx
jae 0x43bfb8
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
xor edi, edi
mov dword [esp + 0x20], edi
cmp di, cx
jae 0x43bf12
movzx ecx, di
inc edi
lea esi, [ecx + ecx*2]
add esi, eax
lea edx, [edx + ecx*4]
mov eax, dword [esp + 0x24]
movzx ecx, byte [esi]
mov byte [edx + eax], cl
movzx ecx, byte [esi + 1]
mov byte [edx + eax + 1], cl
movzx ecx, byte [esi + 2]
mov esi, eax
mov eax, dword [esp + 0x2c]
mov byte [edx + esi + 2], cl
mov ecx, dword [esp + 0x28]
mov byte [edx + esi + 3], 0xff
mov edx, dword [esp + 0x14]
cmp di, cx
jb 0x43bed0
mov esi, dword [esp + 0x30]
add edx, dword [esp + 0x40]
add eax, esi
sub dword [esp + 0x18], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], edx
jne 0x43bec5
jmp 0x43bfb8
cmp dl, 0x20
jne 0x43bfb8
xor edx, edx
cmp dx, cx
jae 0x43bfb8
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
nop dword [eax]
xor edi, edi
mov dword [esp + 0x20], edi
cmp di, cx
jae 0x43bfa3
nop dword [eax + eax]
movzx ecx, di
inc edi
lea esi, [eax + ecx*4]
mov eax, dword [esp + 0x24]
lea edx, [edx + ecx*4]
movzx ecx, byte [esi]
mov byte [edx + eax], cl
movzx ecx, byte [esi + 1]
mov byte [edx + eax + 1], cl
movzx ecx, byte [esi + 2]
mov byte [edx + eax + 2], cl
movzx ecx, byte [esi + 3]
mov esi, eax
mov eax, dword [esp + 0x2c]
mov byte [edx + esi + 3], cl
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp di, cx
jb 0x43bf60
mov esi, dword [esp + 0x30]
add edx, dword [esp + 0x40]
add eax, esi
sub dword [esp + 0x18], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], edx
jne 0x43bf50
mov eax, dword [esp + 0x34]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x140]
push edx
mov eax, dword [esi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x80]
push edx
lea edx, [esp + 0x8c]
xorps xmm0, xmm0
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x84]
push edx
lea edx, [esp + 0x12c]
movaps xmmword [esp + 0x12c], xmm0
push edx
push 0
push 0
push 1
push 0
lea edx, [esp + 0x160]
movaps xmmword [esp + 0x150], xmm0
push edx
push ecx
call dword [eax + 0x98]
movups xmm0, xmmword [esp + 0x120]
movzx ecx, word [esi + 8]
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x34]
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x50], eax
movups xmm0, xmmword [esp + 0x130]
movzx eax, word [esi + 0xa]
push 0
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x6c], eax
lea eax, [ecx*4]
mov dword [esp + 0x74], eax
xorps xmm0, xmm0
mov eax, dword [esi + 0x14]
push edx
mov dword [esp + 0x68], eax
lea edx, [esp + 0x98]
mov eax, dword [esi + 4]
push 0
mov dword [esp + 0x9c], eax
mov eax, dword [0x4fe500]
push 0
push 0
mov dword [esp + 0x68], 1
movlpd qword [esp + 0x6c], xmm0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], 1
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
mov eax, dword [esi + 4]
lea edx, [esp + 0xbc]
mov dword [esp + 0xc4], eax
mov eax, dword [0x4fe500]
push edx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xcc], 0xffffffff
mov dword [esp + 0xd0], 0x400
mov dword [esp + 0xd4], 0x80
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x68]
mov eax, dword [0x4fe500]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [0x4fe500]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x20]
mov eax, dword [0x4fe4fc]
push edx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, 0x4fe4f8
call fcn.00441360
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x43c15f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x17c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 8