Function at 0x4784c4
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x40
pushal
mov esi, eax
mov eax, dword [esi + 0x1d]
mov ecx, dword [eax]
movzx eax, bx
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x2a7]
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x20]
cmp edi, 0
je 0x478631
mov edx, str.Binding_Column
mov ebp, edi
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47851b
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x478520
mov ebx, 0
mov eax, ebp
mov ecx, edx
lea edx, [esp + 0x3c]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47853c
push ebp
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov ebp, dword [esp + 0x24]
movzx eax, word [ebp + 4]
mov edx, edi
mov dword [esp + 0x34], edx
lea ebx, [esp + 0x40]
mov dword [esp + 0x2c], ebx
mov ecx, 0xa
call fcn.00474948
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x2c]
cmp ecx, 0
je 0x47858b
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x478590
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x54]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x4785ad
push dword [esp + 0x34]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov dword [esp + 0x28], str._to_C_type
mov edx, edi
mov dword [esp + 0x38], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x28]
cmp ecx, 0
je 0x4785ea
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x4785ef
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x58]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47860c
push dword [esp + 0x38]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov eax, edi
mov bx, word [ebp + 6]
call fcn.004787ec
mov eax, esi
mov ebx, edi
mov ecx, 0x59ea60
mov dl, 1
call fcn.0047cc4c
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + 0x10]
push ebx
mov ebx, dword [eax + 0xc]
push ebx
mov ebx, dword [eax + 8]
push ebx
movsx ebx, word [eax + 6]
push ebx
movzx eax, word [eax + 4]
push eax
mov eax, dword [esi + 4]
push eax
call dword [0x59f998]
mov bx, ax
mov eax, esi
call fcn.0047cd04
cmp edi, 0
je 0x478754
mov edx, 0x59eac0
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 0x47869d
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x4786a2
mov ebx, 0
mov eax, edi
mov ecx, edx
lea ebp, [esp + 0x5c]
mov edx, ebp
call fcn.0051a40c
mov eax, edi
mov edx, ebp
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 0x47871f
mov eax, 0x5218a0
call fcn.00420750
mov ebx, eax
jmp 0x478724
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2d2], 2
je 0x4784e6
jmp 0x47875a
mov ebx, 0
mov eax, edi
mov edx, ebp
mov ecx, 0x5218a0
call fcn.0051a40c
mov eax, edi
mov edx, ebp
mov ebx, 2
mov ecx, 0x59eae4
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x478754
push edi
call sub.KERNEL32.dll_FlushFileBuffers
cmp byte [esi + 0x14], 0
jne 0x47870d
popal
add esp, 0x40
ret