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

Disassembly:
push 0xffffffffffffffff
push 0x595534
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebx
push ebp
mov ebp, ecx
push esi
lea esi, [ebp + 0x34]
push edi
mov ecx, esi
mov dword [esp + 0x48], ebp
call fcn.004cf910
add ebp, 4
mov ecx, ebp
call fcn.0053ada0
lea ecx, [esp + 0x18]
call fcn.0045dbb0
mov dword [esp + 0x1c], eax
mov byte [eax + 0x3d], 1
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], 0x5a4e40
mov edi, dword [esp + 0x194]
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x194], ebx
call fcn.004d4d00
add esp, 8
test al, al
jne 0x53b764
push edi
push str.TextureSet::Load_:_cannot_load__s
jmp 0x53b7dc
push 0xa
push str.textureset
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.00404250
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x194], 1
call fcn.0045f7b0
mov ecx, dword [eax]
mov eax, dword [esp + 0x44]
cmp edi, ecx
sete byte [esp + 0x13]
cmp eax, 0x10
mov byte [esp + 0x18c], bl
jb 0x53b7c9
mov edx, dword [esp + 0x30]
push edx
call fcn.004796fd
add esp, 4
cmp byte [esp + 0x13], bl
je 0x53b821
mov eax, dword [esp + 0x194]
push eax
push str.TextureSet::Load_:_syntax_error__TextureSet__filename:__s_
call fcn.004b01a0
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0x14], 0x5a4e40
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x198], 0xffffffff
call fcn.00463ef0
mov edx, dword [esp + 0x1c]
push edx
call fcn.004796fd
add esp, 4
xor al, al
jmp 0x53c095
push 0xc
push str.texturecount
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.00404250
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x194], 2
call fcn.0045f7b0
mov ecx, dword [eax]
mov eax, dword [esp + 0x44]
cmp edi, ecx
sete byte [esp + 0x13]
cmp eax, 0x10
mov byte [esp + 0x18c], bl
jb 0x53b886
mov edx, dword [esp + 0x30]
push edx
call fcn.004796fd
add esp, 4
cmp byte [esp + 0x13], bl
je 0x53b8bc
mov eax, dword [esp + 0x194]
push eax
push str.TextureSet::Load_:_syntax_error__TextureCount__filename:__s_
call fcn.004b01a0
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x18c], 0xffffffff
call fcn.00463fb0
xor al, al
jmp 0x53c095
mov ecx, dword [0x5f2144]
push str.d:_ymir_work_special_error.tga
call fcn.004cb4d0
push eax
mov ecx, esi
call fcn.004cf8c0
mov ecx, dword [esp + 0x48]
call fcn.0053b660
push str.texturecount
lea ecx, [esp + 0x30]
call fcn.004050a0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x190], 3
call fcn.00463e00
mov esi, dword [eax + 8]
add eax, 4
mov eax, dword [esp + 0x44]
mov edi, 0x10
cmp eax, edi
mov byte [esp + 0x18c], bl
jb 0x53b928
mov edx, dword [esp + 0x30]
push edx
call fcn.004796fd
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
cmp dword [esi + 0x18], edi
jb 0x53b942
mov esi, dword [esi + 4]
jmp 0x53b945
add esi, 4
push esi
call fcn.0047a5eb
mov esi, eax
add esp, 4
lea eax, [esi + 1]
push eax
mov ecx, ebp
call fcn.0053b5a0
cmp esi, ebx
jle 0x53c02d
mov dword [esp + 0x28], 1
mov dword [esp + 0x4c], esi
nop
mov ecx, dword [esp + 0x28]
push ecx
push str.texture_03d
lea edx, [esp + 0x168]
push 0x20
push edx
call fcn.0047a678
mov ebp, 0xf
lea eax, [esp + 0x170]
add esp, 0x10
mov dword [esp + 0x15c], ebp
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53b9b0
sub eax, esi
push eax
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0x14c]
call fcn.00404250
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x194], 4
call fcn.0045f7b0
mov ecx, dword [eax]
mov eax, dword [esp + 0x15c]
cmp esi, ecx
sete byte [esp + 0x13]
cmp eax, edi
mov byte [esp + 0x18c], bl
jb 0x53ba1b
mov eax, dword [esp + 0x148]
push eax
call fcn.004796fd
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x15c], ebp
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
jne 0x53c015
lea eax, [esp + 0x160]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53ba50
sub eax, edx
push eax
lea ecx, [esp + 0x164]
push ecx
lea ecx, [esp + 0x34]
call fcn.00404250
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x190], 5
call fcn.00463e00
mov esi, eax
cmp dword [esp + 0x44], edi
mov byte [esp + 0x18c], bl
jb 0x53ba9d
mov eax, dword [esp + 0x30]
push eax
call fcn.004796fd
add esp, 4
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov eax, dword [esi + 8]
cmp dword [eax + 0x18], edi
jb 0x53bab6
mov edi, dword [eax + 4]
jmp 0x53bab9
lea edi, [eax + 4]
mov eax, edi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53bad0
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x58]
call fcn.00404250
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x34]
mov ebp, 0x10
cmp ecx, ebp
mov byte [esp + 0x18c], 6
jb 0x53bb00
mov edi, dword [eax + 0x20]
jmp 0x53bb03
lea edi, [eax + 0x20]
mov eax, edi
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53bb21
sub eax, edx
push eax
push edi
lea ecx, [esp + 0xc0]
call fcn.00404250
mov eax, dword [esi + 8]
cmp dword [eax + 0x50], ebp
mov byte [esp + 0x18c], 7
jb 0x53bb4d
mov edi, dword [eax + 0x3c]
jmp 0x53bb50
lea edi, [eax + 0x3c]
mov eax, edi
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53bb70
sub eax, edx
push eax
push edi
lea ecx, [esp + 0xa4]
call fcn.00404250
mov eax, dword [esi + 8]
cmp dword [eax + 0x6c], ebp
mov byte [esp + 0x18c], 8
jb 0x53bb9c
mov edi, dword [eax + 0x58]
jmp 0x53bb9f
lea edi, [eax + 0x58]
mov eax, edi
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53bbc0
sub eax, edx
push eax
push edi
lea ecx, [esp + 0xf8]
call fcn.00404250
mov eax, dword [esi + 8]
cmp dword [eax + 0x88], ebp
mov byte [esp + 0x18c], 9
jb 0x53bbef
mov edi, dword [eax + 0x74]
jmp 0x53bbf2
lea edi, [eax + 0x74]
mov eax, edi
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53bc10
sub eax, edx
push eax
push edi
lea ecx, [esp + 0xdc]
call fcn.00404250
mov eax, dword [esi + 8]
cmp dword [eax + 0xa4], ebp
mov byte [esp + 0x18c], 0xa
jb 0x53bc42
mov edi, dword [eax + 0x90]
jmp 0x53bc48
lea edi, [eax + 0x90]
mov eax, edi
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53bc66
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x88]
call fcn.00404250
mov eax, dword [esi + 8]
cmp dword [eax + 0xc0], ebp
mov byte [esp + 0x18c], 0xb
jb 0x53bc98
mov edi, dword [eax + 0xac]
jmp 0x53bc9e
lea edi, [eax + 0xac]
mov eax, edi
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53bcc0
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x114]
call fcn.00404250
mov eax, dword [esi + 8]
cmp dword [eax + 0xdc], ebp
mov byte [esp + 0x18c], 0xc
jb 0x53bcf2
mov edx, dword [eax + 0xc8]
jmp 0x53bcf8
lea edx, [eax + 0xc8]
mov edi, 0xf
mov eax, edx
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53bd17
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x130]
call fcn.00404250
cmp dword [esp + 0xd0], ebp
mov eax, dword [esp + 0xbc]
mov byte [esp + 0x18c], 0xd
jae 0x53bd4d
lea eax, [esp + 0xbc]
push eax
call fcn.0047a5b3
fstp dword [esp + 0x28]
mov eax, dword [esp + 0xb8]
add esp, 4
cmp eax, ebp
mov eax, dword [esp + 0xa0]
jae 0x53bd73
lea eax, [esp + 0xa0]
push eax
call fcn.0047a5b3
fstp dword [esp + 0x74]
mov eax, dword [esp + 0x10c]
add esp, 4
cmp eax, ebp
mov eax, dword [esp + 0xf4]
jae 0x53bd99
lea eax, [esp + 0xf4]
push eax
call fcn.0047a5b3
fstp dword [esp + 0x78]
mov eax, dword [esp + 0xf0]
add esp, 4
cmp eax, ebp
mov eax, dword [esp + 0xd8]
jae 0x53bdbf
lea eax, [esp + 0xd8]
push eax
call fcn.0047a5b3
fstp dword [esp + 0x70]
mov eax, dword [esp + 0x9c]
add esp, 4
cmp eax, ebp
mov eax, dword [esp + 0x84]
jae 0x53bde5
lea eax, [esp + 0x84]
push eax
call fcn.0047a673
add esp, 4
test eax, eax
mov eax, dword [esp + 0x124]
setne cl
cmp eax, ebp
mov eax, dword [esp + 0x110]
mov byte [esp + 0x7c], cl
jae 0x53be10
lea eax, [esp + 0x110]
push eax
call fcn.0047a673
mov esi, eax
mov eax, dword [esp + 0x144]
add esp, 4
cmp eax, ebp
mov eax, dword [esp + 0x12c]
jae 0x53be34
lea eax, [esp + 0x12c]
push eax
call fcn.0047a673
mov ecx, dword [esp + 0x6c]
add esp, 4
cmp ecx, ebp
mov ecx, dword [esp + 0x54]
jae 0x53be4d
lea ecx, [esp + 0x54]
mov edx, dword [esp + 0x198]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x84]
push esi
push eax
mov eax, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x3c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x70]
call fcn.0053a920
test al, al
jne 0x53bea8
cmp dword [esp + 0x68], ebp
mov eax, dword [esp + 0x54]
jae 0x53be9a
lea eax, [esp + 0x54]
push eax
push str.CTextureSet::Load_:_SetTexture_failed_:_Filename:__s
call fcn.004b01a0
add esp, 8
cmp dword [esp + 0x140], ebp
jb 0x53bec1
mov edx, dword [esp + 0x12c]
push edx
call fcn.004796fd
add esp, 4
cmp dword [esp + 0x124], ebp
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
jb 0x53beef
mov eax, dword [esp + 0x110]
push eax
call fcn.004796fd
add esp, 4
cmp dword [esp + 0x98], ebp
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x53bf1d
mov ecx, dword [esp + 0x84]
push ecx
call fcn.004796fd
add esp, 4
cmp dword [esp + 0xec], ebp
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x53bf4b
mov edx, dword [esp + 0xd8]
push edx
call fcn.004796fd
add esp, 4
cmp dword [esp + 0x108], ebp
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
jb 0x53bf79
mov eax, dword [esp + 0xf4]
push eax
call fcn.004796fd
add esp, 4
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
jb 0x53bfa7
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.004796fd
add esp, 4
cmp dword [esp + 0xd0], ebp
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
jb 0x53bfd5
mov edx, dword [esp + 0xbc]
push edx
call fcn.004796fd
add esp, 4
cmp dword [esp + 0x68], ebp
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
mov byte [esp + 0x18c], bl
jb 0x53c004
mov eax, dword [esp + 0x54]
push eax
call fcn.004796fd
add esp, 4
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
mov edi, 0x10
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
inc ecx
dec eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], eax
jne 0x53b970
mov esi, dword [esp + 0x194]
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53c040
mov ecx, dword [esp + 0x48]
sub eax, edx
push eax
push esi
add ecx, 0xac
call fcn.00404250
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0x5a4e40
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x198], 0xffffffff
call fcn.00463ef0
mov edx, dword [esp + 0x1c]
push edx
call fcn.004796fd
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x180
ret 8