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

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
push esi
mov esi, dword [esp + 0x4c]
mov eax, dword [esi + 0x164]
push edi
mov dword [esp + 0x18], eax
cmp ebx, dword [esi + 0x90]
jne 0x23b6c643
lea ecx, [esi + 0x120]
mov dword [esp + 0x10], ecx
lea ebp, [esi + 0x124]
jmp 0x23b6c650
mov eax, dword [esi + 0x12c]
mov dword [esp + 0x10], eax
lea ebp, [eax + 4]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebp
mov dword [eax], edx
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x58]
push ecx
push edi
push eax
push ebx
mov dword [esp + 0x68], eax
call edx
mov ecx, dword [esp + 0x68]
add eax, 5
add esp, 0x10
mov dword [ebp], ecx
cmp eax, 0x12
ja case.default.0x23b6c68d
jmp dword [eax*4 + 0x23b6d160]
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x60]
add eax, ecx
push eax
push ebx
call edx
movzx eax, ax
add esp, 0xc
mov dword [esp + 0x24], eax
test ax, ax
je 0x23b6c6ea
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x23b6c6d2
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0x28]
push ecx
push edx
call eax
add esp, 0xc
jmp 0x23b6ced9
cmp dword [esi + 0x50], 0
je 0x23b6ced9
mov eax, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
jmp 0x23b6ced1
mov eax, dword [ebx + 0x44]
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
sub edi, eax
add eax, ecx
mov ecx, dword [esp + 0x18]
add ecx, 0x50
call fcn.23b6a670
mov dword [esp + 0x50], eax
test eax, eax
je 0x23b6d059
mov edi, dword [esp + 0x18]
mov edx, eax
push 0
push edx
call fcn.23b69210
mov ebp, eax
mov eax, edi
mov ecx, dword [eax + 0x60]
add esp, 8
cmp byte [eax + 0x81], 0
mov dword [eax + 0x5c], ecx
je 0x23b6c75f
mov edx, eax
cmp byte [edx + 0x82], 0
jne 0x23b6c75f
test ebp, ebp
jne 0x23b6c771
mov eax, dword [esi + 0x78]
test eax, eax
je 0x23b6c6d2
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 4]
push ebp
push ecx
push edx
call eax
add esp, 0xc
jmp 0x23b6ced9
test ebp, ebp
je 0x23b6d00f
cmp byte [ebp + 0x22], 0
je 0x23b6d01c
cmp byte [ebp + 0x20], 0
jne 0x23b6d029
cmp dword [ebp + 0x1c], 0
jne 0x23b6d036
cmp dword [ebp + 4], 0
je 0x23b6c7cb
cmp byte [esi + 0x134], 0
jne 0x23b6c7b3
mov eax, dword [esi + 0x78]
test eax, eax
je 0x23b6c6d2
mov ecx, dword [ebp]
mov edx, dword [esi + 4]
push 0
push ecx
push edx
call eax
add esp, 0xc
jmp 0x23b6ced9
push 0
push ebp
call fcn.23b68e30
add esp, 8
test eax, eax
jne 0x23b6d155
jmp 0x23b6ced9
cmp dword [esi + 0x70], 0
je 0x23b6c81a
mov edi, esi
mov byte [ebp + 0x20], 1
call fcn.23b6a0f0
mov byte [ebp + 0x20], 0
test eax, eax
je 0x23b6d059
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [esi + 0x74]
push ecx
push eax
mov eax, dword [esi + 0x70]
push edx
call eax
add esp, 0x14
test eax, eax
je 0x23b6d043
mov ecx, dword [esi + 0x1b0]
mov dword [esi + 0x1ac], ecx
jmp 0x23b6ced9
cmp dword [esi + 0x50], 0
je 0x23b6ced9
mov eax, dword [esp + 0x58]
jmp 0x23b6cecc
mov edi, dword [esi + 0x170]
test edi, edi
je 0x23b6c841
mov eax, dword [edi]
mov dword [esi + 0x170], eax
jmp 0x23b6c870
mov ecx, dword [esi + 0xc]
push 0x30
call ecx
mov edi, eax
add esp, 4
test edi, edi
je 0x23b6d059
mov edx, dword [esi + 0xc]
push 0x20
call edx
add esp, 4
mov dword [edi + 0x24], eax
test eax, eax
je 0x23b6d050
add eax, 0x20
mov dword [edi + 0x28], eax
xor ecx, ecx
mov dword [edi + 0x2c], ecx
lea eax, [edi + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x16c]
mov dword [edi], eax
mov dword [esi + 0x16c], edi
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x5c]
lea eax, [ecx + edx]
push eax
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x20]
push ebx
call eax
mov dword [edi + 8], eax
inc dword [esi + 0x138]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
add eax, ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x1c], ecx
mov edx, dword [edi + 0x28]
sub edx, 2
push edx
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x40]
push ebx
call eax
mov ebp, dword [esp + 0x30]
sub ebp, dword [edi + 0x24]
mov ecx, dword [esp + 0x38]
add esp, 0x1c
sar ebp, 1
cmp dword [esp + 0x50], ecx
je 0x23b6c958
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x28]
mov edx, dword [esi + 0x10]
sub eax, ecx
add eax, eax
push eax
push ecx
mov dword [esp + 0x30], eax
call edx
add esp, 8
test eax, eax
je 0x23b6d059
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], edx
lea eax, [eax + ebp*2]
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0x28]
mov eax, dword [esp + 0x1c]
sub ecx, 2
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, dword [ebx + 0x40]
push eax
lea ecx, [esp + 0x5c]
push ecx
push ebx
call edx
mov ebp, dword [esp + 0x28]
sub ebp, dword [edi + 0x24]
mov eax, dword [esp + 0x30]
add esp, 0x14
sar ebp, 1
cmp dword [esp + 0x50], eax
jne 0x23b6c8f2
mov ecx, dword [edi + 0x24]
mov dword [edi + 0x18], ebp
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
lea ebp, [edi + 0xc]
push ecx
xor edx, edx
mov word [eax], dx
mov edx, dword [esp + 0x60]
push ebp
push edx
push ebx
push esi
call fcn.23b6bd00
add esp, 0x14
test eax, eax
jne 0x23b6d155
mov eax, dword [esi + 0x34]
test eax, eax
je 0x23b6c9b5
mov ecx, dword [esi + 0x188]
mov edx, dword [ebp]
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
call eax
add esp, 0xc
lea ecx, [esi + 0x1a0]
call fcn.23b69550
jmp 0x23b6ced9
cmp dword [esi + 0x50], 0
je 0x23b6c9cc
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push edx
call fcn.23b68fc0
add esp, 4
lea ecx, [esi + 0x1a0]
call fcn.23b69550
jmp 0x23b6ced9
mov ebp, dword [ebx + 0x44]
add ebp, dword [esp + 0x5c]
mov eax, dword [ebx + 0x20]
push ebp
push ebx
mov dword [esp + 0x24], 0
mov byte [esp + 0x58], 1
call eax
mov edi, eax
add esp, 8
add edi, ebp
mov eax, ebp
lea ecx, [esi + 0x1a0]
call fcn.23b6a670
mov dword [esp + 0x34], eax
test eax, eax
je 0x23b6d059
mov ecx, dword [esi + 0x1ac]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
mov dword [esi + 0x1b0], ecx
mov ecx, dword [esp + 0x64]
push ecx
push ebx
push esi
call fcn.23b6bd00
add esp, 0x14
test eax, eax
jne 0x23b6d155
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x1ac]
mov edi, dword [esp + 0x34]
mov dword [esi + 0x1b0], edx
test eax, eax
je 0x23b6ca70
mov ecx, dword [esi + 0x188]
mov edx, dword [esi + 4]
push ecx
push edi
push edx
call eax
add esp, 0xc
xor al, al
jmp 0x23b6ca74
mov al, byte [esp + 0x50]
cmp dword [esi + 0x38], 0
je 0x23b6ca9b
cmp dword [esi + 0x34], 0
je 0x23b6ca8c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x38]
push edi
push eax
call ecx
add esp, 8
jmp 0x23b6cab6
test al, al
je 0x23b6cab6
cmp dword [esi + 0x50], 0
je 0x23b6cab6
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push edx
call fcn.23b68fc0
add esp, 4
lea ecx, [esi + 0x1a0]
call fcn.23b69550
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x23b6cb07
lea esp, [esp]
mov eax, dword [esi + 0x68]
mov ebp, edi
test eax, eax
je 0x23b6cae7
mov ecx, dword [edi]
mov edx, dword [ecx]
mov ecx, dword [esi + 4]
push edx
push ecx
call eax
add esp, 8
mov edx, dword [esi + 0x178]
lea eax, [edi + 4]
mov edi, dword [eax]
mov dword [eax], edx
mov dword [esi + 0x178], ebp
mov eax, dword [ebp]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
test edi, edi
jne 0x23b6cad0
cmp dword [esi + 0x138], 0
jne 0x23b6ced9
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
push esi
call fcn.23b6ba90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov edx, dword [esp + 0x54]
cmp dword [esi + 0x138], edx
je 0x23b6cfaf
mov edi, dword [esi + 0x16c]
mov eax, dword [edi]
mov ecx, dword [esi + 0x170]
mov dword [esi + 0x16c], eax
mov dword [edi], ecx
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x170], edi
mov edx, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x20]
lea eax, [eax + edx*2]
push eax
push ebx
mov dword [esp + 0x58], eax
call ecx
add esp, 8
cmp eax, dword [edi + 8]
jne 0x23b6d066
mov ebp, dword [esp + 0x50]
mov ecx, dword [edi + 4]
cmp eax, 4
jb 0x23b6cba9
lea ecx, [ecx]
mov edx, dword [ecx]
cmp edx, dword [ebp]
jne 0x23b6d066
sub eax, 4
add ebp, 4
add ecx, 4
cmp eax, 4
jae 0x23b6cb90
test eax, eax
je 0x23b6cbda
mov dl, byte [ebp]
cmp dl, byte [ecx]
jne 0x23b6d066
cmp eax, 1
jbe 0x23b6cbda
mov dl, byte [ebp + 1]
cmp dl, byte [ecx + 1]
jne 0x23b6d066
cmp eax, 2
jbe 0x23b6cbda
mov al, byte [ebp + 2]
cmp al, byte [ecx + 2]
jne 0x23b6d066
dec dword [esi + 0x138]
cmp dword [esi + 0x38], 0
je 0x23b6cc6e
cmp byte [esi + 0xec], 0
mov edx, dword [edi + 0x10]
je 0x23b6cc5c
test edx, edx
je 0x23b6cc5c
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0xc]
lea eax, [eax + ecx*2]
movzx ecx, word [edx]
test cx, cx
je 0x23b6cc21
jmp 0x23b6cc10
add edx, 2
mov word [eax], cx
movzx ecx, word [edx]
add eax, 2
test cx, cx
jne 0x23b6cc10
cmp byte [esi + 0xed], 0
mov edx, dword [edi + 0x14]
je 0x23b6cc57
test edx, edx
je 0x23b6cc57
mov cx, word [esi + 0x1d8]
mov word [eax], cx
movzx ecx, word [edx]
add eax, 2
test cx, cx
je 0x23b6cc57
add edx, 2
mov word [eax], cx
movzx ecx, word [edx]
add eax, 2
test cx, cx
jne 0x23b6cc46
xor edx, edx
mov word [eax], dx
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x38]
push eax
push ecx
call edx
add esp, 8
jmp 0x23b6cc85
cmp dword [esi + 0x50], 0
je 0x23b6cc85
mov eax, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
call fcn.23b68fc0
add esp, 4
cmp dword [edi + 0x2c], 0
je 0x23b6ccd0
jmp 0x23b6cc90
mov eax, dword [esi + 0x68]
mov ebp, dword [edi + 0x2c]
test eax, eax
je 0x23b6cca9
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov ecx, dword [esi + 4]
push edx
push ecx
call eax
add esp, 8
mov edx, dword [edi + 0x2c]
mov eax, dword [edx + 4]
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x178]
mov dword [ebp + 4], ecx
mov dword [esi + 0x178], ebp
mov edx, dword [ebp]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
cmp dword [edi + 0x2c], 0
jne 0x23b6cc90
cmp dword [esi + 0x138], 0
je 0x23b6cb14
jmp 0x23b6ced9
mov ecx, dword [esp + 0x5c]
mov edx, dword [ebx + 0x2c]
push ecx
push ebx
call edx
add esp, 8
test eax, eax
jl 0x23b6d07d
cmp dword [esi + 0x3c], 0
je 0x23b6c81a
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.23b78dc0
mov ecx, dword [esi + 0x3c]
push eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x3c]
push edx
push eax
call ecx
add esp, 0x14
jmp 0x23b6ced9
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x23b6cd48
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x5c], 0xa
call eax
add esp, 0xc
jmp 0x23b6ced9
cmp dword [esi + 0x50], 0
je 0x23b6ced9
mov eax, dword [esp + 0x5c]
push eax
mov eax, ecx
jmp 0x23b6ced1
mov eax, dword [esi + 0x48]
test eax, eax
je 0x23b6cd6d
mov ecx, dword [esi + 4]
push ecx
call eax
jmp 0x23b6cd7f
cmp dword [esi + 0x50], 0
je 0x23b6cd82
mov edx, dword [esp + 0x5c]
push edx
mov eax, ecx
call fcn.23b68fc0
add esp, 4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push eax
push ecx
lea edx, [esp + 0x60]
push edi
push edx
mov eax, ebx
mov ecx, esi
call fcn.23b69ae0
add esp, 0x10
test eax, eax
jne 0x23b6d155
cmp dword [esp + 0x58], eax
jne 0x23b6ced9
pop edi
mov dword [esi + 0x118], 0x23b6a990
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x23b6cd48
cmp byte [ebx + 0x49], 0
je 0x23b6cdef
mov eax, dword [esp + 0x5c]
test al, 1
jne 0x23b6cdef
sub ecx, eax
sar ecx, 1
push ecx
push eax
mov eax, dword [esi + 4]
push eax
call edi
add esp, 0xc
jmp 0x23b6ced9
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
push eax
mov dword [esp + 0x54], edx
lea edx, [esp + 0x54]
push edx
push ecx
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x68]
push eax
push ebx
call ecx
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x64]
mov dword [ebp], edx
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 4]
sub ecx, eax
sar ecx, 1
push ecx
push eax
push edx
call edi
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
add esp, 0x20
cmp eax, ecx
je 0x23b6ced9
jmp 0x23b6ce40
mov edx, dword [esp + 0x10]
mov dword [edx], eax
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
push edx
mov edx, dword [ebx + 0x40]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x68]
push ecx
push ebx
call edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x64]
mov dword [ebp], eax
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 4]
sub ecx, eax
sar ecx, 1
push ecx
push eax
push edx
call edi
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
add esp, 0x20
cmp eax, ecx
jne 0x23b6ce40
jmp 0x23b6ced9
push ecx
mov ecx, dword [esp + 0x60]
push ecx
mov ecx, ebx
mov edx, esi
call fcn.23b6b510
add esp, 8
test eax, eax
je 0x23b6d059
jmp 0x23b6ced9
mov edx, dword [esp + 0x5c]
mov eax, ecx
push esi
mov ecx, ebx
call fcn.23b6b5e0
add esp, 4
test eax, eax
je 0x23b6d059
jmp 0x23b6ced9
cmp dword [esi + 0x50], 0
je 0x23b6ced9
mov eax, ecx
mov edx, dword [esp + 0x5c]
push edx
call fcn.23b68fc0
add esp, 4
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x1e0]
sub eax, 2
je 0x23b6d150
sub eax, 1
je 0x23b6cf0f
mov ebp, dword [esp + 0x20]
jmp 0x23b6c65e
cmp byte [esp + 0x68], 0
je 0x23b6cf1f
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov dword [ebp], edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x23b6cf43
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x5c], 0xa
call eax
add esp, 0xc
jmp 0x23b6cf58
cmp dword [esi + 0x50], 0
je 0x23b6cf58
mov eax, dword [esp + 0x5c]
push eax
mov eax, edi
call fcn.23b68fc0
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x23b6d124
cmp dword [esi + 0x138], eax
jne 0x23b6cfaf
mov ecx, dword [esp + 0x64]
mov dword [ecx], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
cmp byte [esp + 0x68], 0
je 0x23b6cf97
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword [eax], edx
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x23b6d124
cmp dword [esi + 0x138], eax
je 0x23b6cf0b
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov eax, 4
pop ebx
add esp, 0x3c
ret
cmp byte [esp + 0x68], 0
jne 0x23b6cf0b
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x3c
ret
cmp byte [esp + 0x68], 0
je 0x23b6d002
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, 0x18
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, 0xf
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 0x3c
ret
mov edx, dword [esi + 0x14]
push edi
call edx
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov eax, 7
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, 0xe
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
add esp, 0x3c
ret
cmp byte [esp + 0x68], 0
jne 0x23b6cf83
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x23b6d101
cmp byte [ebx + 0x49], 0
je 0x23b6d0ca
mov eax, dword [esp + 0x5c]
test al, 1
jne 0x23b6d0ca
mov edx, edi
sub edx, eax
sar edx, 1
push edx
push eax
mov eax, dword [esi + 4]
push eax
call ecx
add esp, 0xc
jmp 0x23b6d116
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [ebx + 0x40]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x58], ecx
push edi
lea ecx, [esp + 0x68]
push ecx
push ebx
call edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esi + 4]
sub ecx, eax
sar ecx, 1
push ecx
push eax
mov eax, dword [esi + 0x3c]
push edx
call eax
add esp, 0x20
jmp 0x23b6d116
cmp dword [esi + 0x50], 0
je 0x23b6d116
mov ecx, dword [esp + 0x5c]
push ecx
mov eax, edi
call fcn.23b68fc0
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x23b6d131
mov edx, dword [esp + 0x10]
mov dword [edx], edi
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x3c
ret
cmp dword [esi + 0x138], eax
je 0x23b6cf6c
mov eax, dword [esp + 0x10]
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
add esp, 0x3c
ret
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret