Function at 0x4761a8
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x3c
pushal
mov esi, eax
mov dword [esp + 0x40], ecx
lea ebp, [esp + 0x44]
mov eax, ebp
call fcn.00514a14
mov eax, esi
call fcn.00476088
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x2a7]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
call fcn.00489264
mov ebx, dword [esi + 0xc]
mov dword [ebx + 0x2d2], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2d2], 0
je 0x476215
mov eax, ebp
call fcn.00514a2c
mov dword [ebp], 0
mov dword [ebp + 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp + 4], eax
mov eax, ebp
call fcn.00514a2c
jmp 0x47644c
mov eax, dword [esi + 0xc]
lea eax, [eax + 0xc4]
mov ebx, eax
mov ebx, dword [ebx + 4]
cmp ebx, 0
je 0x47622f
call fcn.0051448c
jmp 0x476234
mov eax, 0
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x24]
cmp edi, 0
je 0x476313
mov eax, esi
mov ebx, edi
mov ecx, str.Preparing
mov dl, 1
call fcn.0047cc4c
mov dword [esp + 0x2c], 0x59eca0
mov edx, edi
mov dword [esp + 0x38], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x2c]
cmp ecx, 0
je 0x476288
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x47628d
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x50]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x4762aa
push dword [esp + 0x38]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov edx, edi
mov dword [esp + 0x3c], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x28]
cmp ecx, 0
je 0x4762e7
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x4762ec
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x54]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x476309
push dword [esp + 0x3c]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
push dword [esp + 0x40]
push dword [esp + 0x38]
mov eax, dword [esi + 4]
push eax
call dword [0x59f9c4]
mov bx, ax
mov eax, esi
call fcn.0047cd04
cmp edi, 0
je 0x476424
mov edx, 0x59eca4
call fcn.0040fbf0
sub eax, dword [0x52169c]
mov dword [esp + 0x30], eax
mov eax, edi
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47636d
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x476372
mov ebx, 0
mov eax, edi
mov ecx, edx
lea edx, [esp + 0x58]
mov dword [esp + 0x20], edx
call fcn.0051a40c
mov eax, edi
mov ebx, 0xc
mov ecx, str._Time_Taken:
call fcn.0051a40c
mov eax, dword [esp + 0x30]
mov ebx, 0x64
cdq
idiv ebx
push edx
push eax
push str._ld._02ld_secs
push 0x5218a0
call fcn.004dbfa0
add esp, 0x10
mov eax, edi
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x5218a0
cmp eax, 0
je 0x4763ef
mov eax, 0x5218a0
call fcn.00420750
mov ebx, eax
jmp 0x4763f4
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2d2], 2
je 0x476238
jmp 0x47642a
mov ebx, 0
mov eax, edi
mov edx, dword [esp + 0x20]
mov ecx, 0x5218a0
call fcn.0051a40c
mov eax, edi
mov ebx, 2
mov ecx, 0x59eae4
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x476424
push edi
call sub.KERNEL32.dll_FlushFileBuffers
cmp byte [esi + 0x14], 0
jne 0x4763dd
mov eax, ebp
call fcn.00514a2c
mov dword [ebp], 0
mov dword [ebp + 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp + 4], eax
mov eax, ebp
call fcn.00514a2c
popal
add esp, 0x3c
ret