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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
cmp dword [edi + 0x274], 3
je 0x5d4752
lea esi, [edi + 0x244]
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.005cc443
test al, al
je 0x5d3efe
push dword [ebp + 8]
call fcn.005dc65d
pop ecx
jmp 0x5d3f01
mov eax, dword [ebp + 8]
cmp byte [edi + 0x539], 0
mov dword [esp + 0x1c], eax
jne 0x5d3f3a
mov ecx, esi
call fcn.005cc2c2
test al, al
jne 0x5d3f3a
mov ecx, esi
call fcn.005cc540
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.005cc676
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.005d5860
mov ecx, esi
call fcn.005cc2c2
test al, al
je 0x5d3f5b
mov ecx, esi
call fcn.005cc443
test al, al
je 0x5d3f5b
mov al, 1
jmp 0x5d3f5d
xor al, al
mov esi, dword [esp + 0x1c]
push eax
push esi
call fcn.005d5888
pop ecx
pop ecx
test al, al
je 0x5d4177
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.005cc2c2
mov ecx, esi
test al, al
je 0x5d3f8a
call fcn.005cc559
jmp 0x5d3f8f
call fcn.005cc540
mov esi, eax
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.005cc2c2
test al, al
jne 0x5d3faf
mov ecx, edi
call fcn.005cc0b3
mov eax, dword [esp + 0x34]
mov edx, 0x97c
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ecx
cmp eax, edx
jg 0x5d4069
je 0x5d4014
sub eax, 0x901
je 0x5d4014
dec eax
sub eax, 1
je 0x5d40b0
sub eax, 6
je 0x5d4091
dec eax
sub eax, 1
je 0x5d407f
sub eax, 0x11
jne 0x5d40f5
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [edx + 0x2ac]
call fcn.005c3d3a
jmp 0x5d40ec
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [edx + 0x2ac]
call fcn.005c1d27
test al, al
je 0x5d4038
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5d4038
sub eax, 1
jmp 0x5d40dd
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x540]
shr eax, 2
test al, 1
je 0x5d4060
push dword [esp + 8]
mov ecx, dword [ecx + 0x2ac]
call fcn.005c10ce
test eax, eax
jle 0x5d40f5
dec dword [esp + 8]
jmp 0x5d40f0
sub eax, 0x97d
je 0x5d40b0
sub eax, 1
je 0x5d4091
sub eax, 1
je 0x5d3fff
sub eax, 1
jne 0x5d40f5
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [edx + 0x2ac]
call fcn.005c2182
jmp 0x5d40ec
mov edx, dword [esp + 0x10]
push ecx
mov edi, dword [edx + 0x2ac]
add edi, 4
push edi
mov esi, dword [edi]
call dword [esi + 0x14]
push eax
push edi
call dword [esi + 0x18]
mov edi, dword [esp + 0x18]
jmp 0x5d40ec
mov eax, dword [esp + 0x10]
test byte [eax + 0x540], 1
je 0x5d40e9
mov esi, dword [eax + 0x2ac]
mov ecx, edi
call fcn.005cc41c
push eax
mov ecx, esi
call fcn.005c1d27
test al, al
je 0x5d40e5
mov eax, dword [esp + 0xc]
add eax, 1
js 0x5d40f5
mov dword [esp + 0xc], eax
jmp 0x5d40f5
mov ecx, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [esp + 8], eax
and dword [esp + 0xc], 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xc]
call fcn.005cbea7
xor ecx, ecx
push 0xffffffffffffffff
inc ecx
test al, al
pop eax
cmovne ecx, eax
lea eax, [esp + 0x28]
push ecx
push dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x10]
push eax
call fcn.005d6be2
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 8], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], ecx
mov ecx, edi
mov dword [edx + 0x274], 2
mov dword [esp + 0x68], eax
call fcn.005cc559
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x60]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.005db3cf
jmp 0x5d46fb
lea ecx, [edi + 0x244]
call fcn.005cc2c2
test al, al
je 0x5d425f
push esi
call fcn.005d754f
pop ecx
lea ecx, [edi + 0x244]
test eax, eax
jle 0x5d41b7
lea eax, [esp + 0x78]
push eax
call fcn.005cc34b
lea edx, [eax + 8]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x2c], eax
jmp 0x5d41d3
lea eax, [esp + 0x88]
push eax
call fcn.005cc34b
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
sub esi, 0x908
je 0x5d420b
dec esi
sub esi, 1
je 0x5d41f9
sub esi, 0x11
jne 0x5d422a
mov ecx, dword [edi + 0x2ac]
push eax
call fcn.005c3d3a
jmp 0x5d4228
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x2ac]
push eax
call fcn.005c2182
jmp 0x5d4228
mov edi, dword [edi + 0x2ac]
mov eax, dword [esp + 0x1c]
add edi, 4
push eax
push edi
mov esi, dword [edi]
call dword [esi + 0x14]
push eax
push edi
call dword [esi + 0x18]
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov dword [edi + 0x274], 1
lea esi, [esp + 0x30]
sub esp, 0x10
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], ecx
mov edi, esp
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.005cc676
jmp 0x5d46fb
cmp byte [edi + 0x53a], 0
jne 0x5d427a
mov ecx, edi
call fcn.005d5860
lea ecx, [edi + 0x244]
call fcn.005cc0b3
and dword [esp + 0x14], 0
lea ecx, [edi + 0x244]
call fcn.005cc0aa
test eax, eax
je 0x5d46fb
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [edi + 0x244]
call fcn.005cc534
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, 0x956
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
cmp esi, eax
jg 0x5d43d8
je 0x5d443c
lea eax, [esi - 0x900]
cmp eax, 0x2d
ja case.0x5d42e0.2316
movzx eax, byte [eax + 0x5d4789]
jmp dword [eax*4 + 0x5d475d]
test edx, edx
je 0x5d42fd
sub edx, 1
js case.0x5d42e0.2316
mov dword [esp + 0xc], edx
jmp case.0x5d42e0.2316
mov eax, dword [edi + 0x540]
shr eax, 2
test al, 1
je 0x5d4322
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.005c10ce
test eax, eax
jle case.0x5d42e0.2316
mov ecx, dword [esp + 8]
lea eax, [ecx - 1]
jmp 0x5d44d5
mov eax, dword [edi + 0x540]
shr eax, 1
test al, 1
je 0x5d4360
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.005c1d27
test al, al
je 0x5d435c
mov eax, dword [esp + 0xc]
add eax, 1
js case.0x5d42e0.2316
mov dword [esp + 0xc], eax
jmp case.0x5d42e0.2316
mov ecx, dword [esp + 8]
lea eax, [ecx + 1]
jmp 0x5d44d5
or eax, 0xffffffff
push eax
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.005c297b
jmp 0x5d44d5
push 1
jmp 0x5d436c
push ecx
mov edi, dword [edi + 0x2ac]
add edi, 4
push edi
mov esi, dword [edi]
call dword [esi + 0x14]
push eax
push edi
call dword [esi + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
jmp 0x5d44d5
push 1
push ecx
mov ecx, edi
call fcn.005dbb28
jmp 0x5d44d5
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.005c3d3a
jmp 0x5d44d5
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.005c2182
jmp 0x5d44d5
push 0
jmp 0x5d43a5
mov eax, 0x992
cmp esi, eax
jg 0x5d4495
je case.0x5d42e0.2349
mov eax, esi
sub eax, 0x957
je 0x5d443c
sub eax, 1
je 0x5d442b
sub eax, 1
je 0x5d442b
sub eax, 0x2e
je 0x5d4425
sub eax, 1
je 0x5d4425
sub eax, 1
je 0x5d4412
sub eax, 1
jne case.0x5d42e0.2316
push 1
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.005c2855
jmp 0x5d44d5
or eax, 0xffffffff
push eax
jmp 0x5d4414
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.005c40e3
jmp 0x5d44d5
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.005c3e2a
jmp 0x5d44d5
push 1
push ecx
mov ecx, edi
call fcn.005dbb28
or ecx, 0xffffffff
push ecx
push 0
push eax
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.005d6be2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], eax
lea eax, [esp + 8]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x48]
push eax
call fcn.005cbebd
test al, al
je case.0x5d42e0.2316
push dword [esp + 8]
jmp 0x5d4382
mov eax, esi
sub eax, 0x993
je 0x5d44cd
sub eax, 1
je 0x5d44cd
sub eax, 1
je 0x5d44c3
sub eax, 1
je 0x5d44c3
sub eax, 0xc6
je 0x5d44b9
sub eax, 1
jne case.0x5d42e0.2316
push ecx
mov ecx, edi
call fcn.005dc4d7
jmp 0x5d44d5
push ecx
mov ecx, edi
call fcn.005dc505
jmp 0x5d44d5
push ecx
mov ecx, edi
call fcn.005d5f88
and dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xc]
call fcn.005cbea7
xor ecx, ecx
push 0xffffffffffffffff
inc ecx
test al, al
pop eax
cmovne ecx, eax
lea eax, [esp + 0x70]
push ecx
push dword [esp + 0x10]
mov ecx, edi
push dword [esp + 0x10]
push eax
call fcn.005d6be2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], eax
mov eax, 0x956
mov dword [esp + 0x24], ecx
mov dword [esp + 8], ecx
cmp esi, eax
jg 0x5d45ce
je case.0x5d454a.2308
lea eax, [esi - 0x900]
cmp eax, 0x2d
ja case.0x5d454a.2316
movzx eax, byte [eax + 0x5d47c9]
jmp dword [eax*4 + 0x5d47b9]
push dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.005cc534
push eax
lea ecx, [eax + 8]
call fcn.005b8531
test al, al
je 0x5d4577
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
jmp 0x5d45a9
push dword [esp + 0x14]
mov ecx, edi
call fcn.005cc534
cmp esi, 0x900
jne 0x5d4598
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
call fcn.005a87df
jmp 0x5d45a4
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.005a5190
mov esi, dword [eax]
mov edi, dword [eax + 4]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
call fcn.005cc534
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
jmp case.0x5d454a.2316
mov eax, 0x992
cmp esi, eax
jg 0x5d4694
je case.0x5d454a.2305
mov eax, esi
sub eax, 0x957
je case.0x5d454a.2305
sub eax, 1
je case.0x5d454a.2308
sub eax, 1
je case.0x5d454a.2305
sub eax, 0x2e
je case.0x5d454a.2308
sub eax, 1
je case.0x5d454a.2305
sub eax, 1
je case.0x5d454a.2308
sub eax, 1
jne case.0x5d454a.2316
push dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
call fcn.005cc534
mov ecx, dword [esp + 8]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x50], ecx
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], esi
mov dword [esp + 0x6c], esi
lea esi, [esp + 0x60]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], edx
mov dword [esp + 0x54], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
push edi
call fcn.005cc8ac
mov ecx, dword [esp + 0x18]
push edi
call fcn.005cc534
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
jmp 0x5d45c1
mov eax, esi
sub eax, 0x993
je case.0x5d454a.2308
sub eax, 1
je case.0x5d454a.2305
sub eax, 1
je case.0x5d454a.2308
sub eax, 1
je case.0x5d454a.2305
sub eax, 0xc6
jmp 0x5d4605
push dword [esp + 0x14]
lea ecx, [edi + 0x244]
call fcn.005cc534
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
inc dword [esp + 0x14]
lea ecx, [edi + 0x244]
call fcn.005cc0aa
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jb 0x5d4296
mov ecx, dword [esp + 0x18]
call fcn.005cc55d
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x50]
mov ecx, dword [esp + 0x18]
lea esi, [esi + 0x670]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.005cc540
sub esp, 0x10
lea esi, [esp + 0x60]
mov edi, esp
or ecx, 0xffffffff
push 1
movsd dword es:[edi], dword [esi]
push 0
push ecx
push dword [eax + 4]
movsd dword es:[edi], dword [esi]
push dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.005d71e9
mov ecx, esi
call fcn.005d5860
mov ecx, esi
call fcn.005db3ac
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4