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

Disassembly:
add esp, 4
pop eax
push edx
and edx, 0xa46
pop edx
cmp dword [ebp - 0x1614], 0
jne 0x100c9514
mov dword [ebp - 0x2fc], 0
jmp 0x100c97bb
mov ecx, dword [ebp - 0x1614]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcc4], eax
push edi
push eax
add esp, 4
add edi, 0x179b7
pop edi
push esi
push eax
add esp, 4
and esi, 0xd0be
and esi, 0x12d13
pop esi
push ecx
push edi
add esp, 4
sub ecx, 0x147bd
pop ecx
push ecx
add ecx, 0x3ad6
pop ecx
cmp dword [ebp - 0xcc4], 0
jne 0x100c9570
mov dword [ebp - 0x2fc], 0
jmp 0x100c97bb
mov ecx, dword [ebp - 0xcc4]
mov dword [ebp - 0x514], ecx
push edi
push ebx
add esp, 4
add edi, 0xcf92
or edi, 0x16ace
add edi, 0x13d25
pop edi
push eax
jmp 0x100c959b
and eax, 0x27c6
or eax, 0x12afd
and eax, 0x373
pop eax
lea edx, [ebp - 0x1738]
mov dword [ebp - 0xcc0], edx
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcbc], ecx
xor edx, edx
mov word [ebp - 0x21c], dx
xor eax, eax
mov word [ebp - 0x38], ax
push ecx
push ecx
add esp, 4
and ecx, 0x9d8b
jmp 0x100c95e9
xor ecx, 0x419
pop ecx
push edx
sub edx, 0x17a02
add edx, 0x8025
jmp 0x100c9603
sub edx, 0x1691f
pop edx
mov ecx, dword [ebp - 0xcbc]
mov dx, word [ecx]
mov word [ebp - 0x103e], dx
mov eax, dword [ebp - 0xcbc]
add eax, 2
mov dword [ebp - 0xcbc], eax
mov cx, word [ebp - 0x103e]
mov word [ebp - 0x21c], cx
mov edx, dword [ebp - 0xcc0]
mov ax, word [edx]
mov word [ebp - 0x1040], ax
mov ecx, dword [ebp - 0xcc0]
add ecx, 2
mov dword [ebp - 0xcc0], ecx
mov dx, word [ebp - 0x1040]
mov word [ebp - 0x38], dx
push ebx
push eax
add esp, 4
jmp 0x100c966d
pop ebx
push esi
push eax
add esp, 4
xor esi, 0x13113
add esi, 0x28bd
call 0x100c968f
add byte [edi + 0x44], cl
dec edx
dec edi
aaa
xor eax, 0xc483483e
add al, 0x5e
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x100c96b0
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x161c], ecx
jmp 0x100c970a
movzx eax, word [ebp - 0x21c]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x100c95d8
movzx edx, word [ebp - 0x21c]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x100c95d8
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x100c96f4
mov dword [ebp - 0x1618], 0xffffffff
jmp 0x100c96fe
mov dword [ebp - 0x1618], 1
mov eax, dword [ebp - 0x1618]
mov dword [ebp - 0x161c], eax
cmp dword [ebp - 0x161c], 0
jne 0x100c9753
push esi
add esi, 0x213c
and esi, 0x22c1
add esi, 0x8a11
sub esi, 0xd0d7
pop esi
push ebx
push edx
add esp, 4
xor ebx, 0x2835
pop ebx
push eax
push ebx
add esp, 4
xor eax, 0xe15c
pop eax
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x2fc], ecx
jmp 0x100c97bb
push esi
push eax
add esp, 4
add esi, 0xd15e
pop esi
push edx
or edx, 0x76e6
sub edx, 0x6a3a
sub edx, 0x1776e
sub edx, 0xe2c5
pop edx
push edx
push ecx
add esp, 4
and edx, 0xda2b
pop edx
mov edx, dword [ebp - 0x514]
mov eax, dword [edx]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
cmp ecx, dword [ebp - 0xcc4]
je 0x100c97b1
mov edx, dword [ebp - 0x514]
cmp dword [edx + 0x30], 0
jne 0x100c957c
mov dword [ebp - 0x2fc], 0
push edi
push ebx
add esp, 4
add edi, 0xb2d0
sub edi, 0x2f5f
add edi, 0x1623a
add edi, 0x1305d
pop edi
push ebx
push edi
add esp, 4
sub ebx, 0x3ce6
pop ebx
push ecx
xor ecx, 0x165aa
pop ecx
cmp dword [ebp - 0x2fc], 0
jne 0x100ca0f2
mov eax, 0x6b
mov word [ebp - 0x1790], ax
mov ecx, 0x65
mov word [ebp - 0x178e], cx
mov edx, 0x72
mov word [ebp - 0x178c], dx
mov eax, 0x6e
mov word [ebp - 0x178a], ax
mov ecx, 0x65
mov word [ebp - 0x1788], cx
mov edx, 0x6c
mov word [ebp - 0x1786], dx
mov eax, 0x33
mov word [ebp - 0x1784], ax
mov ecx, 0x32
mov word [ebp - 0x1782], cx
mov edx, 0x2e
mov word [ebp - 0x1780], dx
mov eax, 0x64
mov word [ebp - 0x177e], ax
mov ecx, 0x6c
mov word [ebp - 0x177c], cx
mov edx, 0x6c
mov word [ebp - 0x177a], dx
xor eax, eax
mov word [ebp - 0x1778], ax
push eax
push edi
add esp, 4
call 0x100c98a7
add byte [eax + 0x4e], cl
cmp eax, dword [ebp + 0x4a]
xor al, 0x32
inc eax
cmp eax, dword [ebx + 0x505804c4]
xor eax, 0xe131
or eax, 0x5693
sub eax, 0x15e19
and eax, 0xa442
pop eax
mov byte [ebp - 0x8a4], 0x4c
mov byte [ebp - 0x8a3], 0x6f
mov byte [ebp - 0x8a2], 0x61
mov byte [ebp - 0x8a1], 0x64
mov byte [ebp - 0x8a0], 0x4c
mov byte [ebp - 0x89f], 0x69
mov byte [ebp - 0x89e], 0x62
mov byte [ebp - 0x89d], 0x72
mov byte [ebp - 0x89c], 0x61
mov byte [ebp - 0x89b], 0x72
mov byte [ebp - 0x89a], 0x79
mov byte [ebp - 0x899], 0x57
mov byte [ebp - 0x898], 0
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x199c], ecx
mov edx, dword [ebp - 0x199c]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x19a0], eax
mov ecx, dword [ebp - 0x19a0]
mov dword [ebp - 0x1620], ecx
push esi
push edx
add esp, 4
jmp 0x100c9955
push edx
push esi
add esp, 4
and edx, 0x11231
and edx, 0x14aee
pop edx
push edx
push eax
add esp, 4
jmp 0x100ca111
or edx, 0xeeab
sub edx, 0x400b
sub edx, 0x2be6
pop edx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x19bc], ecx
mov edx, dword [ebp - 0x19bc]
out 0xff, al
dec dword [ebx - 0x7a76cfbe]
inc eax
out 0xff, al
dec dword [ebx - 0x19bf73]
dec dword [ecx - 0x167b73]
call dword [eax - 0x7f]
ror byte [ecx], 0xa2
add byte [eax], al
call 0x100ca161
add byte [ecx + 0x4c], al
inc eax
inc edi
cmp eax, 0x83433950
les eax, [eax + ebx*2]
push esi
add esi, 0x12e3
pop esi
push eax
add eax, 0x1188
pop eax
push edx
jmp 0x100ca17d
pop edx
cmp dword [ebp - 0x167c], 0
jne 0x100ca196
mov dword [ebp - 0x2fc], 0
jmp 0x100ca43d
invalid
mov edx, dword [ebp - 0x167c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xce0], ecx
push esi
sub esi, 0x56f9
or esi, 0x4d55
and esi, 0x11905
pop esi
push ecx
push eax
add esp, 4
sub ecx, 0xfcb6
xor ecx, 0x3d6b
add ecx, 0x4c04
and ecx, 0xf47
pop ecx
cmp dword [ebp - 0xce0], 0
jne sym.d3dx9_43.dll_D3DXCreateCubeTextureFromFileW
mov dword [ebp - 0x2fc], 0
jmp 0x100ca43d