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

Disassembly:
sub esp, 0xb8
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [esp + 8], ebx
cmp dword [esi + 0x34], ebx
jne 0x52a460
pop esi
xor eax, eax
pop ebx
add esp, 0xb8
ret
cmp dword [esi], ebx
jne 0x52a792
cmp dword [esi + 4], ebx
je 0x52a792
push ebp
push edi
cmp dword [esi + 0x7c], ebx
je 0x52a6ad
mov edi, dword [0x65b33c]
lea eax, [esp + 0x98]
push eax
call edi
mov ecx, dword [esi + 0x14]
push ecx
call dword [0x65b4f8]
mov ebp, eax
cmp ebp, ebx
je 0x52a790
lea edx, [esp + 0x28]
push edx
call edi
mov ecx, dword [esi + 8]
lea eax, [esp + 0x14]
push eax
call fcn.005312b0
push ebx
call dword [0x65b040]
push ebp
mov ebx, eax
call dword [0x65b068]
mov ecx, dword [esi + 0x74]
mov edi, eax
push ecx
push edi
call dword [0x65b06c]
lea edx, [esp + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x14]
push edx
push eax
call dword [0x65b4e4]
push ebx
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [0x65b3a0]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 0xcc0020
sub edx, eax
push edx
mov edx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
push ebp
push eax
push ecx
xor ebp, ebp
push ebp
push ebp
push edi
call dword [0x65b070]
mov edx, dword [esp + 0x24]
push edx
push edi
call dword [0x65b06c]
push edi
call dword [0x65b074]
push ebx
call dword [0x65b048]
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 0x114
call fcn.0051ee10
add esp, 0xc
cmp eax, ebp
je 0x52a55f
mov ecx, eax
call fcn.0053e630
mov edi, eax
jmp 0x52a561
xor edi, edi
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push 4
push eax
push ecx
mov ecx, edi
call fcn.0053e7a0
test eax, eax
jne 0x52a57f
mov ecx, edi
call fcn.0053fd80
xor edi, edi
lea edx, [esp + 0x38]
push 0x80
push edx
call fcn.0050cd20
add esp, 8
mov ecx, edi
call fcn.0053e690
mov ecx, edi
mov dword [esp + 0x38], eax
call fcn.0053e670
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x54], ecx
mov ecx, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], eax
call fcn.0053e680
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], ecx
mov ecx, eax
add ecx, ecx
lea edx, [esp + 0x38]
add ecx, ecx
push edx
mov dword [esp + 0x64], 4
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], 1
call fcn.00558940
add esp, 4
push 0xff
mov ecx, edi
call fcn.005e2040
mov ecx, eax
call fcn.00541530
cmp edi, ebp
je 0x52a790
mov ecx, dword [esi + 8]
lea eax, [esp + 0xb8]
push eax
call fcn.005312b0
mov ebx, dword [esi + 0x18]
mov esi, dword [esi + 0x1c]
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 0x114
call fcn.0051ee10
add esp, 0xc
cmp eax, ebp
je 0x52a674
mov ecx, eax
call fcn.0053e630
mov ebp, eax
mov ecx, edi
mov dword [esp + 0x10], ebp
call fcn.0053e690
push eax
push esi
push ebx
mov ecx, ebp
call fcn.0053e7a0
push esi
push ebx
push 0
push 0
push edi
mov ecx, ebp
call fcn.0053f3d0
mov ecx, edi
call fcn.0053fd80
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xb8
ret
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 0x114
call fcn.0051ee10
add esp, 0xc
cmp eax, ebx
je 0x52a6ce
mov ecx, eax
call fcn.0053e630
mov ebx, eax
mov eax, dword [0x8211a4]
movzx ecx, word [eax + 0x764a]
movzx edx, word [eax + 0x7648]
push 4
push ecx
push edx
mov ecx, ebx
call fcn.0053e7a0
test eax, eax
je 0x52a789
mov ecx, dword [esi + 4]
push ebx
call fcn.00537090
push 0xff
mov ecx, ebx
call fcn.005e2040
mov ecx, eax
call fcn.00541530
test ebx, ebx
je 0x52a790
mov ecx, dword [esi + 8]
lea eax, [esp + 0x14]
push eax
call fcn.005312b0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
sub esi, dword [esp + 0x14]
sub edi, dword [esp + 0x18]
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 0x114
call fcn.0051ee10
add esp, 0xc
test eax, eax
je 0x52a758
mov ecx, eax
call fcn.0053e630
mov ebp, eax
mov dword [esp + 0x10], ebp
jmp 0x52a764
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov ecx, ebx
call fcn.0053e690
push eax
push edi
push esi
mov ecx, ebp
call fcn.0053e7a0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edi
push esi
push ecx
push edx
push ebx
mov ecx, ebp
call fcn.0053f3d0
mov ecx, ebx
call fcn.0053fd80
pop edi
pop ebp
mov eax, dword [esp + 8]
pop esi
pop ebx
add esp, 0xb8
ret