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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x447a68
push eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.MSVCR80.dll_fopen]
mov edi, dword [sym.imp.MSVCR80.dll_fprintf]
mov esi, eax
push str._bmp_begin__n
push esi
call edi
add esp, 0x10
cmp dword [ebx + 0x6f8], 0
jne 0x40d109
lea ecx, [ebx + 0x25324]
push ecx
push str.name:__s_n
push esi
call edi
lea edx, [ebx + 0x700]
push edx
push str.head:__s_n
push esi
call edi
lea eax, [ebx + 0x72c]
push eax
push str.small:__s_n
push esi
call edi
add esp, 0x24
cmp dword [ebx + 0x498], 0
mov dword [esp + 0x24], 0
jle 0x40d17a
lea ecx, [ebx + 0x49c]
lea ebp, [ebx + 0x6cc]
mov dword [esp + 0x10], ecx
lea ebx, [ebx]
mov ecx, dword [ebp]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x50]
push ecx
push eax
imul eax, ecx
mov ecx, dword [ebp - 0xa0]
push edx
mov edx, dword [ebp - 0x78]
push edx
mov edx, dword [esp + 0x20]
push edx
lea eax, [eax + ecx - 1]
push eax
push ecx
push str.file__d__d_:__s__w:__d__h:__d__row:__d__col:__d_n
push esi
call edi
mov eax, dword [esp + 0x48]
add dword [esp + 0x34], 0x28
add eax, 1
add esp, 0x24
add ebp, 4
cmp eax, dword [ebx + 0x498]
mov dword [esp + 0x24], eax
jl 0x40d130
mov ecx, dword [ebx]
push ecx
push str.walking_frame_rate__d_n
push esi
call edi
fld qword [ebx + 8]
add esp, 4
fstp qword [esp]
push str.walking_speed__lf_n
push esi
call edi
fld qword [ebx + 0x10]
add esp, 8
fstp qword [esp]
push str.walking_speedz__lf_n
push esi
call edi
mov edx, dword [ebx + 0x18]
push edx
push str.running_frame_rate__d_n
push esi
call edi
fld qword [ebx + 0x20]
add esp, 0x14
fstp qword [esp]
push str.running_speed__lf_n
push esi
call edi
fld qword [ebx + 0x28]
add esp, 8
fstp qword [esp]
push str.running_speedz__lf_n
push esi
call edi
fld qword [ebx + 0x30]
add esp, 8
fstp qword [esp]
push str.heavy_walking_speed__lf_n
push esi
call edi
fld qword [ebx + 0x38]
add esp, 8
fstp qword [esp]
push str.heavy_walking_speedz__lf_n
push esi
call edi
fld qword [ebx + 0x40]
add esp, 8
fstp qword [esp]
push str.heavy_running_speed__lf_n
push esi
call edi
fld qword [ebx + 0x48]
add esp, 8
fstp qword [esp]
push str.heavy_running_speedz__lf_n
push esi
call edi
fld qword [ebx + 0x50]
add esp, 8
fstp qword [esp]
push str.jump_height__lf_n
push esi
call edi
fld qword [ebx + 0x58]
add esp, 8
fstp qword [esp]
push str.jump_distance__lf_n
push esi
call edi
fld qword [ebx + 0x60]
add esp, 8
fstp qword [esp]
push str.jump_distancez__lf_n
push esi
call edi
fld qword [ebx + 0x68]
add esp, 8
fstp qword [esp]
push str.dash_height__lf_n
push esi
call edi
fld qword [ebx + 0x70]
add esp, 8
fstp qword [esp]
push str.dash_distance__lf_n
push esi
call edi
fld qword [ebx + 0x78]
add esp, 8
fstp qword [esp]
push str.dash_distancez__lf_n
push esi
call edi
fld qword [ebx + 0x80]
add esp, 8
fstp qword [esp]
push str.rowing_height__lf_n
push esi
call edi
fld qword [ebx + 0x88]
add esp, 8
fstp qword [esp]
push str.rowing_distance__lf_n
push esi
call edi
push str._bmp_end__n_n
push esi
call edi
add esp, 0x18
xor eax, eax
mov dword [esp + 0x24], eax
jmp 0x40d2c0
mov ecx, eax
imul ecx, ecx, 0x178
cmp byte [ecx + ebx + 0x7a4], 1
lea ebp, [ecx + ebx]
jne 0x40d913
lea edx, [ebp + 0x900]
push edx
push eax
push str._frame___d__s_n
push esi
call edi
mov eax, dword [ebp + 0x7d0]
mov ecx, dword [ebp + 0x7cc]
mov edx, dword [ebp + 0x7c8]
push eax
mov eax, dword [ebp + 0x7f8]
push ecx
mov ecx, dword [ebp + 0x7f4]
push edx
mov edx, dword [ebp + 0x7c0]
push eax
mov eax, dword [ebp + 0x7bc]
push ecx
mov ecx, dword [ebp + 0x7b8]
push edx
mov edx, dword [ebp + 0x7b4]
push eax
mov eax, dword [ebp + 0x7b0]
push ecx
mov ecx, dword [ebp + 0x7ac]
push edx
mov edx, dword [ebp + 0x7a8]
push eax
push ecx
push edx
push str.___pic:__d__state:__d__wait:__d__next:__d__dvx:__d__dvy:__d__dvz:__d__centerx:__d__centery:__d__hit_a:__d__hit_d:__d__hit_j:__d
push esi
call edi
mov eax, dword [ebp + 0x7d4]
add esp, 0x48
test eax, eax
je 0x40d35e
push eax
push str._hit_Fa:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x7d8]
test eax, eax
je 0x40d374
push eax
push str._hit_Ua:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x7dc]
test eax, eax
je 0x40d38a
push eax
push str._hit_Da:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x7e0]
test eax, eax
je 0x40d3a0
push eax
push str._hit_Fj:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x7e4]
test eax, eax
je 0x40d3b6
push eax
push str._hit_Uj:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x7e8]
test eax, eax
je 0x40d3cc
push eax
push str._hit_Dj:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x7ec]
test eax, eax
je 0x40d3e2
push eax
push str._hit_ja:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x7f0]
test eax, eax
je 0x40d3f8
push eax
push str._mp:__d
push esi
call edi
add esp, 0xc
push 0x447fe8
push esi
call edi
mov eax, dword [ebp + 0x914]
add esp, 8
test eax, eax
je 0x40d419
push eax
push str.__sound:__s__n
push esi
call edi
add esp, 0xc
cmp dword [ebp + 0x7fc], 0
je 0x40d475
push str.___opoint:_n
push esi
call edi
mov eax, dword [ebp + 0x818]
mov ecx, dword [ebp + 0x814]
mov edx, dword [ebp + 0x810]
push eax
mov eax, dword [ebp + 0x80c]
push ecx
mov ecx, dword [ebp + 0x808]
push edx
mov edx, dword [ebp + 0x804]
push eax
mov eax, dword [ebp + 0x800]
push ecx
mov ecx, dword [ebp + 0x7fc]
push edx
push eax
push ecx
push str.______kind:__d__x:__d__y:__d__action:__d__dvx:__d__dvy:__d__oid:__d__facing:__d_n
push esi
call edi
push str.___opoint_end:_n
push esi
call edi
add esp, 0x38
cmp dword [ebp + 0x824], 0
je 0x40d4a7
push str.___bpoint:_n
push esi
call edi
mov edx, dword [ebp + 0x828]
mov eax, dword [ebp + 0x824]
push edx
push eax
push str.______x:__d__y:__d_n
push esi
call edi
push str.___bpoint_end:_n
push esi
call edi
add esp, 0x20
cmp dword [ebp + 0x82c], 0
je 0x40d665
push str.___cpoint:_n
push esi
call edi
mov ecx, dword [ebp + 0x834]
mov edx, dword [ebp + 0x830]
mov eax, dword [ebp + 0x82c]
push ecx
push edx
push eax
push str.______kind:__d__x:__d__y:__d_n
push esi
call edi
push 0x447f04
push esi
call edi
add esp, 0x24
cmp dword [ebp + 0x82c], 1
jne 0x40d5f9
mov eax, dword [ebp + 0x838]
test eax, eax
je 0x40d507
push eax
push str.injury:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x83c]
test eax, eax
je 0x40d51d
push eax
push str.cover:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x840]
test eax, eax
je 0x40d533
push eax
push str.vaction:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x844]
test eax, eax
je 0x40d549
push eax
push str.aaction:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x848]
test eax, eax
je 0x40d55f
push eax
push str.jaction:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x864]
test eax, eax
je 0x40d575
push eax
push str.taction:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x84c]
test eax, eax
je 0x40d58b
push eax
push str.daction:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x850]
test eax, eax
je 0x40d5a1
push eax
push str.throwvx:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x854]
test eax, eax
je 0x40d5b7
push eax
push str.throwvy:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x86c]
test eax, eax
je 0x40d5cd
push eax
push str.throwvz:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x858]
test eax, eax
je 0x40d5e3
push eax
push str.hurtable:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x868]
test eax, eax
je 0x40d5f9
push eax
push str.throwinjury:__d
push esi
call edi
add esp, 0xc
cmp dword [ebp + 0x82c], 2
jne 0x40d62e
mov eax, dword [ebp + 0x838]
test eax, eax
je 0x40d618
push eax
push str.fronthurtact:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x83c]
test eax, eax
je 0x40d62e
push eax
push str.backhurtact:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x85c]
test eax, eax
je 0x40d644
push eax
push str.decrease:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebp + 0x860]
test eax, eax
je 0x40d65a
push eax
push str.dircontrol:__d
push esi
call edi
add esp, 0xc
push str._n___cpoint_end:_n
push esi
call edi
add esp, 8
cmp dword [ebp + 0x87c], 0
je 0x40d6c8
push str.___wpoint:_n
push esi
call edi
mov ecx, dword [ebp + 0x89c]
mov edx, dword [ebp + 0x898]
mov eax, dword [ebp + 0x894]
push ecx
mov ecx, dword [ebp + 0x890]
push edx
mov edx, dword [ebp + 0x88c]
push eax
mov eax, dword [ebp + 0x888]
push ecx
mov ecx, dword [ebp + 0x884]
push edx
mov edx, dword [ebp + 0x880]
push eax
mov eax, dword [ebp + 0x87c]
push ecx
push edx
push eax
push str.______kind:__d__x:__d__y:__d__weaponact:__d__attacking:__d__cover:__d__dvx:__d__dvy:__d__dvz:__d__n
push esi
call edi
push str.___wpoint_end:_n
push esi
call edi
add esp, 0x3c
cmp dword [ebp + 0x8cc], 0
mov dword [esp + 0x10], 0
jle 0x40d880
mov dword [esp + 0x14], 0
jmp 0x40d6f0
mov ebx, dword [ebp + 0x8d4]
add ebx, dword [esp + 0x14]
push str.___itr:_n
push esi
call edi
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
push ecx
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
push str.______kind:__d__x:__d__y:__d__w:__d__h:__d
push esi
call edi
mov eax, dword [ebx + 0x14]
add esp, 0x24
test eax, eax
je 0x40d733
push eax
push str.dvx:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x40d746
push eax
push str.dvy:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x40d759
push eax
push str.fall:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x40d76c
push eax
push str.arest:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x40d77f
push eax
push str.vrest:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x40d792
push eax
push str.respond:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x40d7a5
push eax
push str.bdefend:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x40d7b8
push eax
push str.injury:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x40d7cb
push eax
push str.zwidth:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x40d7de
push eax
push str._n______effect:__d
push esi
call edi
add esp, 0xc
mov eax, dword [ebx]
cmp eax, 1
je 0x40d7ea
cmp eax, 3
jne 0x40d823
push 0x447ca0
push esi
call edi
mov eax, dword [ebx + 0x30]
add esp, 8
test eax, eax
je 0x40d80c
mov ecx, dword [ebx + 0x34]
push ecx
push eax
push str.catchingact:__d__d
push esi
call edi
add esp, 0x10
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x40d823
mov edx, dword [ebx + 0x3c]
push edx
push eax
push str.caughtact:__d__d
push esi
call edi
add esp, 0x10
cmp dword [ebx], 2
jne 0x40d859
push 0x447ca0
push esi
call edi
mov eax, dword [ebx + 0x30]
add esp, 8
test eax, eax
je 0x40d846
push eax
push str.pickingact:__d
push esi
call edi
add esp, 0xc
mov ebx, dword [ebx + 0x34]
test ebx, ebx
je 0x40d859
push ebx
push str.pickedact:__d
push esi
call edi
add esp, 0xc
push str._n___itr_end:_n
push esi
call edi
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], 0x50
add eax, 1
add esp, 8
cmp eax, dword [ebp + 0x8cc]
mov dword [esp + 0x10], eax
jl 0x40d6f0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
add eax, 6
imul eax, eax, 0x178
xor ecx, ecx
add eax, edx
cmp dword [eax], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jle 0x40d900
mov dword [esp + 0x14], ecx
jmp 0x40d8b0
mov ebx, dword [ebp + 0x8d8]
add ebx, dword [esp + 0x14]
push str.___bdy:_n
push esi
call edi
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
push edx
push eax
push ecx
push str.______kind:__d__x:__d__y:__d__w:__d__h:__d_n
push esi
call edi
push str.___bdy_end:_n
push esi
call edi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
add dword [esp + 0x40], 0x28
add eax, 1
add esp, 0x2c
cmp eax, dword [edx]
mov dword [esp + 0x10], eax
jl 0x40d8b0
push str._frame_end__n_n
push esi
call edi
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
add esp, 8
add eax, 1
cmp eax, 0x190
mov dword [esp + 0x24], eax
jl 0x40d2c0
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4