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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510923
mov eax, dword fs:[0]
push eax
sub esp, 0xb4c
mov eax, dword [0x54f040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xb30], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb10], eax
mov dword [ebp - 0xb14], 1
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
test eax, eax
je 0x4901e4
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4901e4
mov eax, dword [edi + 0x24]
test eax, eax
je 0x48f123
mov edi, dword [eax]
jmp 0x48f126
mov edi, dword [edi + 0x20]
push edi
push str._d_Begin_loading
push 0x3e4
push str.DataManager::LoadCaseCases
push 0
push 0
push 2
push 6
mov dword [ebp - 0xb20], edi
call dword [sym.imp.PHDPFuncs.dll_LogPrintf]
add esp, 0x20
call fcn.00402df0
mov ecx, eax
test ecx, ecx
je 0x49022c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xb4c], esi
mov eax, dword [ebp - 0xb30]
lea ecx, [ebp - 0xb04]
add eax, 4
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0xb3c], eax
call fcn.00426f90
xorps xmm0, xmm0
mov dword [ebp - method.DbEcoCase.virtual_0], vtable.DbEcoCase.0
movups xmmword [ebp - 0x6e4], xmm0
mov dword [ebp - 0x6d4], 0
mov dword [ebp - 0x6d0], 0
mov eax, dword [ebp - 0xb10]
push ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb04]
push dword [eax + 4]
push edi
call fcn.00437740
test al, al
je 0x490002
cmp byte [ebp - 0xaf4], 0
jne 0x490002
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [ebp - 0xb1c], eax
cmp byte [eax + 0xc], 0
jne 0x48f218
call fcn.0044422f
mov eax, dword [ebp - 0xb1c]
cmp byte [eax + 0xc], 0
jne 0x48f218
call fcn.0044422f
mov eax, dword [ebp - 0xb1c]
lea ecx, [ebp - 0xb20]
push ecx
lea ecx, [ebp - 0xb14]
lea eax, [eax + 0x98]
push ecx
mov ecx, eax
call fcn.00405f00
mov ecx, dword [ebp - 0xb1c]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x98]
je 0x48f2ac
mov eax, dword [sym.imp.PHDPFuncs.dll_LogPrintf]
push edi
push str._d_Circular_reference_in_case_relationships_detected.
push 0x3f5
push str.DataManager::LoadCaseCases
push 0x525dcc
push 0
push 5
push 6
call eax
mov esi, dword [ebp - 0xb1c]
add esp, 0x20
cmp byte [esi + 0xc], 0
jne 0x48f27c
call fcn.0044422f
lea eax, [esi + 0x98]
mov ecx, eax
call fcn.00409120
lea ecx, [ebp - 0xb04]
call fcn.0040ad10
lea ecx, [ebp - 0xb4c]
call fcn.00401b10
lea ecx, [ebp + 0xc]
call fcn.004017e0
jmp 0x49020c
cmp byte [ecx + 0xc], 0
jne 0x48f2c0
call fcn.0044422f
mov ecx, dword [ebp - 0xb1c]
lea eax, [ebp - 0xb20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ecx + 0x98]
call fcn.00409170
push 0x160
call fcn.00443e65
add esp, 4
mov edi, eax
mov dword [ebp - 0xb14], edi
push 0x160
push 0
push edi
call fcn.00446190
add esp, 0xc
mov ecx, edi
call fcn.0040bb40
mov ecx, dword [ebp - 0xb30]
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0c], edi
mov dword [ebp - 0xb24], eax
test ecx, ecx
je 0x48f364
push 0x470
mov dword [eax + 8], ecx
call fcn.00443e65
add esp, 4
mov dword [ebp - 0xb14], eax
push dword [ebp - 0xb3c]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0042e5c0
mov edx, dword [ebp - 0xb24]
mov byte [ebp - 4], 3
mov ecx, dword [edx + 0x450]
mov dword [edx + 0x450], eax
test ecx, ecx
je 0x48f364
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x6cc]
lea ecx, [ebp - 0x6bc]
mov dword [edi], eax
mov eax, dword [ebp - 0x6c4]
mov dword [edi + 0x78], eax
mov eax, dword [ebp - 0x6c0]
mov dword [edi + 0x80], eax
mov eax, dword [ebp - 0x1fc]
mov dword [edi + 0x84], eax
lea eax, [ecx + 2]
mov dword [ebp - 0xb24], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f3a0
sub ecx, dword [ebp - 0xb24]
lea eax, [ebp - 0x6bc]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x88]
call fcn.004044a0
lea ecx, [edi + 0x88]
call fcn.0040a9e0
mov eax, dword [ebp - 0xb10]
xor edx, edx
mov word [edi + 0x7c], 0x100
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0xb34], edx
mov dword [ebp - 0xb24], edi
mov eax, dword [eax + 0x10]
add eax, 0xa4
mov dword [ebp - 0xb40], edi
mov dword [ebp - 0xb08], eax
mov edi, dword [ebp - 0xb08]
mov dword [ebp - 0xb48], edx
mov eax, dword [eax + 4]
mov dword [ebp - 0xb44], ecx
sub eax, dword [edi]
mov edi, dword [ebp - 0xb0c]
sar eax, 2
test eax, eax
je 0x48f486
cmp eax, 0x3fffffff
ja 0x490236
push eax
lea ecx, [ebp - 0xb48]
call fcn.00403cc0
mov eax, dword [ebp - 0xb08]
mov edx, dword [ebp - 0xb48]
mov dword [ebp - 0xb34], edx
mov edi, dword [eax + 4]
mov eax, dword [eax]
sub edi, eax
push edi
push eax
push edx
call fcn.00445c10
mov edx, dword [ebp - 0xb34]
add esp, 0xc
sar edi, 2
lea ecx, [edx + edi*4]
mov edi, dword [ebp - 0xb40]
mov dword [ebp - 0xb24], edi
mov edi, dword [ebp - 0xb0c]
mov dword [ebp - 0xb44], ecx
sub ecx, edx
mov byte [ebp - 4], 5
sar ecx, 2
xor eax, eax
test ecx, ecx
je 0x48f4ec
mov edx, dword [edi + 0x78]
mov dword [ebp - 0xb08], edx
mov edx, dword [ebp - 0xb34]
nop dword [eax]
nop dword [eax + eax]
mov edi, dword [ebp - 0xb08]
cmp dword [edx + eax*4], edi
mov edi, dword [ebp - 0xb0c]
je 0x48f4c8
inc eax
cmp eax, ecx
jb 0x48f4b0
jmp 0x48f4ec
mov eax, dword [ebp - 0xb10]
mov byte [edi + 0x7d], 0
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x9c]
sub ecx, dword [eax + 0x98]
sar ecx, 4
test ecx, ecx
je 0x48f4ec
mov byte [edi + 0x7c], 1
lea edx, [edi + 0x138]
lea eax, [ebp - 0x6e4]
cmp edx, eax
je 0x48f51c
mov ecx, dword [ebp - 0x6e4]
mov eax, dword [ebp - 0x6e0]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
push eax
push ecx
mov ecx, edx
call fcn.0040ccc0
lea edx, [edi + 0x144]
lea eax, [ebp - 0x6d8]
cmp edx, eax
je 0x48f546
mov ecx, dword [ebp - 0x6d8]
mov eax, dword [ebp - 0x6d4]
sub eax, ecx
sar eax, 4
push eax
push ecx
mov ecx, edx
call fcn.00406d60
movsd xmm0, qword [ebp - 0x20c]
lea ecx, [ebp - 0x656]
movsd qword [edi + 0x110], xmm0
lea eax, [ecx + 2]
movsd xmm0, qword [ebp - 0x204]
movsd qword [edi + 0x118], xmm0
mov dword [ebp - 0xb08], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f575
sub ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x656]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x8c]
call fcn.004044a0
lea ecx, [edi + 0x8c]
call fcn.0040a9e0
mov eax, dword [ebp - 0x5f0]
lea ecx, [ebp - 0x5e8]
mov dword [edi + 0x90], eax
mov eax, dword [ebp - 0x5ec]
mov dword [edi + 0x94], eax
lea eax, [ecx + 2]
mov dword [ebp - 0xb08], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f5d0
sub ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x5e8]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x98]
call fcn.004044a0
lea ecx, [edi + 0x98]
call fcn.0040a9e0
lea ecx, [ebp - 0x56e]
lea eax, [ecx + 2]
mov dword [ebp - 0xb08], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f610
sub ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x56e]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x9c]
call fcn.004044a0
lea ecx, [edi + 0x9c]
call fcn.0040a9e0
lea ecx, [ebp - 0x4f4]
lea eax, [ecx + 2]
mov dword [ebp - 0xb08], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f650
sub ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x4f4]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0xa0]
call fcn.004044a0
lea ecx, [edi + 0xa0]
call fcn.0040a9e0
lea ecx, [ebp - 0x498]
lea eax, [ecx + 2]
mov dword [ebp - 0xb08], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f690
sub ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x498]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0xa4]
call fcn.004044a0
lea ecx, [edi + 0xa4]
call fcn.0040a9e0
lea ecx, [ebp - 0x46e]
lea eax, [ecx + 2]
mov dword [ebp - 0xb08], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f6d0
sub ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x46e]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0xa8]
call fcn.004044a0
lea ecx, [edi + 0xa8]
call fcn.0040a9e0
lea ecx, [ebp - 0x412]
lea eax, [ecx + 2]
mov dword [ebp - 0xb08], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f710
sub ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x412]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0xac]
call fcn.004044a0
lea ecx, [edi + 0xac]
call fcn.0040a9e0
lea ecx, [ebp - 0x398]
lea eax, [ecx + 2]
mov dword [ebp - 0xb08], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f750
sub ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x398]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0xb0]
call fcn.004044a0
lea ecx, [edi + 0xb0]
call fcn.0040a9e0
lea ecx, [ebp - 0x31e]
lea eax, [ecx + 2]
mov dword [ebp - 0xb08], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f790
sub ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x31e]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0xb4]
call fcn.004044a0
lea ecx, [edi + 0xb4]
call fcn.0040a9e0
mov eax, dword [ebp - 0x2cc]
mov dword [edi + 0xb8], eax
mov eax, dword [ebp - 0x2c8]
mov dword [edi + 0xbc], eax
mov eax, dword [ebp - 0x2c4]
mov dword [edi + 0xc0], eax
mov eax, dword [ebp - 0x2c0]
mov dword [edi + 0xc4], eax
mov eax, dword [ebp - 0x2bc]
mov dword [edi + 0xc8], eax
cmp dword [ebp - 0xcc], 8
jne 0x48f810
movsd xmm0, qword [ebp - 0x1f4]
jmp 0x48f813
xorps xmm0, xmm0
movsd qword [edi + 0x120], xmm0
cmp dword [ebp - 0xc8], 8
jne 0x48f82e
movsd xmm0, qword [ebp - 0x1ec]
jmp 0x48f831
xorps xmm0, xmm0
cmp byte [ebp + 0x14], 0
movsd qword [edi + 0x128], xmm0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x21c]
mov dword [ecx + 0x3d0], eax
jne 0x48f993
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3d0]
test eax, eax
jle 0x48f993
mov ecx, dword [ebp - 0xb30]
push 0
push 0
push 0
push eax
push dword [ebp - 0xb10]
lea eax, [ebp - 0xb2c]
push eax
call fcn.00495340
cmp dword [ebp - 0xb2c], 0
jne 0x48f8cd
push dword [ebp - 0x21c]
mov eax, dword [sym.imp.PHDPFuncs.dll_LogPrintf]
push dword [ebp - 0xb20]
push str._d_Incremental_base_case___d__failed_to_load
push 0x44f
push str.DataManager::LoadCaseCases
push 0x525dcc
push 0
push 5
push 6
call eax
mov eax, dword [ebp + 0xc]
add esp, 0x24
mov dword [eax + 0x3d0], 0
jmp 0x48f988
lea eax, [ebp - 0xb2c]
push eax
lea ecx, [ebp - 0xb18]
call fcn.00401810
mov ecx, dword [ebp - 0xb14]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xb08], edx
test ecx, ecx
je 0x48f8fc
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0xb14]
mov eax, dword [ebp - 0xb18]
mov dword [edx + 0x3d4], eax
mov eax, dword [ebp - 0xb08]
mov edx, dword [edx + 0x3d8]
mov dword [ebp - 0xb0c], edx
mov dword [eax + 0x3d8], ecx
or ecx, 0xffffffff
test edx, edx
je 0x48f952
mov eax, ecx
lock xadd dword [edx + 4], eax
jne 0x48f952
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov edx, dword [ebp - 0xb0c]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [edx + 8], eax
jne 0x48f952
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
or ecx, 0xffffffff
mov edx, dword [ebp - 0xb14]
mov dword [ebp - 0xb08], edx
test edx, edx
je 0x48f988
mov eax, ecx
lock xadd dword [edx + 4], eax
jne 0x48f988
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xb08]
lock xadd dword [ecx + 8], eax
jne 0x48f988
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xb2c]
call fcn.004017e0
mov eax, dword [ebp - 0x218]
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x3e4], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x294]
test eax, eax
movsd xmm0, qword [ebp - 0x28c]
cmovns ecx, eax
movsd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x2a8]
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x2b8]
mov dword [ebp - 0xb14], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0xb28], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0xb0c], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0xb08], eax
mov eax, esp
mov dword [ebp - 0xb38], ecx
lea ecx, [ebp - 0x74]
movups xmmword [eax], xmm0
call sym.PHDEco.exe_public:_void___thiscall_PHDDate::constructor_struct_tagTIMESTAMP_STRUCT_
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.PHDPFuncs.dll_public:_void___thiscall_Date::constructor_struct_PHDDate_const__]
mov eax, dword [ebp - 0x2a0]
movups xmm0, xmmword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xb08]
movsd xmm1, qword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xb0c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xb38]
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0xb28]
movups xmmword [edi + 8], xmm0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xb14]
mov dword [ebp - 0x54], eax
movups xmm0, xmmword [ebp - 0x54]
movsd qword [ebp - 0x3c], xmm1
movups xmmword [edi + 0x18], xmm0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [edi + 0x28], xmm0
movzx eax, word [edi + 0xe]
push dword [edi + 8]
push eax
movzx eax, word [edi + 0xc]
push eax
push dword [ebp - 0xb20]
push str._d_Start_Date__d__d__d
push 0x463
push str.DataManager::LoadCaseCases
push 0x525dcc
push 0
push 6
push 6
call dword [sym.imp.PHDPFuncs.dll_LogPrintf]
mov eax, dword [ebp - 0x244]
xor ecx, ecx
movsd xmm0, qword [ebp - 0x23c]
test eax, eax
movsd qword [ebp - 0x1c], xmm0
cmovns ecx, eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0xb0c], eax
add esp, 0x1c
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0xb08], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0xb28], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0xb14], eax
mov eax, esp
mov dword [ebp - 0xb38], ecx
movups xmm0, xmmword [ebp - 0x268]
lea ecx, [ebp - 0x74]
movups xmmword [eax], xmm0
call sym.PHDEco.exe_public:_void___thiscall_PHDDate::constructor_struct_tagTIMESTAMP_STRUCT_
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.PHDPFuncs.dll_public:_void___thiscall_Date::constructor_struct_PHDDate_const__]
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x34]
movups xmm0, xmmword [ebp - 0x34]
sub esp, 0x10
mov dword [ebp - 0x50], eax
movsd xmm1, qword [ebp - 0x1c]
mov eax, dword [ebp - 0xb14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xb28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xb38]
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0xb08]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xb0c]
movups xmmword [edi + 0x38], xmm0
mov dword [ebp - 0x54], eax
mov eax, esp
movups xmm0, xmmword [ebp - 0x54]
movsd qword [ebp - 0x3c], xmm1
movups xmmword [edi + 0x48], xmm0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [edi + 0x58], xmm0
movups xmm0, xmmword [ebp - 0x1dc]
movups xmmword [eax], xmm0
call sym.PHDEco.exe_public:_void___thiscall_PHDDate::constructor_struct_tagTIMESTAMP_STRUCT_
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x74]
call dword [sym.imp.PHDPFuncs.dll_public:_void___thiscall_Date::constructor_struct_PHDDate_const__]
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x68], xmm0
cmp byte [ebp - 0x224], 0
jne 0x48fbb8
mov eax, dword [ebp - 0x26c]
mov dword [edi + 0xec], eax
mov eax, dword [ebp - 0x26c]
jmp 0x48fbca
mov eax, dword [ebp - 0xb10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [edi + 0xec], eax
test eax, eax
jg 0x48fbd8
mov dword [edi + 0xec], 0x32
mov al, byte [ebp - 0x223]
mov byte [edi + 0xe8], al
movsd xmm0, qword [ebp - 0x274]
movsd qword [edi + 0xe0], xmm0
mov eax, dword [ebp - 0x234]
mov dword [edi + 0xf4], eax
cmp eax, 0xffffffff
jne 0x48fc21
xor eax, eax
mov dword [ebp - 0x24], 0x707
mov dword [ebp - 0x20], 0x1f000c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
movups xmm0, xmmword [ebp - 0x24]
jmp 0x48fc46
movups xmm0, xmmword [ebp - 0x284]
sub esp, 0x10
lea ecx, [ebp - 0x74]
mov eax, esp
movups xmmword [eax], xmm0
call sym.PHDEco.exe_public:_void___thiscall_PHDDate::constructor_struct_tagTIMESTAMP_STRUCT_
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.PHDPFuncs.dll_public:_void___thiscall_Date::constructor_struct_PHDDate_const__]
movups xmm0, xmmword [ebp - 0x34]
push dword [edi + 0x84]
movups xmmword [edi + 0xcc], xmm0
mov eax, dword [ebp - 0x1cc]
xor ecx, ecx
push dword [ebp - 0xb3c]
test eax, eax
cmovns ecx, eax
mov dword [edi + 0x130], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x1c8]
test eax, eax
cmovns ecx, eax
mov dword [edi + 0x134], ecx
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0xb10]
mov dword [edi + 0xf8], eax
mov eax, dword [ebp - 0x228]
mov dword [edi + 0x108], eax
mov eax, dword [ebp - 0x220]
mov dword [edi + 0xfc], eax
mov eax, dword [ebp - 0x210]
mov dword [edi + 0x100], eax
mov al, byte [ebp - 0x1e4]
mov byte [edi + 0x104], al
lea eax, [ebp - 0x20]
push eax
call fcn.004da3b0
lea ecx, [edi + 0x150]
mov dword [ebp - 0xb14], eax
cmp ecx, eax
je 0x48fd13
call fcn.00403530
mov ecx, dword [ebp - 0xb14]
mov eax, dword [ecx]
mov dword [edi + 0x150], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x154], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x158], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x48fd4a
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xffffffe0
cmp ecx, 0x1000
jb 0x48fd40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49023b
push ecx
push edx
call fcn.00443e34
add esp, 8
lea ecx, [ebp - 0xb04]
call fcn.004276b0
cmp byte [ebp + 0x18], 0
mov dword [edi + 0x10c], 0
jne 0x48fe2a
mov eax, dword [ebp - 0xb10]
push dword [ebp - 0xb20]
push dword [eax + 4]
push ecx
lea ecx, [ebp - 0xb04]
call fcn.00438060
mov edx, eax
mov dword [edi + 0x10c], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x48fd9a
mov eax, dword [eax]
jmp 0x48fda0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
cmp edx, eax
jne 0x48fdb0
mov dword [edi + 0x10c], 0
jmp 0x48fe2a
test edx, edx
jle 0x48fe2a
mov ecx, dword [ebp - 0xb30]
lea eax, [ebp - 0xb2c]
push 0
push 0
push 0
push edx
push dword [ebp - 0xb10]
push eax
call fcn.00495340
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xb2c]
test ecx, ecx
je 0x48fe15
mov al, byte [ecx + 0x40c]
cmp al, 1
je 0x48fdef
cmp al, 3
jne 0x48fe15
push 0
push 1
push 0
call fcn.0047fe80
sub esp, 8
lea eax, [ebp - 0xb2c]
mov ecx, esp
push eax
call fcn.00401810
mov ecx, dword [ebp + 0xc]
call fcn.00409f80
jmp 0x48fe1f
mov dword [edi + 0x10c], 0
lea ecx, [ebp - 0xb2c]
call fcn.004017e0
push dword [ebp - 0xb20]
mov eax, dword [ebp + 0xc]
push str._d_Complete
push 0x4a3
push str.DataManager::LoadCaseCases
push 0
push 0
push 2
push 6
mov dword [eax + 0x24], edi
call dword [sym.imp.PHDPFuncs.dll_LogPrintf]
mov edi, dword [ebp - 0xb1c]
add esp, 0x20
cmp byte [edi + 0xc], 0
jne 0x48fe6a
call fcn.0044422f
lea eax, [edi + 0x98]
mov edi, dword [eax]
mov ecx, eax
push dword [edi + 4]
push eax
call fcn.004093a0
mov ecx, dword [ebp - 0xb1c]
mov edx, dword [ebp - 0xb34]
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
mov dword [ecx + 0x9c], 0
mov byte [ebp - 4], 3
test edx, edx
je 0x48fedd
mov eax, dword [ebp - 0xb24]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x48fed3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490240
push ecx
push edx
call fcn.00443e34
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x6d8]
mov dword [ebp - method.DbEcoCase.virtual_0], vtable.DbEcoCase.0
test edx, edx
je 0x48ff46
mov ecx, dword [ebp - 0x6d0]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x48ff1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490240
push ecx
push edx
call fcn.00443e34
add esp, 8
mov dword [ebp - 0x6d8], 0
mov dword [ebp - 0x6d4], 0
mov dword [ebp - 0x6d0], 0
mov ecx, dword [ebp - 0x6e4]
test ecx, ecx
je 0x48ffad
mov eax, dword [ebp - 0x6dc]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
lea edx, [eax + eax*2]
mov eax, ecx
shl edx, 3
cmp edx, 0x1000
jb 0x48ff85
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490240
push edx
push ecx
call fcn.00443e34
add esp, 8
mov dword [ebp - 0x6e4], 0
mov dword [ebp - 0x6e0], 0
mov dword [ebp - 0x6dc], 0
lea ecx, [ebp - 0xb04]
call fcn.004270c0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ffd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x48fffb
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x48fffb
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x48fffb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, 1
jmp 0x49020e
push edi
push str._d_DbEcoCase.Open_failed.
push 0x3ed
push str.DataManager::LoadCaseCases
push 0x525dcc
push 0
push 5
push 6
call dword [sym.imp.PHDPFuncs.dll_LogPrintf]
mov eax, dword fs:[0x2c]
add esp, 0x20
mov edi, dword [eax]
mov dword [ebp - 0xb14], edi
cmp byte [edi + 0xc], 0
jne 0x490042
call fcn.0044422f
lea eax, [edi + 0x98]
mov edi, dword [eax]
mov ecx, eax
push dword [edi + 4]
push eax
call fcn.004093a0
mov eax, dword [ebp - 0xb14]
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x6d8]
mov dword [eax + 0x9c], 0
mov dword [ebp - method.DbEcoCase.virtual_0], vtable.DbEcoCase.0
test edx, edx
je 0x4900d6
mov ecx, dword [ebp - 0x6d0]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x4900ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490240
push ecx
push edx
call fcn.00443e34
add esp, 8
mov dword [ebp - 0x6d8], 0
mov dword [ebp - 0x6d4], 0
mov dword [ebp - 0x6d0], 0
mov ecx, dword [ebp - 0x6e4]
test ecx, ecx
je 0x49013d
mov eax, dword [ebp - 0x6dc]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
lea edx, [eax + eax*2]
mov eax, ecx
shl edx, 3
cmp edx, 0x1000
jb 0x490115
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490240
push edx
push ecx
call fcn.00443e34
add esp, 8
mov dword [ebp - 0x6e4], 0
mov dword [ebp - 0x6e0], 0
mov dword [ebp - 0x6dc], 0
lea ecx, [ebp - 0xb04]
call fcn.004270c0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490166
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x49020c
jmp 0x4901ee
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x49020c
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x49020c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x49020c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00443e26
mov esp, ebp
pop ebp
ret 0x14
push 0x80004005
call fcn.00404320
call fcn.00402310
call fcn.0044d695
call fcn.0044d695
int3