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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov byte [ebp - 5], 0
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x13], 0
mov dword [ebp - 0xc], edi
test esi, esi
je 0x59ba65
cmp dword [esi], 0xc0dedbad
jne 0x59ba65
mov edx, dword [ebp + 8]
cmp byte [edx + 0x109], 0
je 0x59a9b0
mov edi, 0x2a
push esi
mov dword [ebp - 0xc], edi
call fcn.004996a0
push 0
push edi
push esi
call fcn.0059a420
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x59a9ad
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x59a99d
push esi
push ebx
call fcn.005aa040
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x1e8]
push eax
call fcn.005b4330
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.005995a0
add esp, 4
mov edx, dword [ebp + 8]
xor eax, eax
mov byte [ebp + 0x13], 0
mov dword [ebp - 4], eax
mov al, byte [edx + 0x106]
mov byte [edx + 0x106], 0
test al, al
je 0x59a9d3
push edx
call fcn.0059bc30
add esp, 4
mov ecx, dword [esi + 0x34]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x59a9ed
cmp dword [esi + 0x18], 0
je case.default.0x59aa2b
lea ebx, [esi + 0x18]
jmp 0x59a9f6
cmp dword [esi + 0x18], 0
lea ebx, [esi + 0x18]
je 0x59aa1f
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x59aa1f
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x13]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0059a7b0
mov edi, dword [ebp - 0xc]
add esp, 0x14
test al, al
jne 0x59b88e
mov eax, dword [esi + 0x34]
cmp eax, 0x10
ja case.default.0x59aa2b
jmp dword [eax*4 + 0x59ba74]
push esi
call fcn.005b3100
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
test edi, edi
jne case.0x59aa2b.1
cmp dword [esi + 0x34], 2
je 0x59aa5e
push esi
mov dword [esi + 0x34], 2
call fcn.005b3050
add esp, 4
push 1
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.005b9d80
mov edx, dword [ebp + 0xc]
add esp, 0xc
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
jmp 0x59b856
cmp dword [esi + 0x86c], 0
jne 0x59aab2
mov eax, dword [esi + 0x490]
inc eax
push eax
call dword [0x8e2608]
add esp, 4
mov dword [esi + 0x86c], eax
test eax, eax
jne 0x59aab2
mov edi, 0x1b
mov dword [ebp - 0xc], edi
jmp case.0x59aa2b.1
push 2
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.005b9d80
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [ebp + 0xc]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x1e0]
test eax, eax
je 0x59aae2
push 0xa
push 0
push eax
push esi
call fcn.005993a0
add esp, 0x10
mov eax, dword [esi + 0x1e4]
test eax, eax
je 0x59aafa
push 2
push 0
push eax
push esi
call fcn.005993a0
add esp, 0x10
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp - 0x25]
push eax
push esi
call fcn.005a57c0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0xc], edi
cmp edi, 0x59
jne 0x59ab77
cmp dword [esi + 0x34], 1
je 0x59ab22
mov dword [esi + 0x34], 1
mov edi, dword [ebp + 8]
lea eax, [esi + 0x1c]
push eax
push esi
push dword [edi + 0x28]
lea eax, [edi + 0x24]
push eax
call fcn.005b42b0
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x59ab48
mov dword [ecx + 0x10], eax
jmp 0x59ab4b
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x59ab5a
mov dword [ecx + 0x14], eax
jmp 0x59ab5d
mov dword [edi + 8], eax
xor edi, edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov ecx, edi
mov dword [ebp - 0xc], edi
jmp 0x59b853
cmp byte [esi + 0xd18], 0
je 0x59ab96
push str.Transfer_was_pending__now_try_another
push esi
call fcn.005aa810
push dword [esi + 0x7c]
call fcn.0059bc30
add esp, 0xc
test edi, edi
jne case.0x59aa2b.1
push 3
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.005b9d80
mov edx, dword [ebp + 0xc]
add esp, 0xc
cmp byte [ebp - 0x25], 0
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
mov eax, dword [esi + 0x34]
je 0x59abd7
mov ecx, dword [ebp - 4]
cmp eax, 3
je 0x59b856
mov dword [esi + 0x34], 3
jmp 0x59b856
or ecx, 0xffffffff
cmp byte [ebp - 0x12], 0
mov dword [ebp - 4], ecx
je 0x59acdf
cmp eax, 6
je 0x59b856
mov dword [esi + 0x34], 6
jmp 0x59b856
mov eax, dword [ebx]
mov dword [ebp - 0x10], 0
cmp byte [eax + 0x1a8], 0
je 0x59ac13
mov ecx, dword [eax + 0x78]
jmp 0x59ac24
cmp byte [eax + 0x1b1], 0
je 0x59ac21
mov ecx, dword [eax + 0x48]
jmp 0x59ac24
mov ecx, dword [eax + 0x30]
push dword [eax + 0x248]
mov dword [ebp - 0x18], ecx
push ecx
push esi
call fcn.005af0a0
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
je 0x59ac66
push dword [ebp - 0x18]
xor edi, edi
mov dword [esi + 0x95c], eax
push 0x78ca14
push esi
mov byte [esi + 0x970], 1
mov dword [ebp - 0xc], edi
call fcn.005aa810
add esp, 0xc
cmp dword [ebp - 0x10], edi
jne 0x59ac78
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.005afc00
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
push esi
push dword [ebp + 8]
call fcn.0059bed0
mov ecx, eax
add esp, 8
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x59b9e5
cmp dword [ebp - 0x10], eax
je 0x59acb5
lea eax, [ebp - 0x12]
push eax
push esi
call fcn.005af690
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
test edi, edi
je 0x59acc9
mov ecx, dword [ebp - 4]
mov dword [ebx], 0
mov edx, dword [ebp + 0xc]
test edi, edi
je 0x59b856
mov byte [ebp + 0x13], 1
jmp 0x59b856
mov eax, dword [esi + 0x34]
or ecx, 0xffffffff
cmp byte [ebp - 0x12], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
jne 0x59abe7
cmp eax, 4
je 0x59b856
mov dword [esi + 0x34], 4
jmp 0x59b856
lea eax, [ebp - 5]
push eax
push esi
call fcn.005b5500
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [ebp - 0xc], edi
cmp byte [eax + 0x1ac], 0
je 0x59ad43
xor edi, edi
or eax, 0xffffffff
push edi
push edi
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edi
call fcn.0059a420
add esp, 0xc
cmp dword [esi + 0x34], 2
je 0x59b764
push esi
mov dword [esi + 0x34], 2
call fcn.005b3050
jmp 0x59b84d
test edi, edi
jne 0x59ada5
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
cmp dword [esi + 0x34], 6
mov dword [ebp - 4], ecx
jmp 0x59abea
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push esi
call fcn.005a9ea0
add esp, 0x10
mov edi, eax
cmp byte [ebp - 0x12], 0
mov dword [ebp - 0xc], edi
je 0x59ad8b
test edi, edi
jne 0x59ad93
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
cmp dword [esi + 0x34], 6
mov dword [ebp - 4], ecx
jmp 0x59abea
test edi, edi
je case.0x59aa2b.1
push esi
call fcn.004996a0
push 1
push edi
push esi
call fcn.0059a420
add esp, 0x10
mov byte [ebp + 0x13], 1
jmp case.0x59aa2b.1
cmp byte [esi + 0xd1e], 0
mov ecx, 6
je 0x59adcd
push esi
call fcn.0059bd00
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x59ad93
cmp byte [eax + 0x1af], 0
je 0x59adf6
cmp ecx, 8
je 0x59adeb
mov dword [esi + 0x34], 8
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
jmp 0x59b853
test edi, edi
jne 0x59ad93
push edi
push eax
mov byte [ebp - 5], 0
call fcn.005aa380
add esp, 8
test al, al
mov eax, dword [ebp - 0x10]
je 0x59ae38
cmp byte [eax + 0x1b6], 0
je 0x59ae41
mov eax, dword [eax + 0x1c4]
movzx ecx, byte [ebp - 5]
mov dword [ebp - 0xc], edi
cmp dword [eax + 0x18], edi
mov eax, 1
cmove ecx, eax
mov eax, dword [esi + 0x34]
mov byte [ebp - 5], cl
jmp 0x59ae7f
cmp byte [eax + 0x1b6], 0
jne 0x59ae6e
mov eax, dword [eax + 0x1c4]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x59ae60
lea ecx, [ebp - 5]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x59ae6e
jmp 0x59ae64
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x1b6], 1
mov eax, dword [esi + 0x34]
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x59ad93
mov cl, byte [ebp - 5]
test cl, cl
jne 0x59ae9c
cmp eax, 7
je 0x59ae8f
mov dword [esi + 0x34], 7
mov ecx, 0xffffffff
mov dword [ebp - 4], ecx
jmp 0x59b853
cmp eax, 8
jmp 0x59ade2
mov ecx, dword [ebx]
test ecx, ecx
je 0x59aee2
mov eax, dword [ecx + 0x1c4]
cmp dword [eax + 0x18], 0
je 0x59aee2
mov byte [ebp - 5], 0
mov eax, dword [ecx + 0x1c4]
lea ecx, [ebp - 5]
push ecx
push esi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x59ad93
mov al, byte [ebp - 5]
jmp 0x59aef1
mov al, 1
xor edi, edi
mov byte [ebp - 5], al
mov ecx, 7
mov dword [ebp - 0xc], edi
test al, al
je case.0x59aa2b.1
jmp 0x59addf
cmp dword [esi + 0x1bc], 0
je 0x59afa3
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x59af1c
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x59af23
mov byte [eax + 0x107], 1
push dword [esi + 0xdd4]
lea eax, [esi + 0xda4]
push dword [esi + 0xd9c]
push eax
lea eax, [esi + 0xd6c]
push eax
push dword [esi + 0x1c0]
mov eax, dword [esi + 0x1bc]
call eax
mov ecx, dword [esi + 0x80]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x59af63
mov byte [ecx + 0x107], 0
jmp 0x59af71
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x59af71
mov byte [eax + 0x107], 0
test edx, edx
je 0x59afa3
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.005aa770
mov edi, 0x2a
push esi
mov dword [ebp - 0xc], edi
call fcn.004996a0
push 0
push edi
push esi
call fcn.0059a420
add esp, 0x18
mov byte [ebp + 0x13], 1
jmp case.0x59aa2b.1
cmp byte [esi + 0x65d], 1
mov ecx, dword [ebx]
jne 0x59afd6
push 0
push ecx
call fcn.005abc20
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x59afc6
mov dword [esi + 0x34], 0xe
xor edi, edi
or ecx, 0xffffffff
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ecx
jmp 0x59b853
mov eax, dword [ecx + 0x1c4]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x59aff3
lea ecx, [ebp - 0x11]
push ecx
push esi
call eax
mov ecx, dword [ebx]
add esp, 8
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x59b074
cmp byte [ebp - 0x11], 0
jne 0x59b01c
cmp dword [esi + 0x34], 9
je 0x59adeb
or ecx, 0xffffffff
mov dword [esi + 0x34], 9
mov dword [ebp - 4], ecx
jmp 0x59b853
cmp byte [ecx + 0x1b5], 0
mov eax, dword [esi + 0x34]
je 0x59b043
cmp eax, 0xa
je 0x59adeb
or ecx, 0xffffffff
mov dword [esi + 0x34], 0xa
mov dword [ebp - 4], ecx
jmp 0x59b853
cmp eax, 0xb
je 0x59adeb
push 7
lea eax, [ebp - 0x7c]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x142], 0
call fcn.005b9d80
add esp, 0xc
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
jmp 0x59b853
cmp edi, 0x37
jne 0x59b130
cmp byte [ecx + 0x1af], 0
je 0x59b130
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push esi
call fcn.005b3730
add esp, 8
test eax, eax
je 0x59b0ab
mov edi, eax
mov byte [ebp + 0x13], 1
mov dword [ebp - 0xc], edi
push esi
call fcn.004996a0
push 0
push edi
push esi
call fcn.0059a420
mov ecx, dword [ebp - 0x10]
add esp, 0x10
test ecx, ecx
je 0x59b120
test eax, eax
je 0x59b0de
cmp eax, 0x37
je 0x59b0de
mov edi, eax
push ecx
mov dword [ebp - 0xc], edi
call dword [0x8e260c]
jmp 0x59b84d
push 2
push ecx
push esi
call fcn.005b2b40
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x59b10e
cmp dword [esi + 0x34], 2
je 0x59b106
push esi
mov dword [esi + 0x34], 2
call fcn.005b3050
add esp, 4
or eax, 0xffffffff
xor edi, edi
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov dword [ebp - 0xc], edi
call dword [0x8e260c]
jmp 0x59b84d
push ecx
mov byte [ebp + 0x13], 1
call dword [0x8e260c]
jmp 0x59b84d
push esi
call fcn.004996a0
add esp, 4
cmp dword [ebx], 0
je 0x59ada5
push 0
push edi
push esi
call fcn.0059a420
add esp, 0xc
mov byte [ebp + 0x13], 1
jmp case.0x59aa2b.1
mov ecx, dword [ebx]
test ecx, ecx
je 0x59b1a9
mov eax, dword [ecx + 0x1c4]
cmp dword [eax + 0x1c], 0
je 0x59b1a9
mov byte [ebp - 0x11], 0
mov eax, dword [ecx + 0x1c4]
lea ecx, [ebp - 0x11]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0x34]
mov edi, eax
mov ecx, dword [ebx]
add esp, 8
mov dword [ebp - 0xc], edi
test edi, edi
je 0x59b1b7
push esi
call fcn.004996a0
push 0
push edi
push esi
call fcn.0059a420
add esp, 0x10
mov byte [ebp + 0x13], 1
jmp case.0x59aa2b.1
xor edi, edi
mov byte [ebp - 0x11], 1
mov edx, 9
mov dword [ebp - 0xc], edi
cmp byte [ebp - 0x11], 0
je case.0x59aa2b.1
mov cl, byte [ecx + 0x1b5]
xor eax, eax
test cl, cl
sete al
add eax, 0xa
cmp edx, eax
je 0x59adeb
mov dword [esi + 0x34], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x78c7d0]
test eax, eax
je 0x59adeb
push esi
call eax
add esp, 4
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
jmp 0x59b853
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebp - 0x38], ecx
xor edi, edi
mov eax, dword [eax + 0x1c4]
lea edx, [edi + 0xa]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x59b22e
lea ecx, [ebp - 0x38]
push ecx
push esi
call eax
mov edx, dword [esi + 0x34]
add esp, 8
mov ecx, dword [ebp - 0x38]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x59b18e
test ecx, ecx
je case.0x59aa2b.1
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
cmp edx, eax
je 0x59adeb
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x78c7a8]
test eax, eax
je 0x59adeb
push esi
call eax
add esp, 4
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
jmp 0x59b853
mov eax, dword [ebx]
mov ecx, 0xb
cmp byte [eax + 0x1bb], 0
je 0x59b29b
push dword [ebp + 8]
call fcn.0059bc30
mov eax, dword [ebx]
add esp, 4
mov ecx, dword [esi + 0x34]
cmp dword [eax + 0x1e0], 0xffffffff
jne 0x59b2c8
cmp dword [eax + 0x1e4], 0xffffffff
jne 0x59b2c8
cmp ecx, 0xe
je 0x59adeb
or ecx, 0xffffffff
mov dword [esi + 0x34], 0xe
mov dword [ebp - 4], ecx
jmp 0x59b853
cmp ecx, 0xc
je 0x59adeb
or ecx, 0xffffffff
mov dword [esi + 0x34], 0xc
mov dword [ebp - 4], ecx
jmp 0x59b853
push esi
call fcn.005ba070
add esp, 4
test eax, eax
je 0x59b2ff
mov eax, 0x2a
mov edi, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], edi
jmp 0x59b322
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.005bb330
add esp, 0x14
mov dword [ebp - 0x20], eax
mov edi, eax
mov dword [ebp - 0xc], edi
test eax, eax
je 0x59b359
mov edx, dword [ebx]
mov ecx, dword [edx + 0x1c4]
test byte [ecx + 0x4c], 2
jne 0x59b340
cmp eax, 0x5c
je 0x59b340
push 2
push edx
call fcn.005abc20
add esp, 8
push esi
call fcn.004996a0
push 1
push dword [ebp - 0x20]
push esi
call fcn.0059a420
add esp, 0x10
jmp case.0x59aa2b.1
mov eax, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
or eax, ecx
movlpd qword [ebp - 0x24], xmm0
je 0x59b3bb
mov edx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x208]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x768]
push ecx
push edx
push dword [esi + 0x77c]
movups xmmword [eax], xmm0
push dword [esi + 0x778]
push dword [esi + 0x6c4]
push dword [esi + 0x6c0]
call fcn.005b9a10
add esp, 0x38
mov dword [ebp - 0x18], edx
jmp 0x59b3c4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [esi + 0x214]
xorps xmm0, xmm0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x210]
or eax, ecx
movlpd qword [ebp - 0x30], xmm0
je 0x59b428
mov edx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x780]
push ecx
push edx
push dword [esi + 0x794]
movups xmmword [eax], xmm0
push dword [esi + 0x790]
push dword [esi + 0x6bc]
push dword [esi + 0x6b8]
call fcn.005b9a10
add esp, 0x38
mov ecx, eax
jmp 0x59b42e
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
or eax, dword [ebp - 0x18]
jne 0x59b465
mov eax, ecx
or eax, edx
jne 0x59b465
cmp dword [esi + 0x34], 0xc
je 0x59b449
mov dword [esi + 0x34], 0xc
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.005ba3e0
add esp, 0x14
jmp case.0x59aa2b.1
cmp dword [ebp - 0x18], edx
jl 0x59b487
mov eax, dword [ebp - 0x10]
jg 0x59b473
cmp eax, ecx
jb 0x59b487
push 0xb
push dword [ebp - 0x18]
push eax
push esi
call fcn.005993a0
add esp, 0x10
jmp case.0x59aa2b.1
push 0xb
push edx
push ecx
push esi
call fcn.005993a0
add esp, 0x10
jmp case.0x59aa2b.1
mov eax, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
or eax, ecx
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x19], 0
movlpd qword [ebp - 0x24], xmm0
je 0x59b506
mov edx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x208]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x768]
push ecx
push edx
push dword [esi + 0x77c]
movups xmmword [eax], xmm0
push dword [esi + 0x778]
push dword [esi + 0x6c4]
push dword [esi + 0x6c0]
call fcn.005b9a10
add esp, 0x38
mov dword [ebp - 0x34], edx
jmp 0x59b50f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [esi + 0x214]
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x210]
or eax, ecx
movlpd qword [ebp - 0x30], xmm0
je 0x59b576
mov edx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x780]
push ecx
push edx
push dword [esi + 0x794]
movups xmmword [eax], xmm0
push dword [esi + 0x790]
push dword [esi + 0x6bc]
push dword [esi + 0x6b8]
call fcn.005b9a10
add esp, 0x38
mov dword [ebp - 0x2c], eax
mov ecx, eax
jmp 0x59b57f
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], edx
jne 0x59b76c
mov eax, ecx
or eax, edx
jne 0x59b76c
lea eax, [ebp - 0x13]
push eax
push esi
call fcn.005b3410
add esp, 8
mov edi, eax
cmp byte [ebp - 0x13], 0
mov dword [ebp - 0xc], edi
jne 0x59b5f3
cmp edi, 0x38
je 0x59b5f3
cmp edi, 0x5c
jne 0x59b67a
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x1c4]
test byte [eax + 0x4c], 2
jne 0x59b5dc
cmp edi, 0x5c
je 0x59b5dc
push 2
push ecx
call fcn.005abc20
add esp, 8
push esi
call fcn.004996a0
push 1
push edi
push esi
call fcn.0059a420
add esp, 0x10
jmp case.0x59aa2b.1
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.005b3730
add esp, 8
test eax, eax
jne 0x59b66d
cmp dword [ebp - 0x10], eax
setne al
mov byte [ebp - 0x19], al
test al, al
je 0x59b67a
push esi
mov byte [ebp - 0x13], 1
call fcn.004996a0
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.0059a420
push edi
push dword [ebp - 0x10]
push esi
call fcn.005b2b40
mov edi, eax
add esp, 0x18
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x59b65f
cmp dword [esi + 0x34], 2
je 0x59b659
push esi
mov dword [esi + 0x34], 2
call fcn.005b3050
add esp, 4
or eax, 0xffffffff
mov dword [ebp - 4], eax
push dword [ebp - 0x10]
call dword [0x8e260c]
jmp 0x59b84d
test edi, edi
jne 0x59b5be
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x59b5be
cmp byte [ebp - 0x13], 0
je 0x59b743
push esi
call fcn.004996a0
add esp, 4
cmp byte [ebp - 0x19], 0
jne 0x59b61e
cmp dword [esi + 0x110], edi
jne 0x59b71a
cmp dword [esi + 0x10c], edi
je 0x59b6fe
push dword [ebp - 0x10]
call dword [0x8e260c]
mov eax, dword [esi + 0x10c]
push 1
push eax
push esi
mov dword [ebp - 0x10], eax
mov dword [esi + 0x10c], edi
call fcn.005b2b40
push dword [ebp - 0x10]
mov edi, eax
mov dword [ebp - 0xc], edi
call dword [0x8e260c]
add esp, 0x14
test edi, edi
je 0x59b6fe
push 1
push edi
push esi
mov byte [ebp + 0x13], 1
call fcn.0059a420
mov edi, eax
add esp, 0xc
mov dword [ebp - 0xc], edi
test edi, edi
jne case.0x59aa2b.1
cmp dword [esi + 0x34], 0xe
je 0x59adeb
or ecx, 0xffffffff
mov dword [esi + 0x34], 0xe
mov dword [ebp - 4], ecx
jmp 0x59b853
push dword [ebp - 0x10]
call dword [0x8e260c]
mov eax, dword [esi + 0x110]
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, 3
mov dword [esi + 0x110], 0
jmp 0x59b623
cmp byte [esi + 0xd0b], 0
je case.0x59aa2b.1
push 8
push 0
push 0
push esi
call fcn.005993a0
add esp, 0x10
jmp case.0x59aa2b.1
or ecx, 0xffffffff
jmp 0x59b853
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.005ba3e0
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x59b790
mov dword [esi + 0x34], 0xd
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x20]
jl 0x59b7b6
mov eax, dword [ebp - 0x18]
jg 0x59b7be
mov edx, dword [ebp - 0x2c]
cmp eax, edx
jb 0x59b7b9
push 0xb
push ecx
push eax
push esi
call fcn.005993a0
add esp, 0x10
jmp case.0x59aa2b.1
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov eax, edx
push 0xb
push ecx
push eax
push esi
call fcn.005993a0
add esp, 0x10
jmp case.0x59aa2b.1
mov eax, dword [ebx]
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
test eax, eax
je 0x59b807
cmp byte [eax + 0x1bb], 0
je 0x59b7f0
push dword [ebp + 8]
call fcn.0059bc30
add esp, 4
push 0
push edi
push esi
call fcn.0059a420
mov ecx, dword [ebp - 4]
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x34], 0xf
je 0x59b853
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x59b841
push esi
push eax
call fcn.005aa040
push 0
lea eax, [esi + 0x28]
push eax
mov eax, dword [ebp - 0x20]
add eax, 0x1e8
push eax
call fcn.005b4330
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.005995a0
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp dword [ebx], 0
je 0x59b88e
mov eax, dword [esi + 0x34]
sub eax, 2
cmp eax, 5
ja 0x59b88e
cmp ecx, 0xffffffff
mov ecx, dword [ebp + 8]
je 0x59b891
cmp byte [ecx + 0x106], 0
jne 0x59b891
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x13]
push eax
push edx
push esi
call fcn.0059a7b0
mov edi, dword [ebp - 0xc]
add esp, 0x14
mov ecx, dword [ebp + 8]
cmp dword [esi + 0x34], 0xf
jge 0x59b9c0
test edi, edi
je 0x59b95c
push ecx
call fcn.0059bc30
mov eax, dword [ebx]
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x59b8ff
cmp byte [ebp + 0x13], 0
je 0x59b90e
cmp edi, 0x1c
push esi
push eax
sete byte [ebp - 0x3c]
call fcn.005aa040
push 0
lea eax, [esi + 0x28]
push eax
mov eax, dword [ebp - 0x20]
add eax, 0x1e8
push eax
call fcn.005b4330
push 1
push dword [ebp - 0x20]
mov dword [ebx], 0
push esi
call fcn.005a2190
push dword [ebp - 0x3c]
push dword [ebp - 0x20]
push esi
call fcn.005a5910
add esp, 0x2c
jmp 0x59b90e
cmp dword [esi + 0x34], 2
jne 0x59b90e
push esi
call fcn.004996a0
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x59b957
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [ebx]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x59b948
push esi
push eax
call fcn.005aa040
push 0
lea eax, [esi + 0x28]
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x1e8
push eax
call fcn.005b4330
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.005995a0
add esp, 4
or ecx, 0xffffffff
jmp 0x59b9c3
cmp dword [ebx], 0
je 0x59b9c0
push esi
call fcn.005ba070
add esp, 4
test eax, eax
je 0x59b9c0
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [ebp - 0xc], edi
call fcn.005abc20
mov ecx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x59b957
mov dword [esi + 0x34], eax
cmp ecx, 0xe
jl 0x59b9a2
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x78c7e0]
test eax, eax
je 0x59b957
push esi
call eax
add esp, 4
or ecx, 0xffffffff
jmp 0x59b9c3
mov ecx, dword [ebp - 4]
cmp dword [esi + 0x34], 0xf
je 0x59b9ee
mov edx, dword [ebp + 8]
cmp ecx, 0xffffffff
je 0x59a9b0
cmp byte [edx + 0x106], 0
jne 0x59a9b0
mov dword [esi + 0x38], edi
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x640]
test eax, eax
je 0x59ba04
push edi
push esi
call eax
mov ebx, dword [ebp + 8]
add esp, 8
jmp 0x59ba28
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x3c]
push eax
push eax
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
lea eax, [ebx + 0x14]
push dword [ebx + 0x18]
push eax
call fcn.005b42b0
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x59ba35
mov dword [esi + 0x34], 0x10
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x38]
lea eax, [ebx + 0x34]
push eax
call fcn.005b42b0
push esi
push ebx
call fcn.0059c260
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret