Function at 0x42d4f0
Capabilities:
Contain obfuscated stackstrings
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x7293f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x38], ecx
mov edx, dword [eax + 0x10]
push eax
mov ecx, esi
mov dword [esi + 0x3c], edx
call fcn.00433030
mov eax, dword [esp + 0x60]
mov edi, dword [esi + 8]
and eax, 0xffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esi + 0x10]
call fcn.00430f70
mov eax, dword [eax]
push edi
lea ecx, [eax + 0x128]
mov dword [esp + 0x58], 0
call fcn.00471b00
mov ecx, dword [esp + 0x5c]
or ebp, 0xffffffff
test ecx, ecx
mov dword [esp + 0x54], ebp
je 0x42d574
call fcn.00404630
push 0x1c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x5c], edi
test edi, edi
mov dword [esp + 0x54], 1
je 0x42d5c1
mov ecx, edi
call fcn.00405990
push 0
push 0
mov ecx, edi
mov byte [esp + 0x5c], 2
mov dword [edi], 0x74652c
call fcn.00405960
push 1
push 0
mov ecx, edi
call fcn.00405960
mov dword [edi + 0x18], 3
jmp 0x42d5c3
xor edi, edi
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
mov dword [esp + 0x54], ebp
je 0x42d5e1
test ecx, ecx
je 0x42d5d7
call fcn.00404630
test edi, edi
mov dword [esi + 0x4c], edi
je 0x42d5e1
inc dword [edi + 4]
mov ecx, dword [esi + 0x4c]
push 0
push 1
call fcn.00405960
mov ecx, dword [esi + 0x4c]
push 1
push 1
call fcn.00405960
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call fcn.0040a840
lea ecx, [edi + 0x88]
call fcn.00405840
mov al, byte [esp + 0x64]
test al, al
mov byte [esi + 0x5c], al
je 0x42db28
push 0x30
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x64], edi
test edi, edi
mov dword [esp + 0x54], 3
je 0x42d679
mov ecx, edi
call fcn.006f9150
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 0
mov byte [esp + 0x5c], 4
call fcn.0040a840
lea ecx, [edi + 0xc]
call fcn.00405900
lea ecx, [edi + 0x14]
mov byte [esp + 0x54], 5
call fcn.0042dc00
mov dword [edi], 0x746944
jmp 0x42d67b
xor edi, edi
mov ecx, dword [esi + 0x58]
cmp ecx, edi
lea ebx, [esi + 0x58]
mov dword [esp + 0x54], ebp
je 0x42d69b
test ecx, ecx
je 0x42d692
call fcn.00404630
test edi, edi
mov dword [ebx], edi
je 0x42d69b
inc dword [edi + 4]
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x64], edi
test edi, edi
mov dword [esp + 0x54], 6
je 0x42d718
mov ecx, edi
call fcn.00405990
push 0
push 0
push 0
lea ebp, [edi + 0x1c]
push 0
mov ecx, ebp
mov byte [esp + 0x64], 7
call fcn.00405760
push 1
push 0
mov ecx, edi
mov dword [edi], 0x7466f4
call fcn.00405960
push 3
push 3
push 0
mov ecx, edi
mov dword [edi + 0x18], 0x3f800000
call fcn.00408a10
push 0x3f800000
push 0
push 0
push 0
lea ecx, [esp + 0x6c]
call fcn.00405760
mov ecx, dword [eax]
mov dword [ebp], ecx
or ebp, 0xffffffff
jmp 0x42d71a
xor edi, edi
push 1
push 0
mov ecx, edi
mov dword [esp + 0x5c], ebp
call fcn.00405960
test edi, edi
push ecx
mov eax, esp
mov dword [esp + 0x68], esp
mov dword [eax], edi
je 0x42d739
inc dword [edi + 4]
mov ecx, ebx
mov dword [esp + 0x58], ebp
call fcn.00431170
mov ecx, eax
add ecx, 0xc
call fcn.00405840
push 0xdc
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov dword [esp + 0x54], 9
je 0x42d776
mov ecx, eax
call fcn.006d73f0
mov edi, eax
jmp 0x42d778
xor edi, edi
mov ecx, dword [esi + 0x60]
cmp ecx, edi
mov dword [esp + 0x54], ebp
je 0x42d796
test ecx, ecx
je 0x42d78c
call fcn.00404630
test edi, edi
mov dword [esi + 0x60], edi
je 0x42d796
inc dword [edi + 4]
mov edi, dword [esi + 0x60]
lea edx, [esp + 0x10]
push edx
lea ecx, [edi + 0xac]
mov dword [esp + 0x14], 0x3e99999a
mov dword [esp + 0x18], 0x3e99999a
mov dword [esp + 0x1c], 0x3e99999a
call fcn.0040a7e0
inc dword [edi + 0x9c]
mov edi, dword [esi + 0x60]
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0xb8]
mov dword [esp + 0x14], 0x3f333333
mov dword [esp + 0x18], 0x3f333333
mov dword [esp + 0x1c], 0x3f333333
call fcn.0040a7e0
inc dword [edi + 0x9c]
push 0xbf490fd0
lea ecx, [esp + 0x2c]
call fcn.006e7d60
mov eax, dword [esi + 0x60]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [eax + 0x2c]
call fcn.006e93d0
mov eax, dword [esi + 0x60]
mov ecx, dword [ebx]
push eax
add ecx, 0x14
call fcn.006f9490
mov ecx, dword [esi + 0x60]
push 1
push 0
push 0
call fcn.006eb000
mov ecx, 0x7cb478
call fcn.004d51b0
mov ecx, 0x7cb478
mov edi, eax
call fcn.004d51e0
push str..Morrowind.ini
push 0x200
push edi
push 0x7c6180
push str.Map_FOW_Texture
push str.General
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x42d885
push edi
push str.Textures
push str._s_s.tga
push ebp
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
jmp 0x42d899
push str.Textures
push str._sMapFOWTexture.tga
push ebp
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push ebp
push ebp
call fcn.0047a960
push 0x38
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0xc
mov dword [esp + 0x64], eax
test eax, eax
mov dword [esp + 0x54], 0xa
je 0x42d8c5
mov ecx, eax
call fcn.006e16c0
mov ebx, eax
jmp 0x42d8c7
xor ebx, ebx
test ebx, ebx
mov dword [esp + 0x5c], ebx
je 0x42d8d2
inc dword [ebx + 4]
push 0x7de3b4
push ebp
mov dword [esp + 0x5c], 0xb
call fcn.006de7f0
mov edx, dword [ebx + 0x20]
mov edi, eax
mov eax, dword [edx]
add esp, 8
test eax, eax
mov dword [esp + 0x64], eax
jne 0x42d935
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x60], eax
test eax, eax
mov byte [esp + 0x54], 0xc
je 0x42d917
mov ecx, eax
call fcn.0042dcd0
jmp 0x42d919
xor eax, eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x64]
push eax
push 0
lea ecx, [ebx + 0x1c]
mov byte [esp + 0x5c], 0xb
call fcn.004975d0
mov eax, dword [esp + 0x64]
push edi
lea ecx, [eax + 4]
call fcn.00471b00
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x64], eax
jne 0x42d989
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x60], eax
test eax, eax
mov byte [esp + 0x54], 0xd
je 0x42d96b
mov ecx, eax
call fcn.0042dcd0
jmp 0x42d96d
xor eax, eax
lea edx, [esp + 0x64]
push edx
push 0
lea ecx, [ebx + 0x1c]
mov byte [esp + 0x5c], 0xb
mov dword [esp + 0x6c], eax
call fcn.004975d0
mov eax, dword [esp + 0x64]
push 0x1c
mov dword [eax + 0xc], 1
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov byte [esp + 0x54], 0xe
je 0x42d9c3
push 0x7c74f8
push 0x7c7490
push 0x7c73d0
push 4
mov ecx, eax
call fcn.006cb320
mov edi, eax
jmp 0x42d9c5
xor edi, edi
mov ecx, dword [esi + 0x68]
cmp ecx, edi
mov byte [esp + 0x54], 0xb
je 0x42d9e4
test ecx, ecx
je 0x42d9da
call fcn.00404630
test edi, edi
mov dword [esi + 0x68], edi
je 0x42d9e4
inc dword [edi + 4]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 8]
push ebx
mov ecx, eax
call fcn.0042dc80
push 0x58
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov byte [esp + 0x54], 0xf
je 0x42da14
mov ecx, eax
call fcn.006db0a0
mov edi, eax
jmp 0x42da16
xor edi, edi
mov eax, 0x3f800000
push 0
push 1
mov ecx, edi
mov byte [esp + 0x5c], 0xb
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
call fcn.00405960
test edi, edi
mov eax, dword [esi + 0x68]
mov ebp, dword [eax + 8]
je 0x42da5b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp eax, 0xc
jge 0x42da5b
mov edx, dword [edi]
push edi
mov ecx, edi
call dword [edx + 0x2c]
lea ecx, [ebp + eax*4 + 8]
call fcn.00471b00
push 0x1c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x64], edi
test edi, edi
mov byte [esp + 0x54], 0x10
je 0x42dacf
mov ecx, edi
call fcn.006e9ed0
mov word [edi + 0x14], 0
push 0
push 0
mov ecx, edi
mov byte [esp + 0x5c], 0x11
mov dword [edi], 0x7465a8
call fcn.00405960
push 1
push 0xf
push 6
mov ecx, edi
call fcn.00408a10
push 5
push 0xf
push 7
mov ecx, edi
call fcn.00408a10
push 9
push 0
mov ecx, edi
call fcn.00405960
push 0xa
push 7
push 0
mov ecx, edi
call fcn.00408a10
mov byte [edi + 0x18], 0
jmp 0x42dad1
xor edi, edi
xor eax, eax
mov ax, word [edi + 0x14]
mov byte [esp + 0x54], 0xb
and eax, 0xfe01
or eax, 1
test edi, edi
mov word [edi + 0x14], ax
mov eax, dword [esi + 0x68]
mov ebp, dword [eax + 8]
je 0x42db0f
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
cmp eax, 0xc
jge 0x42db0f
mov eax, dword [edi]
push edi
mov ecx, edi
call dword [eax + 0x2c]
lea ecx, [ebp + eax*4 + 8]
call fcn.00471b00
test ebx, ebx
mov dword [esp + 0x54], 0xffffffff
je 0x42db28
dec dword [ebx + 4]
jne 0x42db28
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
mov eax, dword [esi + 4]
test eax, eax
je 0x42db79
mov edx, dword [esi + 0x44]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov eax, dword [esi + 0x40]
push edx
push eax
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 2
call fcn.006dc090
mov ecx, dword [esi + 0x2c]
mov edi, eax
add esp, 0x10
cmp ecx, edi
je 0x42db79
test ecx, ecx
je 0x42db6f
call fcn.00404630
test edi, edi
mov dword [esi + 0x2c], edi
je 0x42db79
inc dword [edi + 4]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 0xc