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

Disassembly:
jmp 0x56c960
push 0xffffffffffffffff
push 0x6ba2bf
mov eax, dword fs:[0]
push eax
sub esp, 0x5ec
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0x5e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x600]
mov dword fs:[0], eax
mov esi, dword [esp + 0x610]
mov eax, dword [esp + 0x614]
mov edi, dword [esp + 0x618]
mov ebx, dword [esp + 0x61c]
xor ebp, ebp
test esi, esi
jne 0x56c9c4
xor eax, eax
jmp 0x56d653
push eax
call fcn.0062a600
push eax
lea eax, [esp + 0x404]
push str._s_s
push eax
call fcn.00651689
add esp, 0x10
lea ecx, [esp + 0x38]
call fcn.0040d96d
lea ecx, [esp + 0x14]
mov dword [esp + 0x608], 0
call fcn.0040d96d
lea ecx, [esp + 0x3fc]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x60c], 1
call fcn.0040238d
push edi
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401b9a
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x60c], 2
call fcn.0040a5b0
lea ecx, [esp + 0x60]
mov byte [esp + 0x608], 1
call fcn.0040934a
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0
call fcn.0040934a
mov eax, dword [0x7812b8]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x56ca6f
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x38]
call fcn.0040cf1d
test eax, eax
je 0x56d63d
test ebx, ebx
je 0x56ca8d
push 5
mov ecx, ebx
call fcn.004050ab
mov ecx, dword [0x7812b8]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x56caa4
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.DATOSFICHEROSMISIONJUEGO
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x40]
lea edi, [esi + 0xa13]
call fcn.00401b9a
push eax
mov ecx, edi
mov byte [esp + 0x60c], 3
call fcn.004065cd
lea ecx, [esp + 0x60]
mov byte [esp + 0x608], 0
call fcn.0040934a
test ebx, ebx
je 0x56caeb
push 2
mov ecx, ebx
call fcn.004050ab
mov edx, dword [0x7812b8]
mov ecx, dword [edx + 0xf0]
test ecx, ecx
je 0x56cb02
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
push str.DATOSFICHEROSMISION
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x40]
lea edi, [esi + 0x11c]
call fcn.00401b9a
push eax
mov ecx, edi
mov byte [esp + 0x60c], 4
call fcn.00408f35
lea ecx, [esp + 0x60]
mov byte [esp + 0x608], 0
call fcn.0040934a
push esi
push 0x6e0280
lea ecx, [esp + 0x128]
call fcn.006381c0
lea ecx, [edi + 0x6f9]
push ecx
lea edx, [edi + 0x5fa]
push edx
lea eax, [edi + 0x4fb]
push eax
lea ecx, [edi + 0x3fc]
push ecx
lea edx, [edi + 0x2fd]
push edx
lea eax, [edi + 0x1fe]
push eax
push edi
push 0x6e0280
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x628], 5
call fcn.00637cc0
lea ecx, [esp + 0x18c]
push ecx
lea ecx, [esp + 0x124]
call fcn.00637d90
test eax, eax
je 0x56d631
mov ecx, dword [0x7b72e4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
push 4
call eax
cmp byte [edi + 0xff], 0
lea eax, [edi + 0xff]
je 0x56cbfd
push eax
push str.DATOSRECURSOSBMPSSPRITES_
lea ecx, [esp + 0x504]
push str._s_s.WAD
push ecx
call fcn.00651689
mov edx, dword [0x7b7300]
mov ecx, dword [edx + 8]
add esp, 0x10
lea eax, [esp + 0x4fc]
push eax
call fcn.006253e0
test ebx, ebx
je 0x56cc0a
push 3
mov ecx, ebx
call fcn.004050ab
push str.BRIEFING
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, dword [esi + 0x1468]
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x60c], 6
call fcn.0040bf78
mov eax, dword [0x7812b8]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x56cc4b
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.SKILL
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, eax
mov byte [esp + 0x608], 7
call fcn.0040d526
call fcn.006519c0
lea ecx, [esp + 0x14]
mov dword [esi + 0x54], eax
mov byte [esp + 0x608], 6
call fcn.0040934a
push str.SCORE
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, eax
mov byte [esp + 0x608], 8
call fcn.0040d526
call fcn.006519c0
lea ecx, [esp + 0x14]
mov dword [esi + 0x58], eax
mov byte [esp + 0x608], 6
call fcn.0040934a
push str.USER
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, eax
mov byte [esp + 0x608], 9
call fcn.0040d526
call fcn.006519c0
lea ecx, [esp + 0x14]
mov dword [esi + 0x5c], eax
mov byte [esp + 0x608], 6
call fcn.0040934a
push str.NUMALIADOS
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, eax
mov byte [esp + 0x608], 0xa
call fcn.0040d526
call fcn.006519c0
lea ecx, [esp + 0x14]
mov dword [esi + 0x74], eax
mov byte [esp + 0x608], 6
call fcn.0040934a
mov edx, dword [0x7812b8]
mov ecx, dword [edx + 0xf0]
test ecx, ecx
je 0x56cd4e
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
push str.PREFERENCES
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, dword [esi + 0x14c0]
push eax
mov byte [esp + 0x60c], 0xb
call fcn.00404c32
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 6
call fcn.0040934a
mov ecx, dword [0x7812b8]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x56cd9d
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.CREADORNOMBRESBICHOS
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
push eax
mov ecx, esi
mov byte [esp + 0x60c], 0xc
call fcn.0040104b
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 6
call fcn.0040934a
mov edx, dword [0x7812b8]
mov ecx, dword [edx + 0xf0]
test ecx, ecx
je 0x56cde8
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
push str.ANIMPRELOAD
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
call fcn.00401b9a
push eax
mov byte [esp + 0x60c], 0xd
call fcn.004066bd
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 6
call fcn.0040934a
mov ecx, dword [0x7812b8]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x56ce34
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.FISICA
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
push eax
mov byte [esp + 0x60c], 0xe
call fcn.00409cc3
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 6
call fcn.0040934a
mov edx, dword [0x7812b8]
mov ecx, dword [edx + 0xf0]
test ecx, ecx
je 0x56ce80
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
push str.SONIDOSFISICOS
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
call fcn.00401b9a
push eax
mov byte [esp + 0x60c], 0xf
call fcn.00403f0d
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 6
call fcn.0040934a
mov ecx, dword [0x7812b8]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x56cecc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.TIPOTERRENO
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x10
call fcn.0040cf1d
test eax, eax
je 0x56cf0a
lea ecx, [esp + 0x14]
call fcn.0040d526
call fcn.006519c0
push eax
mov ecx, esi
call fcn.00409ca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 6
call fcn.0040934a
mov edx, dword [0x7812b8]
mov ecx, dword [edx + 0xf0]
test ecx, ecx
je 0x56cf32
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
push 0x6ed4a0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
call fcn.00401b9a
push eax
mov byte [esp + 0x60c], 0x11
call fcn.00405baa
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 6
call fcn.0040934a
mov ecx, dword [0x7812b8]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x56cf7e
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.WATER
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
lea ecx, [esp + 0x80]
mov byte [esp + 0x608], 0x12
call fcn.0040cf1d
test eax, eax
je 0x56cff4
push 0x20
call fcn.00651953
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
mov byte [esp + 0x608], 0x13
je 0x56cfd1
mov ecx, eax
call fcn.00408544
mov edi, eax
jmp 0x56cfd3
xor edi, edi
test edi, edi
mov byte [esp + 0x608], 0x12
je 0x56cff4
lea edx, [esp + 0x80]
push edx
mov ecx, edi
call fcn.00405b8c
mov dword [esi + 0x1444], edi
test ebx, ebx
je 0x56d001
push 0
mov ecx, ebx
call fcn.004050ab
mov eax, dword [0x7812b8]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x56d017
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov edi, dword [esi + 0x1448]
test edi, edi
je 0x56d055
push str.GESTORMAPDRAW
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
push eax
mov ecx, edi
mov byte [esp + 0x60c], 0x14
call fcn.0040c437
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x12
call fcn.0040934a
test ebx, ebx
je 0x56d062
push 3
mov ecx, ebx
call fcn.004050ab
mov edx, dword [0x7812b8]
mov ecx, dword [edx + 0xf0]
test ecx, ecx
je 0x56d079
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov edi, dword [esi + 0x144c]
test edi, edi
je 0x56d0b9
push 0x6ee828
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov edx, dword [edi]
push eax
mov eax, dword [edx + 4]
mov ecx, edi
mov byte [esp + 0x60c], 0x15
call eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x12
call fcn.0040934a
mov ecx, dword [0x7812b8]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x56d0d0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov edi, dword [esi + 0x1450]
test edi, edi
je 0x56d110
push str.PALFX
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov edx, dword [edi]
push eax
mov eax, dword [edx + 4]
mov ecx, edi
mov byte [esp + 0x60c], 0x16
call eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x12
call fcn.0040934a
mov ecx, dword [0x7812b8]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x56d127
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.INTENDENCIAID
lea ecx, [esp + 0xe4]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
lea ecx, [esp + 0xe0]
mov byte [esp + 0x608], 0x17
call fcn.0040d526
fnstcw word [esp + 0x36]
movzx eax, word [esp + 0x36]
or eax, 0xc00
mov dword [esp + 0x58], eax
mov ecx, esi
fldcw word [esp + 0x58]
fistp qword [esp + 0x58]
mov eax, dword [esp + 0x58]
push eax
fldcw word [esp + 0x3a]
call fcn.0040cad6
mov edx, dword [0x7812b8]
mov ecx, dword [edx + 0xf0]
test ecx, ecx
je 0x56d192
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
push str.ELEMENTOS
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
call fcn.00401b9a
push esi
mov ecx, ebx
lea edx, [esp + 0x18]
mov byte [esp + 0x60c], 0x18
call fcn.0056a180
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x17
call fcn.0040934a
mov ecx, dword [0x7812b8]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x56d1e4
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [0x7812b4], 0
je 0x56d225
push str.SONIDOSLOGICOS
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, dword [0x7812b4]
push eax
mov byte [esp + 0x60c], 0x19
call fcn.00405227
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x17
call fcn.0040934a
mov edx, dword [0x7812b8]
mov ecx, dword [edx + 0xf0]
test ecx, ecx
je 0x56d23c
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
push str.WINENGINE
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
call fcn.00401b9a
push eax
mov ecx, esi
mov byte [esp + 0x60c], 0x1a
call fcn.00404403
mov ecx, eax
call fcn.004094b2
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x17
call fcn.0040934a
test ebx, ebx
je 0x56d284
push 2
mov ecx, ebx
call fcn.004050ab
mov ecx, dword [0x7812b8]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x56d29b
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.GESTORINFOUTILPLAYER
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, dword [esi + 0x145c]
test ecx, ecx
mov byte [esp + 0x608], 0x1b
je 0x56d2ca
lea edx, [esp + 0x14]
push edx
call fcn.0040c66c
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x17
call fcn.0040934a
mov eax, dword [0x7812b8]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x56d2f1
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.DATOSINTERFACE
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, dword [esi + 0x1428]
test ecx, ecx
mov byte [esp + 0x608], 0x1c
je 0x56d320
lea edx, [esp + 0x14]
push edx
call fcn.0040c33d
test ebx, ebx
je 0x56d32d
push 3
mov ecx, ebx
call fcn.004050ab
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x17
call fcn.0040934a
mov eax, dword [0x7812b8]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x56d354
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.INTENDENCIA
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, dword [esi + 0x1454]
test ecx, ecx
mov byte [esp + 0x608], 0x1d
je 0x56d385
mov edx, dword [ecx]
mov edx, dword [edx + 0x40]
lea eax, [esp + 0x14]
push eax
call edx
test ebx, ebx
je 0x56d392
push 2
mov ecx, ebx
call fcn.004050ab
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x17
call fcn.0040934a
push str.VUELTAPARTIDA
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x40]
call fcn.00401b9a
lea ecx, [esp + 0x100]
mov byte [esp + 0x608], 0x1e
call fcn.0040d526
call fcn.006519c0
mov dword [esi + 0x60], eax
mov ecx, dword [0x7812b8]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x56d3ec
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.SENSORES_EXP_ZONA
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, dword [esi + 0x147c]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x60c], 0x1f
call edx
test ebx, ebx
je 0x56d426
push 0
mov ecx, ebx
call fcn.004050ab
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x1e
call fcn.0040934a
mov eax, dword [0x7812b8]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x56d44d
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.SENSORES_SND_ZONA
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, dword [esi + 0x1480]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x60c], 0x20
call edx
test ebx, ebx
je 0x56d487
push 0
mov ecx, ebx
call fcn.004050ab
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x1e
call fcn.0040934a
mov eax, dword [0x7812b8]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x56d4ae
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.TRIPLINES
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov ecx, dword [esi + 0x1484]
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x60c], 0x21
call fcn.00405f3d
test ebx, ebx
je 0x56d4e6
push 0
mov ecx, ebx
call fcn.004050ab
lea ecx, [esp + 0x14]
mov byte [esp + 0x608], 0x1e
call fcn.0040934a
mov eax, dword [0x7812b8]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x56d50d
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.LISTAMUERTOS
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
mov bl, 0x22
lea ecx, [esp + 0xa0]
mov byte [esp + 0x608], bl
call fcn.0040cf1d
test eax, eax
je 0x56d54c
lea edx, [esp + 0xa0]
push edx
call fcn.00404363
add esp, 4
mov eax, dword [0x7812b8]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x56d562
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.NOTICAMBIOSECTORES
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401b9a
lea ecx, [esp + 0xc0]
mov byte [esp + 0x608], 0x23
call fcn.0040cf1d
test eax, eax
je 0x56d5a9
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x56d5a9
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xc0]
push eax
call edx
mov ecx, dword [0x7b72e4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
push 4
call edx
lea ecx, [esp + 0xc0]
mov ebp, 1
mov byte [esp + 0x608], bl
call fcn.0040934a
lea ecx, [esp + 0xa0]
mov byte [esp + 0x608], 0x1e
call fcn.0040934a
lea ecx, [esp + 0x100]
mov byte [esp + 0x608], 0x17
call fcn.0040934a
lea ecx, [esp + 0xe0]
mov byte [esp + 0x608], 0x12
call fcn.0040934a
lea ecx, [esp + 0x80]
mov byte [esp + 0x608], 6
call fcn.0040934a
lea ecx, [esp + 0x60]
mov byte [esp + 0x608], 5
call fcn.0040934a
lea ecx, [esp + 0x170]
call fcn.00405394
lea ecx, [esp + 0x38]
mov dword [esp + 0x608], 0xffffffff
call fcn.0040934a
mov eax, ebp
mov ecx, dword [esp + 0x600]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5e8]
xor ecx, esp
call fcn.00651675
add esp, 0x5f8
ret