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

Disassembly:
push 0xffffffffffffffff
push 0x65827b
mov eax, dword fs:[0]
push eax
sub esp, 0x55c
mov eax, dword [0x7d9a88]
xor eax, esp
mov dword [esp + 0x558], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7d9a88]
xor eax, esp
push eax
lea eax, [esp + 0x570]
mov dword fs:[0], eax
mov esi, dword [esp + 0x580]
mov edi, dword [esp + 0x584]
mov ebx, ecx
cmp dword [ebx + 0xc8], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x64], 1
jne 0x52ea94
mov dword [esp + 0x64], edi
lea ecx, [esp + 0x88]
call fcn.0062a3d0
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x57c], 0
call dword [0x65b33c]
lea edx, [esp + 0x368]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x52eac1
lea ecx, [esp + 0x368]
push ecx
call fcn.0050c2a0
add esp, 4
lea edx, [esp + 0x254]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x52eae2
lea edx, [esp + 0x368]
push 0
push edx
call fcn.0050c340
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x160]
push ecx
lea edx, [esp + 0x47c]
push edx
lea eax, [esp + 0x37c]
push eax
call fcn.00635550
add esp, 0x18
test eax, eax
jne 0x52eb42
lea ecx, [esp + 0x88]
mov dword [esp + 0x578], 0xffffffff
call fcn.004057b0
xor eax, eax
jmp 0x52f361
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x52eb74
push edi
push eax
push esi
mov ecx, ebx
call fcn.0052e990
lea ecx, [esp + 0x88]
mov esi, eax
mov dword [esp + 0x578], 0xffffffff
call fcn.004057b0
mov eax, esi
jmp 0x52f361
xor ebx, ebx
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 1
jle 0x52ee4a
lea ecx, [esp + 0x154]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
cmp eax, 0x30
je 0x52ee2e
test eax, eax
je 0x52ee2e
lea eax, [esp + 0x46c]
push eax
lea ecx, [esp + 0x268]
push 0x66c244
push ecx
call fcn.005ae775
mov ecx, dword [esp + 0x30]
add esp, 0xc
test ecx, ecx
jle 0x52ec08
mov dx, word [0x663160]
jmp 0x52ebf0
lea edi, [esp + 0x264]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x52ebf8
sub ecx, 1
mov word [edi], dx
jne 0x52ebf0
mov eax, dword [esp + 0x1c]
mov byte [eax + 3], 0
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x52ec12
lea edi, [esp + 0x264]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x52ec25
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x264]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x52ec43
mov dx, word [0x66ad18]
lea eax, [esp + 0x254]
mov word [edi], dx
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x52ec60
lea edi, [esp + 0x264]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x52ec71
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x34]
push eax
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x26c]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.0052c6c0
test eax, eax
je 0x52ed6e
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.005e2040
mov ecx, eax
call fcn.005411b0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.005e2040
mov ecx, eax
call fcn.00541130
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
add ecx, eax
add edi, edx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x48], ecx
push edx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
call fcn.0062a2b0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.005e2040
mov ecx, eax
call fcn.00541160
mov eax, dword [esp + 0x20]
cmp ebx, eax
jge 0x52ed34
mov ebx, eax
mov eax, dword [esp + 0x18]
cmp ebp, eax
jge 0x52ed3e
mov ebp, eax
cmp dword [esp + 0x14], 0
je 0x52ee2e
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.005e2040
mov ecx, eax
call fcn.00541ef0
mov dword [esp + 0x14], 0
jmp 0x52ee2e
lea ecx, [esp + 0x264]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.0052a320
mov esi, eax
test esi, esi
je 0x52ee2e
push 0
lea edx, [esp + 0xb4]
push edx
push esi
call fcn.0053e6b0
add esp, 0xc
test eax, eax
je 0x52ee24
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
add edx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xbc]
add eax, ecx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
call fcn.0062a2b0
mov eax, dword [esp + 0xc0]
cmp ebx, eax
jge 0x52edf2
mov ebx, eax
mov eax, dword [esp + 0xc4]
cmp ebp, eax
jge 0x52edff
mov ebp, eax
cmp dword [esp + 0x14], 0
je 0x52ee24
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x30]
push esi
call fcn.0052b500
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 4
inc eax
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
jl 0x52eba3
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x88]
call fcn.0062a2a0
test eax, eax
je 0x52eb24
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 0x114
call fcn.0051ee10
add esp, 0xc
test eax, eax
je 0x52ee81
mov ecx, eax
call fcn.0053e630
mov ebp, eax
jmp 0x52ee83
xor ebp, ebp
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x8c]
call fcn.0062a270
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
push 4
push edx
push eax
mov ecx, ebp
call fcn.0053e7a0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
mov ecx, ebp
call fcn.005e2040
mov ecx, eax
call fcn.005411d0
mov eax, dword [esp + 0x18]
push eax
push ebx
mov ecx, ebp
call fcn.005e2040
mov ecx, eax
call fcn.00541190
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
push ecx
push edx
mov ecx, ebp
call fcn.005e2040
mov ecx, eax
call fcn.00541f10
xor esi, esi
cmp dword [esp + 0x38], esi
mov dword [esp + 0x24], esi
jle 0x52f348
lea ebx, [esp + 0x154]
mov dword [esp + 0x34], ebx
mov edi, edi
mov eax, dword [ebx]
cmp eax, 0x30
je 0x52f32a
test eax, eax
je 0x52f32a
lea eax, [esp + 0x46c]
push eax
lea ecx, [esp + 0x268]
push 0x66c244
push ecx
mov dword [esp + 0x28], 0
call fcn.005ae775
add esp, 0xc
test esi, esi
jle 0x52ef70
mov dx, word [0x663160]
mov ecx, esi
lea edi, [esp + 0x264]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x52ef60
sub ecx, 1
mov word [edi], dx
jne 0x52ef55
mov eax, ebx
mov byte [ebx + 3], 0
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x52ef78
lea edi, [esp + 0x264]
sub eax, ecx
mov esi, ecx
dec edi
jmp 0x52ef90
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x52ef90
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x264]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x52efb0
mov dx, word [0x66ad18]
lea eax, [esp + 0x254]
mov word [edi], dx
mov edx, eax
jmp 0x52efd0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x52efd0
lea edi, [esp + 0x264]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x52efe1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x30]
push eax
push 0
lea ecx, [esp + 0x26c]
push ecx
mov ecx, edi
call fcn.0052c6c0
test eax, eax
jne 0x52f051
push eax
push eax
lea edx, [esp + 0x26c]
push edx
mov ecx, edi
call fcn.0052e990
cmp dword [esp + 0x64], 0
mov esi, eax
mov dword [esp + 0x14], esi
je 0x52f047
push esi
push 0
lea eax, [esp + 0x26c]
push eax
mov ecx, edi
call fcn.0052e110
mov dword [esp + 0x1c], 1
jmp 0x52f055
mov esi, dword [esp + 0x14]
test esi, esi
je 0x52f32a
mov edi, dword [0x65b33c]
lea ecx, [esp + 0x134]
push ecx
call edi
lea edx, [esp + 0x54]
push edx
call edi
lea eax, [esp + 0x68]
push eax
call edi
lea ecx, [esp + 0xd4]
push 0x80
push ecx
call fcn.0050cd20
add esp, 8
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.005e2040
mov ecx, eax
call fcn.005411b0
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0xb0]
push edx
mov ecx, ebp
call fcn.005e2040
mov ecx, eax
call fcn.005411b0
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call fcn.005e2040
mov ecx, eax
call fcn.00541ef0
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x80]
push eax
mov ecx, ebp
call fcn.005e2040
mov ecx, eax
call fcn.00541ef0
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x84]
sub edi, dword [esp + 0x78]
sub ebx, dword [esp + 0x80]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.005e2040
mov ecx, eax
call fcn.00541130
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
add edx, ecx
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x5c], edx
push ecx
mov edx, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
push edx
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.005e2040
mov ecx, eax
call fcn.00541b80
test eax, eax
je 0x52f314
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.005e2040
mov ecx, eax
call fcn.00541130
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
add edx, eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
add edx, ecx
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x70], edx
push ecx
mov edx, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
push edx
mov ecx, ebp
mov dword [esp + 0x7c], eax
call fcn.005e2040
mov ecx, eax
call fcn.00541b80
test eax, eax
je 0x52f314
mov ecx, ebp
call fcn.0053e670
mov dword [esp + 0xd8], eax
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0xe0]
push ecx
mov ecx, ebp
call fcn.0053e660
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x6c]
add edx, edi
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x60]
sub edx, dword [esp + 0x58]
add eax, ebx
mov dword [esp + 0xec], ecx
mov ecx, ebp
mov dword [esp + 0xe8], eax
mov dword [esp + 0xf0], edx
call fcn.0053e690
mov ecx, ebp
mov dword [esp + 0xd4], eax
call fcn.0053e680
mov ecx, esi
mov dword [esp + 0xf4], eax
call fcn.0053e670
mov dword [esp + 0x100], eax
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x108]
push ecx
mov ecx, esi
call fcn.0053e660
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
sub edx, eax
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x60]
sub eax, ecx
mov dword [esp + 0x110], ecx
mov ecx, esi
mov dword [esp + 0x114], edx
mov dword [esp + 0x118], eax
call fcn.0053e690
mov ecx, esi
mov dword [esp + 0xfc], eax
call fcn.0053e680
mov ecx, esi
mov dword [esp + 0x11c], eax
mov dword [esp + 0x12c], 1
mov dword [esp + 0x120], 0xff
call fcn.005e2040
mov ecx, eax
call fcn.005425f0
lea ecx, [esp + 0xd4]
push ecx
mov dword [esp + 0x148], eax
call fcn.00558170
add esp, 4
mov ecx, esi
call fcn.005e2040
push eax
mov ecx, ebp
call fcn.005e2040
mov ecx, eax
call fcn.005444c0
cmp dword [esp + 0x1c], 0
je 0x52f322
mov ecx, esi
call fcn.0053fd80
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
inc esi
add ebx, 4
cmp esi, dword [esp + 0x38]
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], ebx
jl 0x52ef10
lea ecx, [esp + 0x88]
mov dword [esp + 0x578], 0xffffffff
call fcn.004057b0
mov eax, ebp
mov ecx, dword [esp + 0x570]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x558]
xor ecx, esp
call fcn.005ae766
add esp, 0x568
ret 8