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

Disassembly:
push 0xffffffffffffffff
push 0x1006672b
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100a501c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x24]
push eax
push ecx
push edx
call sym.DTLUI.dll_protected:_static_unsigned_char____cdecl_DuiLib::CRenderEngine::LoadFile_class_DuiLib::STRINGorID__wchar_t_const___unsigned_long_int__
mov ebx, eax
xor ebp, ebp
add esp, 0xc
cmp ebx, ebp
jne 0x1003448c
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
push 0x14
mov dword [esp + 0x20], ebp
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], ebp
cmp eax, ebp
je 0x100344b3
mov ecx, eax
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CGifHandler::constructor_void_
mov dword [esp + 0x20], eax
jmp 0x100344b7
mov dword [esp + 0x20], ebp
mov dword [esp + 0x70], 0xffffffff
mov ecx, dword [esp + 0x24]
push ebx
lea edi, [esp + 0x3c]
lea esi, [esp + 0x20]
call fcn.10014fd0
mov edi, eax
push ebx
mov dword [esp + 0x40], edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x24]
add esp, 8
cmp eax, ebp
jle 0x10034700
add edi, 8
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
mov eax, dword [edi - 8]
mov esi, dword [edi - 4]
mov ebp, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x10034522
push eax
call dword [sym.imp.MSVCR90.dll_free]
jmp 0x100346e7
push 0x2c
lea edx, [esp + 0x40]
push 0
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
mov edi, ebp
mov ecx, 1
imul edi, esi
push 0
mov word [esp + 0x50], cx
lea ecx, [esp + 0x1c]
push ecx
mov edx, 0x20
mov eax, ebp
neg eax
mov word [esp + 0x56], dx
push 0
lea edx, [esp + 0x4c]
mov dword [esp + 0x54], eax
push edx
lea eax, [edi*4]
push 0
mov dword [esp + 0x54], 0x28
mov dword [esp + 0x58], esi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], eax
xor bl, bl
mov dword [esp + 0x2c], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x100345a7
mov eax, dword [esp + 0x18]
push eax
jmp 0x100346dd
xor ecx, ecx
test edi, edi
jle 0x1003468d
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add esi, 3
lea esp, [esp]
mov dl, byte [esi]
mov byte [eax + ecx*4 + 3], dl
mov ebp, dword [esp + 0x14]
cmp byte [ebp + ecx*4 + 3], 0xff
jae 0x10034625
movzx eax, byte [esi]
movzx edx, byte [esi - 1]
imul edx, eax
mov eax, 0x80808081
mul edx
shr edx, 7
mov byte [ebp + ecx*4], dl
movzx eax, byte [esi]
movzx edx, byte [esi - 2]
imul edx, eax
mov eax, 0x80808081
mul edx
mov eax, dword [esp + 0x14]
shr edx, 7
mov byte [eax + ecx*4 + 1], dl
movzx eax, byte [esi]
movzx edx, byte [esi - 3]
imul edx, eax
mov eax, 0x80808081
mul edx
mov eax, dword [esp + 0x14]
shr edx, 7
mov byte [eax + ecx*4 + 2], dl
mov bl, 1
jmp 0x10034644
mov dl, byte [esi - 1]
mov byte [ebp + ecx*4], dl
movzx eax, byte [esi - 2]
mov edx, dword [esp + 0x14]
mov byte [edx + ecx*4 + 1], al
movzx eax, byte [esi - 3]
mov edx, dword [esp + 0x14]
mov byte [edx + ecx*4 + 2], al
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x80]
cmp dword [eax + ecx*4], edx
jne 0x10034679
mov byte [eax + ecx*4], 0
mov eax, dword [esp + 0x14]
mov byte [eax + ecx*4 + 1], 0
mov edx, dword [esp + 0x14]
mov byte [edx + ecx*4 + 2], 0
mov eax, dword [esp + 0x14]
mov byte [eax + ecx*4 + 3], 0
mov eax, dword [esp + 0x14]
mov bl, 1
inc ecx
add esi, 4
cmp ecx, edi
jl 0x100345c0
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
push 0x9c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x100346ab
lea ecx, [eax + 0x18]
xor edx, edx
mov dword [eax + 0x14], ecx
mov word [ecx], dx
jmp 0x100346ad
xor eax, eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], esi
mov dword [eax + 8], ebp
mov dword [eax + 0xc], edx
mov byte [eax + 0x10], bl
mov edi, dword [ecx + 4]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
call fcn.10018740
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.MSVCR90.dll_free]
mov edi, dword [esp + 0x20]
add edi, 0x10
add esp, 4
sub dword [esp + 0x24], 1
mov dword [esp + 0x1c], edi
jne 0x100344f7
mov edi, dword [esp + 0x38]
push edi
call dword [sym.imp.MSVCR90.dll_free]
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret