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

Disassembly:
push 0xffffffffffffffff
push 0x476ba9
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, 0xb1e67c
mov dword [esp + 0x80], 0
call fcn.00434510
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 0x42b12e
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 0x42b139
mov edi, dword [edi + 4]
jmp 0x42b13c
add edi, 4
mov eax, dword [esp + 0x88]
test eax, eax
mov eax, dword [esp + 0x8c]
push ebx
je 0x42b2e2
test eax, eax
je 0x42b264
lea ecx, [esp + 0x10]
call fcn.00433dd0
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], 1
call fcn.00433ef0
test al, al
jne 0x42b1a7
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], ebp
call fcn.00433de0
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 0x42b24b
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 0x42b24b
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call fcn.00433de0
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.00433de0
jmp 0x42b45c
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 0x42b45c
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 0x42b45c
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 0x42b3f4
lea ecx, [esp + 0x18]
call fcn.00433dd0
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], 2
call fcn.00433ef0
test al, al
jne 0x42b336
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], ebp
call fcn.00433de0
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 0x42b3de
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 0x42b3de
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0xffffffff
call fcn.00433de0
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.00433de0
jmp 0x42b45c
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 0x42b45c
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 0x42b637
mov ecx, dword [esi + 0x48]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x58], eax
jne 0x42b474
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x42b545
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 0x42b52c
je 0x42b4b3
cmp eax, 0x1d
jg 0x42b4bf
cmp eax, 0x1c
jge 0x42b4b3
cmp eax, 0x15
je 0x42b4b3
cmp eax, 0x18
jle 0x42b545
cmp eax, 0x1a
jg 0x42b545
mov dword [esi + 0x54], 1
jmp 0x42b5c9
cmp eax, 0x31545844
jne 0x42b545
push 3
push 0
push 0x483868
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 0x42b5be
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 0x42b5be
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 0x42b5c5
cmp eax, 0x33545844
je 0x42b4b3
cmp eax, 0x34545844
je 0x42b4b3
cmp eax, 0x35545844
je 0x42b54e
mov dword [esi + 0x54], 0
jmp 0x42b5c9
push 3
push 0
mov edi, 2
push 0x483868
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 0x42b576
mov dword [esi + 0x54], edi
jmp 0x42b5c5
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 0x42b59a
mov dword [esi + 0x54], 3
jmp 0x42b5c5
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 0x42b5c5
mov dword [esi + 0x54], 4
jmp 0x42b5c5
mov dword [esi + 0x54], 1
mov eax, dword [esp + 0x58]
mov ecx, dword [0xb1e678]
test ecx, ecx
je case.0x42b5eb.20
cmp eax, 0x31545844
jg 0x42b5f2
je case.0x42b5eb.20
add eax, 0xffffffec
cmp eax, 0xa
ja case.default.0x42b5eb
movzx edx, byte [eax + 0x42b650]
jmp dword [edx*4 + 0x42b64c]
cmp eax, 0x34545844
jg 0x42b60b
je case.0x42b5eb.20
cmp eax, 0x32545844
je case.0x42b5eb.20
cmp eax, 0x33545844
jne case.default.0x42b5eb
jmp case.0x42b5eb.20
cmp eax, 0x35545844
je case.0x42b5eb.20
mov eax, dword [esi + 0x14]
test eax, eax
je case.0x42b5eb.20
cmp dword [esi + 0x18], 0x10
jb 0x42b624
mov esi, dword [esi + 4]
jmp 0x42b627
add esi, 4
push esi
push 0x483824
call fcn.00417710
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