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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
mov esi, ecx
mov ecx, edi
call fcn.004e62d0
cmp dword [esi + 8], 0
je 0x502389
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov ecx, edi
call fcn.004e6070
cmp dword [esi + 0x14], 0
je 0x5023aa
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi + 0x2c]
cmp eax, 0x80000000
je 0x5023c8
test eax, eax
je 0x5023c8
push dword [esi + 0x30]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi + 0x50]
test eax, eax
je 0x5023e3
cmp dword [esi + 0x54], 0
je 0x5023e3
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi + 0x38]
cmp eax, 0x80000000
je 0x502401
test eax, eax
je 0x502401
push dword [esi + 0x3c]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi + 0x44]
cmp eax, 0x80000000
je 0x50241f
test eax, eax
je 0x50241f
push dword [esi + 0x48]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esi + 0x20], 0
je 0x502435
push dword [esi + 0x24]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
mov ecx, edi
call fcn.004e5b60
cmp dword [esi + 0x5c], 0
je 0x502456
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0x70]
test edi, edi
je 0x5024b0
mov ebx, dword [esi + 0x6c]
add ebx, 0x28
jmp 0x502476
add ebx, 0x30
dec edi
je 0x5024b0
mov eax, dword [ebx - 0x18]
cmp eax, 0x80000000
je 0x502494
test eax, eax
je 0x502494
push dword [ebx - 0x14]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebx - 4]
test eax, eax
je 0x502470
cmp dword [ebx], 0
je 0x502470
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x502470
cmp dword [esi + 0x68], 0
je 0x5024c6
push dword [esi + 0x6c]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x5024e7
cmp dword [esi + 0xfc], 0
je 0x5024e7
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0x7c]
test edi, edi
je 0x50251d
mov ebx, dword [esi + 0x78]
add ebx, 4
jmp 0x502506
add ebx, 0xc
dec edi
je 0x50251d
cmp dword [ebx - 4], 0
je 0x502500
push dword [ebx]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x502500
cmp dword [esi + 0x74], 0
je 0x502533
push dword [esi + 0x78]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0x88]
test edi, edi
je 0x50256d
mov ebx, dword [esi + 0x84]
add ebx, 4
jmp 0x502556
add ebx, 0xc
dec edi
je 0x50256d
cmp dword [ebx - 4], 0
je 0x502550
push dword [ebx]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x502550
cmp dword [esi + 0x80], 0
je 0x502589
push dword [esi + 0x84]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0x90]
mov edx, dword [esi + 0x94]
mov ecx, edi
call fcn.004e5ab0
cmp dword [esi + 0x8c], 0
je 0x5025b3
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0x9c]
mov edx, dword [esi + 0xa0]
mov ecx, edi
call fcn.004e5c60
cmp dword [esi + 0x98], 0
je 0x5025dd
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0xa8]
mov edx, dword [esi + 0xac]
mov ecx, edi
call fcn.004e5da0
cmp dword [esi + 0xa4], 0
je 0x502607
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0xb4]
mov edx, dword [esi + 0xb8]
mov ecx, edi
call fcn.004e66d0
cmp dword [esi + 0xb0], 0
je 0x502631
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0xc0]
mov edx, dword [esi + 0xc4]
mov ecx, edi
call fcn.004e6910
cmp dword [esi + 0xbc], 0
je 0x50265b
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0xd0]
test edi, edi
je 0x5026b0
mov ebx, dword [esi + 0xcc]
add ebx, 0x10
jmp 0x502676
add ebx, 0x1c
dec edi
je 0x5026b0
mov eax, dword [ebx - 0x10]
cmp eax, 0x80000000
je 0x502694
test eax, eax
je 0x502694
push dword [ebx - 0xc]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebx - 4]
test eax, eax
je 0x502670
cmp dword [ebx], 0
je 0x502670
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x502670
cmp dword [esi + 0xc8], 0
je 0x5026cc
push dword [esi + 0xcc]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0xd8]
mov edx, dword [esi + 0xdc]
mov ecx, edi
call fcn.004e6650
cmp dword [esi + 0xd4], 0
je 0x5026f6
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0xe4]
mov edx, dword [esi + 0xe8]
mov ecx, edi
call fcn.004e6250
cmp dword [esi + 0xe0], 0
je 0x502720
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0xf4]
test edi, edi
je 0x502780
mov ebx, dword [esi + 0xf0]
add ebx, 0x1c
jmp 0x502746
add ebx, 0x24
dec edi
je 0x502780
mov eax, dword [ebx - 0x14]
cmp eax, 0x80000000
je 0x502764
test eax, eax
je 0x502764
push dword [ebx - 0x10]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebx - 4]
test eax, eax
je 0x502740
cmp dword [ebx], 0
je 0x502740
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x502740
cmp dword [esi + 0xec], 0
je 0x50279c
push dword [esi + 0xf0]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
pop esi
pop edi
pop ebx
pop ebp
ret