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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ca06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
push 1
push 0x3c
mov eax, dword [ebp + 8]
push eax
call fcn.0053fd56
test eax, eax
jne 0x4dedba
push 0x661
push str.dbrfx.cpp
call fcn.005c3050
test eax, eax
je 0x4dedba
int3
xor ecx, ecx
test ecx, ecx
jne 0x4ded95
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
push edx
call fcn.0053fd32
test eax, eax
jne 0x4dede3
push 0x662
push str.dbrfx.cpp
call fcn.005c3050
test eax, eax
je 0x4dede3
int3
xor eax, eax
test eax, eax
jne 0x4dedc0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004dc9cd
test eax, eax
jne 0x4dedfe
jmp 0x4df8a6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
call fcn.004da08d
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x80], 0x11
ja case.0x4dee2b.4
mov edx, dword [ebp - 0x80]
jmp dword [edx*4 + 0x4df8b9]
push 0x17
push 4
push 0xb
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.004dcacd
jmp 0x4df8a6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x20], 1
mov edx, dword [ebp - 0x10]
sub edx, 1
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call fcn.004da3cf
test eax, eax
je 0x4dee89
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0xffffffff
jmp 0x4defbd
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
cmp dword [eax + 0x7c], 0
jne 0x4deef9
push 0x682
push str.dbrfx.cpp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x18]
shl eax, 2
push eax
call fcn.00564ca3
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0x7c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x18]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x7c]
push eax
call fcn.00500130
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [edx + 0x18]
mov dword [ecx + 0x84], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x7c]
mov eax, dword [ebp - 0x10]
cmp dword [edx + eax*4 - 4], 0
jne 0x4def3e
push 0x68b
push str.dbrfx.cpp
push 0x10
call fcn.00564ca3
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x7c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + edx*4 - 4], eax
jmp 0x4def51
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x7c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 0x10]
call fcn.005bfdaa
mov ecx, dword [ebp - 0x1c]
mov word [ecx], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfdc7
mov edx, dword [ebp - 0x1c]
mov word [edx + 2], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfde2
mov ecx, dword [ebp - 0x1c]
mov word [ecx + 4], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfdfa
mov edx, dword [ebp - 0x1c]
mov word [edx + 6], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfe12
mov ecx, dword [ebp - 0x1c]
mov word [ecx + 8], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfe2a
mov edx, dword [ebp - 0x1c]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0x10
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0x17
push 0xb
push 0xb
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 8]
push edx
mov ax, word [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
push edx
call sub.odbc32.dll_SQLBindParameter
mov word [ebp - 0x18], ax
xor eax, eax
test eax, eax
jne 0x4defbd
movsx ecx, word [ebp - 0x18]
test ecx, ecx
je 0x4df017
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
push eax
mov cx, word [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov eax, dword [edx]
call dword [eax + 0x5c]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
add ecx, 0x5c
call fcn.005c1e9c
jmp 0x4df8a6
mov ecx, dword [ebp - 0x10]
sub ecx, 1
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
call fcn.004da3cf
neg eax
sbb eax, eax
and al, 0xef
add eax, 0x10
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
cmp dword [eax + 0x84], 0
je 0x4df0d7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x7c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp + 0x10]
call fcn.005bfdaa
mov ecx, dword [ebp - 0x20]
mov word [ecx], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfdc7
mov edx, dword [ebp - 0x20]
mov word [edx + 2], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfde2
mov ecx, dword [ebp - 0x20]
mov word [ecx + 4], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfdfa
mov edx, dword [ebp - 0x20]
mov word [edx + 6], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfe12
mov ecx, dword [ebp - 0x20]
mov word [ecx + 8], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfe2a
mov edx, dword [ebp - 0x20]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xc], 0
jmp 0x4df8a6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x10]
sub eax, 1
shl eax, 4
mov ecx, dword [edx + 0x38]
add ecx, eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
movsx eax, word [edx + 4]
cmp eax, 9
je 0x4df139
mov ecx, dword [ebp - 0x24]
movsx edx, word [ecx + 4]
cmp edx, 0xa
je 0x4df139
mov eax, dword [ebp - 0x24]
movsx ecx, word [eax + 4]
cmp ecx, 0xb
je 0x4df139
mov edx, dword [0x684b38]
and edx, 0x20
test edx, edx
je 0x4df139
mov eax, dword [ebp - 0x24]
movsx ecx, word [eax + 4]
push ecx
push str.Warning:_CTime_converted_from_SQL_type__ld._n
call fcn.0053fb15
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
cmp dword [eax + 0x78], 0
jne 0x4df1a9
push 0x6cf
push str.dbrfx.cpp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x14]
shl eax, 2
push eax
call fcn.00564ca3
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x54]
mov dword [edx + 0x78], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x14]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x78]
push eax
call fcn.00500130
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [edx + 0x14]
mov dword [ecx + 0x80], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x78]
mov eax, dword [ebp - 0x10]
cmp dword [edx + eax*4 - 4], 0
jne 0x4df1e6
push 0x6d7
push str.dbrfx.cpp
push 0x10
call fcn.00564ca3
add esp, 0xc
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x78]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x58]
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [ebp - 0x14]
push eax
push 0x10
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x78]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
push edx
push 0xb
mov ax, word [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
push eax
call sub.odbc32.dll_SQLBindCol
mov word [ebp - 0x18], ax
xor ecx, ecx
test ecx, ecx
jne 0x4df1e6
mov dx, word [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov edx, dword [eax]
call dword [edx + 0x50]
test eax, eax
jne 0x4df24f
push 0
mov ax, word [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov edx, dword [eax]
call dword [edx + 0x5c]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
add ecx, 0x40
call fcn.005c1e9c
jmp 0x4df8a6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x80], 0
je 0x4df30d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x78]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*4 - 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x10]
call fcn.005bfdaa
mov ecx, dword [ebp - 0x28]
mov word [ecx], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfdc7
mov edx, dword [ebp - 0x28]
mov word [edx + 2], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfde2
mov ecx, dword [ebp - 0x28]
mov word [ecx + 4], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfdfa
mov edx, dword [ebp - 0x28]
mov word [edx + 6], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfe12
mov ecx, dword [ebp - 0x28]
mov word [ecx + 8], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfe2a
mov edx, dword [ebp - 0x28]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xc], 0
push 0x17
push 0x10
push 0xb
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004dcacd
jmp 0x4df8a6
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0xffffffff
jne 0x4df344
mov edx, dword [ebp - 0x10]
sub edx, 1
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call fcn.004da31f
push 0
lea ecx, [ebp - 0x5c]
call fcn.005bfd36
push eax
mov ecx, dword [ebp + 0x10]
call fcn.005bfd68
jmp 0x4df42c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x78]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
movsx ecx, word [eax]
cmp ecx, 0x7b2
jl 0x4df372
mov edx, dword [ebp - 0x2c]
movsx eax, word [edx]
cmp eax, 0x7f6
jle 0x4df3b8
mov ecx, dword [0x684b38]
and ecx, 0x20
test ecx, ecx
je 0x4df391
push str.Warning:_date_value_out_of_range__returning_NULL_value._n
push 0x66dcbc
call fcn.0053fb15
add esp, 8
mov edx, dword [ebp - 0x10]
sub edx, 1
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call fcn.004da31f
push 0
lea ecx, [ebp - 0x60]
call fcn.005bfd36
push eax
mov ecx, dword [ebp + 0x10]
call fcn.005bfd68
jmp 0x4df42c
mov ecx, dword [0x684b38]
and ecx, 0x20
test ecx, ecx
je 0x4df3e0
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0xc], 0
je 0x4df3e0
push 0x66dcc0
push 0x66dce4
call fcn.0053fb15
add esp, 8
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov cx, word [eax + 0xa]
push ecx
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov ax, word [edx + 8]
push eax
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov dx, word [ecx + 6]
push edx
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov cx, word [eax + 4]
push ecx
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov ax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x2c]
movsx edx, word [ecx]
push edx
lea ecx, [ebp - 0x64]
call fcn.0053d3a0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.005bfd68
jmp 0x4df8a6
mov eax, dword [ebp - 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
call fcn.004da1d7
test eax, eax
je case.0x4dee2b.10
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.00565bc5
push 0x3d
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
call fcn.00565c20
mov edx, dword [ebp - 0x10]
sub edx, 1
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call fcn.004da1d7
test eax, eax
je 0x4df5ad
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x78]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
call fcn.004da2d3
test eax, eax
je 0x4df4b1
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xffffffff
jmp 0x4df51d
mov ecx, dword [ebp + 0x10]
call fcn.005bfdaa
mov ecx, dword [ebp - 0x30]
mov word [ecx], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfdc7
mov edx, dword [ebp - 0x30]
mov word [edx + 2], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfde2
mov ecx, dword [ebp - 0x30]
mov word [ecx + 4], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfdfa
mov edx, dword [ebp - 0x30]
mov word [edx + 6], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfe12
mov ecx, dword [ebp - 0x30]
mov word [ecx + 8], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfe2a
mov edx, dword [ebp - 0x30]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 0x30]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0x10
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x2c]
and ecx, 0x4000
test ecx, ecx
jne 0x4df5ad
push 0x3f
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
call fcn.00565c20
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
call fcn.00565bc5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x10]
sub edx, 1
shl edx, 4
mov eax, dword [ecx + 0x38]
add eax, edx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x30]
push edx
push 0
push 0x17
mov eax, dword [ebp - 0x34]
mov cx, word [eax + 4]
push ecx
push 0xb
push 1
mov edx, dword [ebp + 8]
mov ax, word [edx + 0x28]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
push edx
call sub.odbc32.dll_SQLBindParameter
mov word [ebp - 0x18], ax
xor eax, eax
test eax, eax
jne 0x4df575
jmp 0x4df8a6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0
jne 0x4df5c4
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x4df5cf
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp + 0x10]
jne 0x4df62c
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
je 0x4df608
mov eax, dword [ebp - 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
call fcn.004da31f
push 0
lea ecx, [ebp - 0x68]
call fcn.005bfd36
push eax
mov ecx, dword [ebp + 0x10]
call fcn.005bfd68
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xffffffff
jmp 0x4df623
mov eax, dword [ebp - 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
call fcn.004da377
mov edx, dword [ebp - 0x14]
mov dword [edx], 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
jmp 0x4df8a6
push 0
lea ecx, [ebp - 0x38]
call fcn.005bfd36
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea edx, [ebp - 0x38]
push edx
call fcn.005bfd4e
mov ecx, dword [ebp + 0x10]
call fcn.005bff13
test eax, eax
je 0x4df67a
mov eax, dword [ebp - 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
call fcn.004da223
mov edx, dword [ebp - 0x10]
sub edx, 1
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call fcn.004da377
jmp 0x4df8a6
push 0
lea ecx, [ebp - 0x3c]
call fcn.005bfd36
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp - 0x3c]
push edx
call fcn.005bfd4e
mov ecx, dword [ebp + 0x10]
call fcn.005bff13
test eax, eax
je 0x4df6b6
mov eax, dword [ebp - 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
call fcn.004da377
jmp case.0x4dee2b.4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x10]
sub ecx, 1
imul ecx, ecx, 0x14
mov edx, dword [eax + 0x3c]
add edx, ecx
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov cl, byte [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
sub edx, 1
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call fcn.004da158
mov ecx, dword [ebp - 0x10]
sub ecx, 1
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
call fcn.004da2d3
test eax, eax
jne 0x4df797
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
push edx
call fcn.004e1946
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x78]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4 - 4]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x10]
call fcn.005bfdaa
mov edx, dword [ebp - 0x44]
mov word [edx], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfdc7
mov ecx, dword [ebp - 0x44]
mov word [ecx + 2], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfde2
mov edx, dword [ebp - 0x44]
mov word [edx + 4], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfdfa
mov ecx, dword [ebp - 0x44]
mov word [ecx + 6], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfe12
mov edx, dword [ebp - 0x44]
mov word [edx + 8], ax
mov ecx, dword [ebp + 0x10]
call fcn.005bfe2a
mov ecx, dword [ebp - 0x44]
mov word [ecx + 0xa], ax
mov edx, dword [ebp - 0x44]
mov dword [edx + 0xc], 0
jmp 0x4df7a0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x78]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x10]
cmp ecx, dword [eax + edx*4 - 4]
je 0x4df7ec
mov edx, dword [ebp - 0x10]
push edx
push 0x66dce8
call fcn.0053fb15
add esp, 8
mov eax, 1
test eax, eax
je 0x4df7e6
push 0x795
push str.dbrfx.cpp
call fcn.005c3050
test eax, eax
je 0x4df7e6
int3
xor ecx, ecx
test ecx, ecx
jne 0x4df7c9
jmp 0x4df8a6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x10]
sub ecx, 1
imul ecx, ecx, 0x14
mov edx, dword [eax + 0x3c]
add edx, ecx
mov dword [ebp - 0x48], edx
push 0x79e
push str.dbrfx.cpp
push 4
call fcn.00564ca3
add esp, 0xc
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x78], 0
je 0x4df83c
mov ecx, dword [ebp - 0x78]
call fcn.005bfd28
mov dword [ebp - 0x84], eax
jmp 0x4df846
mov dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x74]
mov dword [ecx], edx
mov eax, dword [ebp - 0x48]
mov dword [eax + 8], 8
jmp 0x4df8a6
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
mov edx, dword [ebp + 0x10]
push edx
call fcn.005bfd4e
push 0x66dd24
mov eax, dword [ebp + 0xc]
push eax
push 0x66dd20
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x38]
call fcn.005c316b
mov ecx, eax
call fcn.005c316b
mov ecx, eax
call fcn.005c316b
push eax
call fcn.0053d77f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc