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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x5b3074]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
test edi, edi
jne 0x471909
mov eax, 0x80004005
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00510219
mov esp, ebp
pop ebp
ret 4
push str.DrawType
lea ecx, [esp + 0x18]
call fcn.00424e00
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00439d60
mov esi, eax
cmp esi, dword [edi]
je 0x471945
mov eax, dword [esi + 0x10]
test eax, eax
je 0x471fe6
push eax
push dword [esp + 0x18]
call fcn.00541320
add esp, 8
test eax, eax
jns 0x471947
mov esi, dword [edi]
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471982
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x471ff0
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, dword [edi]
je 0x471998
push dword [esi + 0x14]
call fcn.005203c5
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [ecx + 0x58], eax
push str.File
lea ecx, [esp + 0x18]
call fcn.00424e00
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00439d60
mov esi, eax
cmp esi, dword [edi]
je 0x4719d4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x471ffb
push eax
push dword [esp + 0x18]
call fcn.00541320
add esp, 8
test eax, eax
jns 0x4719d6
mov esi, dword [edi]
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471a11
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x472005
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, dword [edi]
je 0x471a23
mov ecx, dword [esp + 0x1c]
push 0
push dword [esi + 0x14]
call fcn.0046e840
push str.CutRect
lea ecx, [esp + 0x18]
call fcn.00424e00
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00439d60
mov esi, eax
cmp esi, dword [edi]
je 0x471a5f
mov eax, dword [esi + 0x10]
test eax, eax
je 0x472010
push eax
push dword [esp + 0x18]
call fcn.00541320
add esp, 8
test eax, eax
jns 0x471a61
mov esi, dword [edi]
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471a9c
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x47201a
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, dword [edi]
je 0x471b0a
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
push str._d__d__d__d
push dword [esi + 0x14]
call fcn.0043bd40
add esp, 0x18
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 0x54]
cmp edx, 0x64
jle 0x471ae9
lea ecx, [esp + 0x20]
call fcn.004424a0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [esi + 0x5c], xmm0
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x68]
sub ecx, dword [esi + 0x5c]
sub eax, dword [esi + 0x60]
mov dword [esi + 0x98], ecx
mov dword [esi + 0x9c], eax
push str.TileRect
lea ecx, [esp + 0x18]
call fcn.00424e00
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00439d60
mov esi, eax
cmp esi, dword [edi]
je 0x471b46
mov eax, dword [esi + 0x10]
test eax, eax
je 0x472025
push eax
push dword [esp + 0x18]
call fcn.00541320
add esp, 8
test eax, eax
jns 0x471b48
mov esi, dword [edi]
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471b83
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x47202f
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, dword [edi]
je 0x471bde
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
push str._d__d__d__d
push dword [esi + 0x14]
call fcn.0043bd40
add esp, 0x18
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x1c]
movups xmm0, xmmword [esp + 0x20]
movups xmmword [eax + 0x6c], xmm0
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x74], ecx
jge 0x471bd3
mov dword [eax + 0x74], ecx
mov ecx, dword [eax + 0x70]
cmp dword [eax + 0x78], ecx
jge 0x471bde
mov dword [eax + 0x78], ecx
push str.TileRect2
lea ecx, [esp + 0x18]
call fcn.00424e00
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00439d60
mov esi, eax
cmp esi, dword [edi]
je 0x471c1a
mov eax, dword [esi + 0x10]
test eax, eax
je 0x47203a
push eax
push dword [esp + 0x18]
call fcn.00541320
add esp, 8
test eax, eax
jns 0x471c1c
mov esi, dword [edi]
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471c57
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x472044
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, dword [edi]
je 0x471cc1
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
push str._d__d__d__d
push dword [esi + 0x14]
call fcn.0043bd40
add esp, 0x18
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x1c]
movups xmm0, xmmword [esp + 0x20]
movups xmmword [eax + 0x7c], xmm0
mov ecx, dword [eax + 0x7c]
cmp dword [eax + 0x84], ecx
jge 0x471cad
mov dword [eax + 0x84], ecx
mov ecx, dword [eax + 0x80]
cmp dword [eax + 0x88], ecx
jge 0x471cc1
mov dword [eax + 0x88], ecx
push str.Scale
lea ecx, [esp + 0x18]
call fcn.00424e00
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00439d60
mov esi, eax
cmp esi, dword [edi]
je 0x471cfd
mov eax, dword [esi + 0x10]
test eax, eax
je 0x47204f
push eax
push dword [esp + 0x18]
call fcn.00541320
add esp, 8
test eax, eax
jns 0x471cff
mov esi, dword [edi]
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471d3a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x472059
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, dword [edi]
je 0x471d87
mov eax, dword [esi + 0x14]
mov ecx, 0x58d5e8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x471d6c
test dx, dx
je 0x471d68
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x471d6c
add eax, 4
add ecx, 4
test dx, dx
jne 0x471d46
xor eax, eax
jmp 0x471d71
sbb eax, eax
or eax, 1
test eax, eax
mov ecx, 0
mov eax, 1
cmove ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x50], ecx
push str.TransparentDirect
lea ecx, [esp + 0x18]
call fcn.00424e00
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00439d60
mov esi, eax
cmp esi, dword [edi]
je 0x471dc3
mov eax, dword [esi + 0x10]
test eax, eax
je 0x472064
push eax
push dword [esp + 0x18]
call fcn.00541320
add esp, 8
test eax, eax
jns 0x471dc5
mov esi, dword [edi]
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471e00
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x47206e
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, dword [edi]
je 0x471e54
mov eax, dword [esi + 0x14]
mov ecx, 0x58d5e8
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x471e36
test dx, dx
je 0x471e32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x471e36
add eax, 4
add ecx, 4
test dx, dx
jne 0x471e10
xor eax, eax
jmp 0x471e3b
sbb eax, eax
or eax, 1
test eax, eax
mov ecx, 0
mov eax, 1
cmove ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x8c], ecx
push str.ImageType
lea ecx, [esp + 0x18]
call fcn.00424e00
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00439d60
mov esi, eax
cmp esi, dword [edi]
je 0x471e90
mov eax, dword [esi + 0x10]
test eax, eax
je 0x472079
push eax
push dword [esp + 0x18]
call fcn.00541320
add esp, 8
test eax, eax
jns 0x471e92
mov esi, dword [edi]
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471ecd
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x472083
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, dword [edi]
je 0x471f18
mov ecx, dword [esi + 0x14]
sub ecx, 0x10
call fcn.00408e8d
mov edx, dword [esi + 0x18]
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
test edx, edx
je 0x471efc
mov ecx, dword [edx]
push edx
call dword [ecx + 4]
mov eax, dword [esp + 0x18]
push eax
call fcn.005203c5
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [ecx + 0xa0], eax
lea ecx, [esp + 0x3c]
call fcn.0043da00
push str.Offset
lea ecx, [esp + 0x18]
call fcn.00424e00
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00439d60
mov esi, eax
cmp esi, dword [edi]
je 0x471f54
mov eax, dword [esi + 0x10]
test eax, eax
je 0x47208e
push eax
push dword [esp + 0x18]
call fcn.00541320
add esp, 8
test eax, eax
jns 0x471f56
mov esi, dword [edi]
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471f91
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x472098
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, dword [edi]
je 0x471fc9
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x40]
push eax
push str._d__d
push dword [esi + 0x14]
call fcn.0043bd40
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xa8], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 0xac], eax
jmp 0x471fcd
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00442ae0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.00510219
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040b4a2
mov ecx, edx
call dword [esp + 0x1c]
jmp 0x471982
push 0x80004005
call fcn.0040b4a2
mov ecx, edx
call dword [esp + 0x1c]
jmp 0x471a11
push 0x80004005
call fcn.0040b4a2
mov ecx, edx
call dword [esp + 0x1c]
jmp 0x471a9c
push 0x80004005
call fcn.0040b4a2
mov ecx, edx
call dword [esp + 0x1c]
jmp 0x471b83
push 0x80004005
call fcn.0040b4a2
mov ecx, edx
call dword [esp + 0x1c]
jmp 0x471c57
push 0x80004005
call fcn.0040b4a2
mov ecx, edx
call dword [esp + 0x1c]
jmp 0x471d3a
push 0x80004005
call fcn.0040b4a2
mov ecx, edx
call dword [esp + 0x1c]
jmp 0x471e00
push 0x80004005
call fcn.0040b4a2
mov ecx, edx
call dword [esp + 0x1c]
jmp 0x471ecd
push 0x80004005
call fcn.0040b4a2
mov ecx, edx
call dword [esp + 0x1c]
jmp 0x471f91