Function at 0x10001db0
Capabilities:
Enumerate pe sections
Print debug messages

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x43c]
mov edx, dword [eax + 0x440]
push edi
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi]
mov ecx, dword [eax + 0x430]
test ecx, ecx
je 0x10002212
push 0x3c
xor ebp, ebp
lea edx, [esp + 0x2c]
push ebp
push edx
call fcn.10009580
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
cmp eax, ebp
jl 0x10002244
mov ecx, dword [esi]
mov edx, dword [ecx + 0x430]
mov eax, dword [esi]
mov ecx, dword [eax + 0x430]
cmp ecx, dword [esi + 0x2c]
mov dword [esp + 0x1c], edx
jle 0x10001e8a
cmp dword [esi + 0x30], ebp
jne 0x10001e41
mov edx, dword [esi]
mov eax, dword [edx + 0x430]
add eax, eax
add eax, eax
add eax, eax
push eax
call fcn.1000623c
add esp, 4
jmp 0x10001e5c
mov ecx, dword [esi]
mov edx, dword [ecx + 0x430]
mov eax, dword [esi + 0x30]
add edx, edx
add edx, edx
add edx, edx
push edx
push eax
call fcn.10006306
add esp, 8
mov ecx, dword [esi]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x2c]
mov edx, dword [ecx + 0x430]
cmp eax, edx
jge 0x10001e8a
mov edi, edi
mov ecx, dword [esi + 0x30]
mov dword [ecx + eax*8], ebp
mov edx, dword [esi + 0x30]
mov dword [edx + eax*8 + 4], ebp
mov ecx, dword [esi]
mov edx, dword [ecx + 0x430]
inc eax
cmp eax, edx
jl 0x10001e70
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x18], edi
jle 0x1000220f
xor ebx, ebx
mov edi, edi
mov ecx, dword [esi + 0x34]
mov eax, dword [ebx + ecx]
or eax, dword [ebx + ecx + 4]
je 0x100021c3
mov eax, dword [esi + 0x34]
mov ecx, dword [ebx + eax + 0x14]
test ecx, ecx
jne 0x10001ec7
mov edx, dword [esi + 0x30]
cmp dword [edx + edi*8], ebp
jne 0x100021fb
mov eax, dword [esi + 0x30]
add edi, edi
add edi, edi
add edi, edi
mov ecx, dword [eax + edi]
add eax, edi
cmp ecx, ebp
je 0x10001ee9
mov edx, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [ecx + 8]
push edx
call eax
mov ecx, dword [esi + 0x30]
mov dword [edi + ecx], ebp
mov edx, dword [esi + 0x30]
mov eax, dword [edi + edx + 4]
cmp eax, ebp
je 0x10001f04
push eax
call fcn.10006521
mov eax, dword [esi + 0x30]
add esp, 4
mov dword [edi + eax + 4], ebp
mov edx, dword [esi + 0x34]
mov eax, dword [ebx + edx + 0x10]
push ebp
lea ecx, [esp + 0x18]
push ecx
push ebp
push ebp
push eax
mov eax, dword [esi + 0x34]
mov ecx, dword [ebx + eax]
mov edx, dword [ebx + eax + 4]
mov eax, dword [esi + 0x98]
push ecx
push eax
call sub.d3dx11_43.dll_D3DX11CreateTextureFromMemory
mov ebp, eax
test ebp, ebp
jl 0x1000224c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0x10016db0
push eax
mov eax, dword [ecx]
call eax
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x98]
mov ecx, dword [eax]
add edx, edi
push edx
mov edx, dword [esp + 0x18]
push 0
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x10002244
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esi + 0x34]
mov eax, dword [ebx + ecx + 8]
or eax, dword [ebx + ecx + 0xc]
je 0x100021b0
fldz
push 0x308
fstp dword [esp + 0x14]
call fcn.1000623c
mov ecx, dword [esi + 0x30]
mov dword [edi + ecx + 4], eax
mov eax, dword [esi + 0x34]
mov ecx, dword [ebx + eax + 8]
mov edx, dword [ebx + eax + 0xc]
movzx eax, word [ecx]
mov edx, dword [esi + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [edi + edx + 4]
add esp, 4
fild dword [esp + 0x24]
fstp dword [eax]
xor eax, eax
add ecx, 4
mov edx, dword [esi + 0x30]
fld dword [esp + 0x10]
mov edx, dword [edi + edx + 4]
fst dword [edx + eax + 8]
movzx edx, word [ecx - 2]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
fstp dword [edx + eax + 0xc]
movzx edx, word [ecx - 2]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [edx + eax + 0x10]
movzx edx, word [ecx]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
fstp dword [edx + eax + 0x14]
movzx edx, word [ecx]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [eax + edx + 0x18]
movzx edx, word [ecx + 2]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
fstp dword [edx + eax + 0x1c]
movzx edx, word [ecx + 2]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [edx + eax + 0x20]
movzx edx, word [ecx + 4]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
fstp dword [edx + eax + 0x24]
movzx edx, word [ecx + 4]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [edx + eax + 0x28]
movzx edx, word [ecx + 6]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
fstp dword [edx + eax + 0x2c]
movzx edx, word [ecx + 6]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [edx + eax + 0x30]
movzx edx, word [ecx + 8]
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
add eax, 0x40
fstp dword [edx + eax - 0xc]
movzx edx, word [ecx + 8]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
add ecx, 0x10
cmp eax, 0x300
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [edx + eax - 8]
movzx edx, word [ecx - 6]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
fstp dword [edx + eax - 4]
movzx edx, word [ecx - 6]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [edx + eax]
movzx edx, word [ecx - 4]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x30]
mov edx, dword [edi + edx + 4]
fild dword [esp + 0x24]
fstp dword [edx + eax + 4]
movzx edx, word [ecx - 4]
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0x10]
jl 0x10001fd4
mov eax, dword [esi + 0x30]
fld dword [esp + 0x10]
mov ecx, dword [edi + eax + 4]
fstp dword [ecx + 4]
mov edx, dword [esi + 0x34]
mov edi, dword [esp + 0x18]
mov dword [ebx + edx + 0x14], 0
xor ebp, ebp
jmp 0x100021fb
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + edi*8]
lea eax, [eax + edi*8]
cmp ecx, ebp
je 0x100021e0
mov edx, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [ecx + 8]
push edx
call eax
mov ecx, dword [esi + 0x30]
mov dword [ecx + edi*8], ebp
mov edx, dword [esi + 0x30]
mov eax, dword [edx + edi*8 + 4]
cmp eax, ebp
je 0x100021fb
push eax
call fcn.10006521
mov eax, dword [esi + 0x30]
add esp, 4
mov dword [eax + edi*8 + 4], ebp
mov eax, dword [esp + 0x1c]
inc edi
add ebx, 0x18
cmp edi, eax
mov dword [esp + 0x18], edi
jl 0x10001ea0
mov dword [esi + 0x2c], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x42c]
test edx, edx
je 0x1000222a
mov ecx, dword [esi]
xor eax, eax
add ecx, 0x42c
xchg dword [ecx], eax
mov esi, dword [esi]
mov edx, dword [esi + 0x43c]
mov eax, dword [esi + 0x440]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push str.Failure_creating_a_texture
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x54
ret