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

Disassembly:
push 0xffffffffffffffff
push 0x476ea9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push eax
mov ecx, 0xb1f6e4
mov dword [esp + 0x80], 0
call fcn.00434720
or ebp, 0xffffffff
lea ecx, [esp + 0x38]
mov edi, eax
mov dword [esp + 0x7c], ebp
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test edi, edi
jne 0x42b2ee
pop edi
pop esi
mov eax, 0x80070057
pop ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc
cmp dword [edi + 0x18], 0x10
jb 0x42b2f9
mov edi, dword [edi + 4]
jmp 0x42b2fc
add edi, 4
mov eax, dword [esp + 0x88]
test eax, eax
mov eax, dword [esp + 0x8c]
push ebx
je 0x42b4a2
test eax, eax
je 0x42b424
lea ecx, [esp + 0x10]
call fcn.00433fe0
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], 1
call fcn.00434100
test al, al
jne 0x42b367
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], ebp
call fcn.00433ff0
pop ebx
pop edi
pop esi
mov eax, 0x80004005
pop ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea edi, [esi + 0x4c]
push edi
push 0
lea edx, [esp + 0x28]
push edx
mov edx, dword [esi + 0x3c]
push 0
push 0x70005
push 0x70004
push 1
push edx
mov edx, dword [esi + 0x38]
push 0
push edx
push 0xffffffffffffffff
push ecx
push eax
mov ebx, eax
mov eax, dword [esp + 0xbc]
push eax
mov ebp, ecx
call sub.d3dx9_30.dll_D3DXCreateCubeTextureFromFileInMemoryEx
test eax, eax
jge 0x42b40b
mov edx, dword [esi + 0x3c]
push edi
push 0
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x70005
push 0x70004
push 1
push edx
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
push ebx
push eax
call sub.d3dx9_30.dll_D3DXCreateCubeTextureFromFileInMemoryEx
mov edi, eax
test edi, edi
jge 0x42b40b
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call fcn.00433ff0
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call fcn.00433ff0
jmp 0x42b61c
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
lea ebx, [esi + 0x4c]
push ebx
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x70005
push 0x70004
push 1
push edx
push 0
push eax
push ebp
mov ebp, dword [esp + 0xb4]
push edi
push ebp
call sub.d3dx9_30.dll_D3DXCreateCubeTextureFromFileExA
test eax, eax
jge 0x42b61c
mov edx, dword [esi + 0x3c]
push ebx
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x70005
push 0x70004
push 1
push edx
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ebp
call sub.d3dx9_30.dll_D3DXCreateCubeTextureFromFileExA
test eax, eax
jge 0x42b61c
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc
test eax, eax
je 0x42b5b4
lea ecx, [esp + 0x18]
call fcn.00433fe0
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], 2
call fcn.00434100
test al, al
jne 0x42b4f6
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], ebp
call fcn.00433ff0
pop ebx
pop edi
pop esi
mov eax, 0x80004005
pop ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edi, [esi + 0x48]
push edi
push 0
lea edx, [esp + 0x28]
push edx
mov edx, dword [esi + 0x3c]
push 0
push 0x70005
push 0x70004
push 1
push edx
mov edx, dword [esi + 0x38]
push 0
push edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
push eax
mov ebx, eax
mov eax, dword [esp + 0xc0]
push eax
mov ebp, ecx
call sub.d3dx9_30.dll_D3DXCreateTextureFromFileInMemoryEx
test eax, eax
jge 0x42b59e
mov edx, dword [esi + 0x3c]
push edi
push 0
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x70005
push 0x70004
push 1
push edx
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
push ebx
push eax
call sub.d3dx9_30.dll_D3DXCreateTextureFromFileInMemoryEx
mov edi, eax
test edi, edi
jge 0x42b59e
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0xffffffff
call fcn.00433ff0
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0xffffffff
call fcn.00433ff0
jmp 0x42b61c
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
lea ebx, [esi + 0x48]
push ebx
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x70005
push 0x70004
push 1
push edx
push 0
push eax
push ebp
push ebp
mov ebp, dword [esp + 0xb8]
push edi
push ebp
call sub.d3dx9_30.dll_D3DXCreateTextureFromFileExA
test eax, eax
jge 0x42b61c
mov edx, dword [esi + 0x3c]
push ebx
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x70005
push 0x70004
push 1
push edx
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ebp
call sub.d3dx9_30.dll_D3DXCreateTextureFromFileExA
test eax, eax
jl 0x42b7f7
mov ecx, dword [esi + 0x48]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x58], eax
jne 0x42b634
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x42b705
mov eax, dword [ecx]
lea edx, [esp + 0x58]
push edx
push 0
push ecx
call dword [eax + 0x44]
mov eax, dword [esp + 0x58]
cmp eax, 0x32545844
jg 0x42b6ec
je 0x42b673
cmp eax, 0x1d
jg 0x42b67f
cmp eax, 0x1c
jge 0x42b673
cmp eax, 0x15
je 0x42b673
cmp eax, 0x18
jle 0x42b705
cmp eax, 0x1a
jg 0x42b705
mov dword [esi + 0x54], 1
jmp 0x42b789
cmp eax, 0x31545844
jne 0x42b705
push 3
push 0
push 0x4848f0
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
jne 0x42b77e
push 4
push 0
push str._a1.
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edx, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [edx]
jne 0x42b77e
push 4
push 0
push str._a2.
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edx, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edi, dword [edx]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi + 0x54], ecx
jmp 0x42b785
cmp eax, 0x33545844
je 0x42b673
cmp eax, 0x34545844
je 0x42b673
cmp eax, 0x35545844
je 0x42b70e
mov dword [esi + 0x54], 0
jmp 0x42b789
push 3
push 0
mov edi, 2
push 0x4848f0
mov ecx, esi
mov dword [esi + 0x54], edi
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
je 0x42b736
mov dword [esi + 0x54], edi
jmp 0x42b785
push 4
push 0
push str._a1.
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edx, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [edx]
je 0x42b75a
mov dword [esi + 0x54], 3
jmp 0x42b785
push 4
push 0
push str._a2.
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
je 0x42b785
mov dword [esi + 0x54], 4
jmp 0x42b785
mov dword [esi + 0x54], 1
mov eax, dword [esp + 0x58]
mov ecx, dword [0xb1f6e0]
test ecx, ecx
je case.0x42b7ab.20
cmp eax, 0x31545844
jg 0x42b7b2
je case.0x42b7ab.20
add eax, 0xffffffec
cmp eax, 0xa
ja case.default.0x42b7ab
movzx edx, byte [eax + 0x42b810]
jmp dword [edx*4 + 0x42b80c]
cmp eax, 0x34545844
jg 0x42b7cb
je case.0x42b7ab.20
cmp eax, 0x32545844
je case.0x42b7ab.20
cmp eax, 0x33545844
jne case.default.0x42b7ab
jmp case.0x42b7ab.20
cmp eax, 0x35545844
je case.0x42b7ab.20
mov eax, dword [esi + 0x14]
test eax, eax
je case.0x42b7ab.20
cmp dword [esi + 0x18], 0x10
jb 0x42b7e4
mov esi, dword [esi + 4]
jmp 0x42b7e7
add esi, 4
push esi
push 0x4848ac
call fcn.00417630
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x78]
pop ebx
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc