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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x671b01
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x6d35d0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xdf480]
test eax, eax
je 0x45d807
mov edi, dword [eax + 0xc]
jmp 0x45d809
xor edi, edi
lea esi, [edi + 4]
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x60], vtable.NekoGameSDK4th::Base::Thread::CCriticalLock.0
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x45d831
push str.CCriticalLock::CCriticalLock__
call fcn.00426940
add esp, 4
jmp 0x45d837
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov dword [esp + 0x68], 1
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0xdc], 0
call fcn.004d0b6a
mov esi, edi
mov byte [esp + 0xd8], 1
call fcn.0047151d
test al, al
mov byte [esp + 0xd8], 0
mov esi, dword [esp + 0x34]
sete byte [esp + 0x13]
test esi, esi
jle 0x45d8aa
mov edi, dword [esp + 0x30]
mov dword [esp + 0x24], esi
test esi, esi
jne 0x45d895
push str.CCriticalLock::Leave___Enter__
call fcn.00426940
add esp, 4
jmp 0x45d8a3
dec esi
test edi, edi
je 0x45d8a3
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
sub dword [esp + 0x24], 1
jne 0x45d882
cmp byte [esp + 0x13], 0
jne 0x45d8d5
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0x64], 0
je 0x45d8ce
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0x13], 0
jmp 0x45d909
mov eax, dword [esp + 0x14]
mov al, byte [eax + 0x3c]
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0x64], 0
mov byte [esp + 0x13], al
je 0x45d901
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x13]
mov byte [esp + 0x13], al
test al, al
jne 0x45d924
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xdf480]
test eax, eax
je 0x45d91b
mov eax, dword [eax + 0xc]
jmp 0x45d91d
xor eax, eax
mov ecx, eax
call fcn.00471b87
mov dword [esp + 0x40], vtable.NekoGameSDK4th::Base::Graphics::Graphics3D::CD3DDeviceReference.0
mov dword [esp + 0xd8], 2
xor edi, edi
mov dword [esp + 0x44], vtable.NekoGameSDK4th::Base::Graphics::Graphics2D::ISurface.0
mov dword [esp + 0x48], edi
mov byte [esp + 0x4c], 1
mov dword [esp + 0x50], 0xff00ff00
call fcn.004cee12
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x40], vtable.NekoGameSDK4th::Base::Graphics::Graphics3D::CD3DSurface.0
mov dword [esp + 0x44], vtable.NekoGameSDK4th::Base::Graphics::Graphics3D::CD3DSurface.1.0
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0xd8], 3
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xdf480]
cmp eax, edi
je 0x45d996
mov eax, dword [eax + 0xc]
jmp 0x45d998
xor eax, eax
mov ecx, eax
call fcn.004713da
mov edx, dword [esp + 0x44]
mov esi, eax
mov eax, dword [edx]
lea ecx, [esp + 0x44]
call eax
cmp esi, edi
jne 0x45d9de
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xdf480]
cmp eax, edi
je 0x45d9c3
mov eax, dword [eax + 0xc]
jmp 0x45d9c5
xor eax, eax
mov ecx, eax
call fcn.0047133c
mov edx, dword [esp + 0x44]
mov esi, eax
mov eax, dword [edx]
lea ecx, [esp + 0x44]
call eax
cmp esi, edi
je 0x45d9e2
mov dword [esp + 0x54], esi
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0xdf480]
cmp eax, edi
je 0x45d9f4
mov eax, dword [eax + 0xc]
jmp 0x45d9f6
xor eax, eax
mov ecx, dword [ecx + 0xdf480]
cmp ecx, edi
je 0x45da09
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x14], ecx
jmp 0x45da0d
mov dword [esp + 0x14], edi
lea edi, [esp + 0x60]
mov esi, eax
call fcn.00471fe7
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push edx
push eax
push 1
push 0x67
call fcn.004725d7
mov esi, eax
test esi, esi
je 0x45e053
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0xdf478]
lea ecx, [eax + 0xdf478]
mov eax, dword [edx]
push 0xff000000
call eax
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x44]
xor edi, edi
xor ebx, ebx
call fcn.004dde85
mov eax, dword [esp + 0xc8]
mov edx, dword [esi + 8]
mov edx, dword [edx + 0xd4]
push eax
mov eax, dword [esp + 0xc8]
push eax
push ebx
push edi
xor eax, eax
push eax
lea ecx, [esi + 8]
push eax
lea eax, [esp + 0x58]
push eax
call edx
xor eax, eax
push 0x13
push str.SaveSmallImageSizeW
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], eax
mov byte [esp + 0x98], al
call fcn.00404c00
mov byte [esp + 0xd8], 4
mov edi, dword [0xf62668]
lea eax, [esp + 0x8c]
add edi, 0x14
push eax
lea ebx, [esp + 0x70]
call fcn.004acaca
xor ebx, ebx
cmp dword [eax + 0x14], ebx
jne 0x45daf7
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jmp 0x45db28
cmp dword [eax + 0x18], 0x10
jb 0x45db02
mov eax, dword [eax + 4]
jmp 0x45db05
add eax, 4
lea ecx, [esp + 0x2c]
push ecx
push 0x691abc
push eax
call fcn.0062e394
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov edi, 0x10
cmp dword [esp + 0x84], edi
jb 0x45db43
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0046efcb
add esp, 4
mov byte [esp + 0xd8], 3
cmp dword [esp + 0xa4], edi
jb 0x45db64
mov edx, dword [esp + 0x90]
push edx
call fcn.0046efcb
add esp, 4
push 0x13
push str.SaveSmallImageSizeH
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
call fcn.00404c00
mov byte [esp + 0xd8], 5
mov edi, dword [0xf62668]
lea eax, [esp + 0x8c]
add edi, 0x14
push eax
lea ebx, [esp + 0x70]
call fcn.004acaca
cmp dword [eax + 0x14], 0
jne 0x45dbc0
xor ebx, ebx
mov dword [esp + 0x30], ebx
jmp 0x45dbed
cmp dword [eax + 0x18], 0x10
jb 0x45dbcb
mov eax, dword [eax + 4]
jmp 0x45dbce
add eax, 4
lea ecx, [esp + 0x14]
push ecx
push 0x691abc
push eax
call fcn.0062e394
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x30], edx
mov edi, 0x10
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x84], edi
jb 0x45dc0c
mov eax, dword [esp + 0x70]
push eax
call fcn.0046efcb
add esp, 4
mov byte [esp + 0xd8], 3
cmp dword [esp + 0xa4], edi
jb 0x45dc2d
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0046efcb
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x20e8]
sub ecx, 0
je 0x45de21
sub ecx, 1
jne 0x45dfbd
mov eax, dword [eax + 0xdf480]
test eax, eax
je 0x45dc5a
mov eax, dword [eax + 0xc]
jmp 0x45dc5c
xor eax, eax
mov edi, dword [eax + 0x2c0]
mov eax, dword [eax + 0x2c4]
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], eax
call fcn.004dde85
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
push edx
push eax
push 0x697884
call fcn.00426940
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x44]
call fcn.004dde85
mov eax, dword [esp + 0xc4]
lea edx, [edi + edi]
lea ecx, [esp + 0xac]
sub eax, edx
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], eax
call fcn.004dde85
fild dword [esp + 0xc8]
mov edx, dword [esp + 0x18]
lea eax, [edx + edx]
fmul qword [0x6a25d0]
mov dword [esp + 0x14], eax
fisub dword [esp + 0x14]
call fcn.00631650
mov ecx, dword [ebp + 8]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xdf480]
test eax, eax
je 0x45dd06
mov ecx, dword [eax + 0xc]
jmp 0x45dd08
xor ecx, ecx
push 1
push 1
xor edi, edi
call fcn.00470a87
fldz
fst dword [esp + 0x14]
mov edx, dword [esi]
mov ecx, dword [esp + 0x14]
fst dword [esp + 0x18]
fild dword [esp + 0x74]
mov edx, dword [edx + 0x50]
push 0xffffffffffffffff
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
fstp dword [esp + 0x30]
fild dword [esp + 0x8c]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
fst dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
fstp dword [esp + 0x84]
fild dword [esp + 0x38]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
fstp dword [esp + 0x98]
fild dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax + 8], ecx
fstp dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
lea eax, [esp + 0x8c]
push eax
call fcn.004dd3fe
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0xdc], 7
call fcn.004dde85
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
push ebx
push edx
lea ecx, [esp + 0x94]
call fcn.004dd49c
push ebx
mov ebx, dword [esp + 0x28]
push ebx
xor ecx, ecx
push ecx
xor eax, eax
push eax
xor edx, edx
push edi
push edx
lea eax, [esp + 0x58]
lea ecx, [esp + 0xa4]
call fcn.004ddef5
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x94]
call fcn.004ea35b
lea ecx, [esp + 0x8c]
jmp 0x45dfb0
mov eax, dword [eax + 0xdf480]
test eax, eax
je 0x45de30
mov eax, dword [eax + 0xc]
jmp 0x45de32
xor eax, eax
mov ecx, dword [eax + 0x2c4]
mov edi, dword [eax + 0x2c0]
lea edx, [esp + 0x8c]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x44]
call fcn.004dde85
mov ecx, dword [esp + 0xa4]
lea eax, [edi + edi]
sub ecx, eax
lea edx, [esp + 0x6c]
mov dword [esp + 0x94], ecx
push edx
lea ecx, [esp + 0x44]
call fcn.004dde85
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x88]
lea ecx, [eax + eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xdf480]
sub edx, ecx
mov dword [esp + 0x98], edx
test eax, eax
je 0x45dea0
mov ecx, dword [eax + 0xc]
jmp 0x45dea2
xor ecx, ecx
push 1
push 1
xor edi, edi
call fcn.00470a87
fldz
fst dword [esp + 0x6c]
mov edx, dword [esi]
mov ecx, dword [esp + 0x6c]
fst dword [esp + 0x70]
fild dword [esp + 0x94]
mov edx, dword [edx + 0x50]
push 0xffffffffffffffff
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
fstp dword [esp + 0x88]
fild dword [esp + 0xac]
mov ecx, dword [esp + 0x84]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
fstp dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], ecx
fst dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fstp dword [esp + 0x2c]
fild dword [esp + 0x38]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
fstp dword [esp + 0x40]
fild dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
lea eax, [esp + 0xac]
push eax
call fcn.004dd3fe
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0xdc], 6
call fcn.004dde85
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
push ebx
push edx
lea ecx, [esp + 0xb4]
call fcn.004dd49c
push ebx
mov ebx, dword [esp + 0x28]
push ebx
xor ecx, ecx
push ecx
xor eax, eax
push eax
xor edx, edx
push edi
push edx
lea eax, [esp + 0x58]
lea ecx, [esp + 0xc4]
call fcn.004ddef5
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0xb4]
call fcn.004ea35b
lea ecx, [esp + 0xac]
mov byte [esp + 0xd8], 3
call fcn.004dd45c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xdf480]
test eax, eax
je 0x45dfd2
mov edi, dword [eax + 0xc]
jmp 0x45dfd4
xor edi, edi
lea edx, [edi + 4]
push edx
lea ecx, [esp + 0x64]
call fcn.004d0b6a
push esi
add edi, 0x40
mov byte [esp + 0xdc], 8
call fcn.004fd1f5
mov byte [esp + 0xd8], 3
mov esi, dword [esp + 0x68]
test esi, esi
jle 0x45e02e
mov edi, dword [esp + 0x64]
mov ebx, esi
test esi, esi
jne 0x45e01b
push str.CCriticalLock::Leave___Enter__
call fcn.00426940
add esp, 4
jmp 0x45e029
dec esi
test edi, edi
je 0x45e029
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
sub ebx, 1
jne 0x45e008
cmp byte [esp + 0x13], 0
jne 0x45e053
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xdf480]
test eax, eax
je 0x45e04a
mov eax, dword [eax + 0xc]
jmp 0x45e04c
xor eax, eax
mov ecx, eax
call fcn.00471c22
lea ecx, [esp + 0x40]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004dd45c
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8