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

Disassembly:
push 0xffffffffffffffff
push 0x561ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x700320]
push ebx
push ebp
push edi
mov edi, ecx
mov dword [esp + 0x20], eax
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x80], ebx
mov ecx, 1
xor ebp, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x14c]
mov byte [esp + 0x80], 2
cmp eax, ebx
jne 0x49779e
mov eax, dword [0x75e0b4]
mov eax, dword [eax + 0x30f8]
add eax, 0x7c
push eax
call fcn.00492ae0
mov eax, dword [0x75e150]
add esp, 4
cmp eax, ebx
jg 0x4977f8
lea ecx, [esp + 0xc]
mov byte [esp + 0x80], 1
call fcn.00544250
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 0
call fcn.00544250
lea ecx, [esp + 0x20]
mov dword [esp + 0x80], 0xffffffff
call fcn.00544250
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret
mov dword [edi + 0xfc], 0xffffffff
mov ecx, dword [0x75e0b4]
mov eax, dword [0x75e150]
push esi
mov ecx, dword [ecx + 0x30f8]
mov dword [esp + 0x14], ebx
add ecx, 0x7c
cmp eax, ebx
mov dword [esp + 0x30], ecx
jle 0x497a77
jmp 0x49782d
mov ecx, dword [esp + 0x30]
mov edx, dword [0x75e154]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
push eax
call fcn.00542270
mov esi, eax
mov eax, dword [0x75e150]
cmp eax, 1
jne 0x497858
mov ecx, dword [esi + 0x40]
push ecx
lea ecx, [edi + 0x68]
call fcn.005443e7
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x88]
cmp ecx, 1
jne 0x497898
test eax, eax
je 0x497890
mov ecx, dword [esp + 0x14]
push eax
test ecx, ecx
jne 0x49787f
lea ecx, [esp + 0x28]
call fcn.005443e7
jmp 0x497898
mov edx, dword [esp + 0x28]
push edx
call fcn.00527225
add esp, 8
test eax, eax
je 0x497898
mov dword [esp + 0x28], 0
cmp dword [esp + 0x2c], 1
jne 0x49794e
mov eax, dword [esi + 0xa4]
mov ecx, dword [0x70480c]
test eax, eax
jne 0x4978c7
mov eax, dword [ecx + 0x38dc]
test eax, eax
jne 0x4978c7
push 1
lea eax, [esi + 0xd6]
jmp 0x497905
xor edx, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4978eb
push eax
lea eax, [esp + 0x38]
push eax
jmp 0x4978f7
mov ecx, dword [ecx + 0x38dc]
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.00424cc0
add esp, 8
lea eax, [esp + 0x34]
push 1
push eax
call fcn.00424e90
add esp, 8
lea ecx, [esp + 0x10]
push eax
call fcn.005443e7
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x497930
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.00544397
jmp 0x49794e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00527225
add esp, 8
test eax, eax
je 0x49794e
mov dword [esp + 0x2c], 0
test byte [esi + 0xdd], 2
je 0x4979ac
push esi
call fcn.00422320
mov edx, dword [0x70480c]
lea ecx, [esp + 0x48]
push 1
push ecx
push eax
push edx
call fcn.00419710
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x74]
add esp, 0x14
add ebp, eax
mov eax, dword [esp + 0x18]
adc ebx, ecx
mov ecx, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
add ecx, eax
mov eax, dword [0x75e150]
cmp eax, 1
mov dword [esp + 0x1c], ecx
jle 0x497a07
inc dword [esp + 0x18]
jmp 0x497a07
mov eax, dword [0x70480c]
mov cl, byte [eax + 0x2bc]
test cl, cl
je 0x4979cc
push esi
push eax
call fcn.00419580
add esp, 8
add ebp, eax
adc ebx, 0
jmp 0x4979d6
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
add ebp, ecx
adc ebx, edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x18]
inc ecx
test eax, eax
mov dword [esp + 0x1c], ecx
jne 0x497a11
mov eax, dword [edi + 0xf8]
cmp eax, 0xfffffffe
jne 0x4979ff
mov eax, dword [esi + 0xa8]
mov dword [edi + 0xf8], eax
jmp 0x497a11
cmp eax, dword [esi + 0xa8]
je 0x497a11
mov dword [edi + 0xf8], 0xffffffff
test byte [esi + 0xdd], 1
mov eax, dword [edi + 0xfc]
je 0x497a37
cmp eax, 0xffffffff
jne 0x497a31
mov dword [edi + 0xfc], 1
jmp 0x497a57
test eax, eax
jne 0x497a57
jmp 0x497a4d
cmp eax, 0xffffffff
jne 0x497a48
mov dword [edi + 0xfc], 0
jmp 0x497a57
cmp eax, 1
jne 0x497a57
mov dword [edi + 0xfc], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [0x75e150]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x497829
cmp dword [esp + 0x28], 1
jne 0x497a8a
jmp 0x497a7b
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [edi + 0x6c]
call fcn.00544397
jmp 0x497aa5
push str._Different_Types_
push 0x15ea
call fcn.00506990
add esp, 8
lea ecx, [edi + 0x6c]
push eax
call fcn.005443e7
cmp dword [esp + 0x2c], 1
jne 0x497abb
lea edx, [esp + 0x20]
lea ecx, [edi + 0x78]
push edx
call fcn.00544397
jmp 0x497ad6
push str._Different_Date_
push 0x15f4
call fcn.00506990
add esp, 8
lea ecx, [edi + 0x78]
push eax
call fcn.005443e7
cmp dword [0x75e150], 1
je 0x497afa
push str._Different_Names_
push 0x15e0
call fcn.00506990
add esp, 8
lea ecx, [edi + 0x68]
push eax
call fcn.005443e7
mov eax, dword [esi + 8]
mov ecx, dword [0x70480c]
push 0
push 0
push eax
push ecx
call fcn.0042cfd0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x497b29
push esi
lea ecx, [edi + 0x70]
call fcn.005443e7
push esi
call fcn.004df7a0
add esp, 4
push ebx
push ebp
lea esi, [edi + 0x7c]
call fcn.004e1d90
add esp, 8
mov ecx, esi
push eax
call fcn.005443e7
push 0x6f1064
mov ecx, esi
call fcn.00544641
push ebx
push ebp
call fcn.004e1bc0
add esp, 8
mov ecx, esi
push eax
call fcn.00544641
push 0x68d870
mov ecx, esi
call fcn.00544641
push 0x6916f8
push 0x58c
call fcn.00506990
add esp, 8
mov ecx, esi
push eax
call fcn.00544641
push 0x6916f4
mov ecx, esi
call fcn.00544641
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
push str._d_Files___d_Folders
push 0x1450
call fcn.00506990
add esp, 8
add edi, 0x74
push eax
push edi
call fcn.005412cd
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 1
call fcn.00544250
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 0
call fcn.00544250
lea ecx, [esp + 0x24]
mov dword [esp + 0x84], 0xffffffff
call fcn.00544250
mov ecx, dword [esp + 0x7c]
pop esi
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret